carte-server 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/carte/client/views/app.cjsx +0 -1
- data/lib/carte/client/views/card.cjsx +1 -1
- data/lib/carte/client/views/content.cjsx +8 -9
- data/lib/carte/client/views/message.cjsx +1 -1
- data/package.json +1 -1
- metadata +1 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a12da652db1659d7bc217a5421e66a135a0950f
|
4
|
+
data.tar.gz: 572f63cbaef520e827d1210cadec7debaed4068e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc535692372cc58f5b763fc4d49aaddd8482717b4cf35a39d1c5253da5bfda54696f546f520a3a35ac747b9282922eeefdd6bd1c3d293503f95e2a2f01310ebe
|
7
|
+
data.tar.gz: 17567f2388f619437de9baec936530f2f90ad4a3596b2c2e6e4d0bdb19e349e0c7132fd81864d52156ec869d321f938cda09b341c94ecfca3e27098334cc08e6
|
@@ -29,7 +29,7 @@ module.exports = React.createClass
|
|
29
29
|
render: ->
|
30
30
|
console.log 'Card: render'
|
31
31
|
<div className='col-sm-4 col-xs-12 list-group' style={marginBottom:'0px',padding:"5px"} onMouseOver={@onMouseOver} onMouseLeave={@onMouseLeave}>
|
32
|
-
<div className='list-group-item' style={height:'
|
32
|
+
<div className='list-group-item' style={height:'200px'}>
|
33
33
|
<div style={marginBottom:'10px'}>
|
34
34
|
{
|
35
35
|
if @props.card.get('focused')
|
@@ -28,14 +28,13 @@ module.exports = React.createClass
|
|
28
28
|
cards.query = $.extend {}, config.default_query, @props.router.query
|
29
29
|
cards.fetching = true
|
30
30
|
cards.fetch success: ()-> cards.fetching = false
|
31
|
-
title = []
|
32
|
-
for k, v of cards.query
|
33
|
-
|
34
|
-
|
35
|
-
title = title
|
36
|
-
title =
|
37
|
-
title
|
38
|
-
document.title = title
|
31
|
+
#title = []
|
32
|
+
#for k, v of cards.query
|
33
|
+
# title.push(String(k).capitalize() + ': ' + v)
|
34
|
+
#title = title.join(', ')
|
35
|
+
#title = config.title + ' (' + title + ')'
|
36
|
+
#document.title = title
|
37
|
+
document.title = config.title
|
39
38
|
<List key='list' router={@props.router} cards={cards} />
|
40
39
|
when "show"
|
41
40
|
console.log 'show'
|
@@ -61,7 +60,7 @@ module.exports = React.createClass
|
|
61
60
|
error: (card, response)=>
|
62
61
|
console.log 'error!!!!!!!!!!!!!!!!!!!!!!!!', response
|
63
62
|
cards.fetching = false
|
64
|
-
document.title =
|
63
|
+
document.title = config.title + '、' + card.get('title')
|
65
64
|
<List key='show' cards={cards} card={card} />
|
66
65
|
else
|
67
66
|
console.log 'else'
|
@@ -11,7 +11,7 @@ module.exports = React.createClass
|
|
11
11
|
for i in [1..9]
|
12
12
|
<div className='col-sm-4' style={padding:'5px'} onMouseOver={@onMouseOver} onMouseLeave={@onMouseLeave}>
|
13
13
|
<div className='list-group'style={margin:'0px',padding:'0px'}>
|
14
|
-
<div className='list-group-item' style={height:'
|
14
|
+
<div className='list-group-item' style={height:'200px'}>
|
15
15
|
{@props.children}
|
16
16
|
</div>
|
17
17
|
</div>
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: carte-server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- tily
|
@@ -270,7 +270,6 @@ files:
|
|
270
270
|
- lib/carte/shared/default.json
|
271
271
|
- mongoid.yml
|
272
272
|
- package.json
|
273
|
-
- public/app.html
|
274
273
|
- public/images/icon.png
|
275
274
|
- screenshot.png
|
276
275
|
- spec/server_spec.rb
|