noodall-ui 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/app/controllers/noodall/admin/nodes_controller.rb +2 -2
- data/app/helpers/noodall/admin/nodes_helper.rb +1 -0
- data/app/views/noodall/admin/nodes/index.html.erb +2 -1
- data/lib/noodall/ui/version.rb +1 -1
- data/public/stylesheets/admin/ie.css +2 -2
- data/public/stylesheets/admin/layout.css +3 -2
- data/public/stylesheets/admin/skin.css +10 -10
- data/public/stylesheets/admin/typography.css +3 -0
- metadata +5 -5
data/Gemfile.lock
CHANGED
@@ -7,10 +7,10 @@ module Noodall
|
|
7
7
|
|
8
8
|
def index
|
9
9
|
if params[:node_id].nil?
|
10
|
-
@nodes = Node.roots
|
10
|
+
@nodes = Node.roots.paginate(:per_page => 20, :page => params[:page])
|
11
11
|
else
|
12
12
|
@parent = Node.find(params[:node_id])
|
13
|
-
@nodes = @parent.children
|
13
|
+
@nodes = @parent.children.paginate(:per_page => 20, :page => params[:page])
|
14
14
|
end
|
15
15
|
|
16
16
|
respond_to do |format|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<% end %>
|
18
18
|
|
19
19
|
</ul>
|
20
|
-
|
20
|
+
<%= will_paginate(@nodes, :previous_label => 'Previous', :next_label => 'Next') %>
|
21
21
|
<div id="content-table">
|
22
22
|
<table border="0" cellspacing="0" cellpadding="0" class="content">
|
23
23
|
<thead>
|
@@ -66,3 +66,4 @@
|
|
66
66
|
</tfoot>
|
67
67
|
</table>
|
68
68
|
</div>
|
69
|
+
<%= will_paginate(@nodes, :previous_label => 'Previous', :next_label => 'Next') %>
|
data/lib/noodall/ui/version.rb
CHANGED
@@ -104,7 +104,7 @@ th .tooltip {
|
|
104
104
|
top:-15px !important;
|
105
105
|
}
|
106
106
|
|
107
|
-
.pagination .
|
107
|
+
.pagination .previous_page,
|
108
108
|
.pagination .next_page {
|
109
109
|
display:block !important;
|
110
110
|
}
|
@@ -115,4 +115,4 @@ th .tooltip {
|
|
115
115
|
|
116
116
|
.multi-file-files ol li:first-child {
|
117
117
|
height:500px;
|
118
|
-
}
|
118
|
+
}
|
@@ -286,12 +286,13 @@ form#uploader {
|
|
286
286
|
}
|
287
287
|
|
288
288
|
.pagination span,
|
289
|
+
.pagination em,
|
289
290
|
.pagination a {
|
290
291
|
padding:0 5px;
|
291
292
|
vertical-align: middle;
|
292
293
|
}
|
293
294
|
|
294
|
-
.pagination .
|
295
|
+
.pagination .previous_page,
|
295
296
|
.pagination .next_page {
|
296
297
|
width:130px;
|
297
298
|
height:26px;
|
@@ -299,7 +300,7 @@ form#uploader {
|
|
299
300
|
padding:0;
|
300
301
|
}
|
301
302
|
|
302
|
-
.pagination .
|
303
|
+
.pagination .previous_page {
|
303
304
|
margin-right:5px;
|
304
305
|
}
|
305
306
|
|
@@ -249,13 +249,13 @@ ul.choices li.upload a {
|
|
249
249
|
ul.choices li.upload a:hover {
|
250
250
|
background-position:-122px -44px;
|
251
251
|
}
|
252
|
-
|
253
|
-
|
252
|
+
|
253
|
+
|
254
254
|
ul.choices li.cancel a:hover{
|
255
255
|
background-position:-122px 0px;
|
256
256
|
}
|
257
|
-
|
258
|
-
|
257
|
+
|
258
|
+
|
259
259
|
ul.choices li.action a {
|
260
260
|
background-position:0 -220px;
|
261
261
|
}
|
@@ -325,17 +325,17 @@ ul.choices li a:hover {
|
|
325
325
|
color:#49a3e1;
|
326
326
|
}
|
327
327
|
|
328
|
-
.pagination span {
|
328
|
+
.pagination span, .pagination em {
|
329
329
|
color:#686666;
|
330
330
|
}
|
331
331
|
|
332
|
-
.pagination .
|
332
|
+
.pagination .previous_page,
|
333
333
|
.pagination .next_page {
|
334
334
|
background:url("/images/admin/pagination.gif") no-repeat scroll;
|
335
335
|
|
336
336
|
}
|
337
337
|
|
338
|
-
.pagination a.
|
338
|
+
.pagination a.previous_page {
|
339
339
|
background-position:0 0;
|
340
340
|
}
|
341
341
|
|
@@ -343,7 +343,7 @@ ul.choices li a:hover {
|
|
343
343
|
background-position:-130px 0;
|
344
344
|
}
|
345
345
|
|
346
|
-
.pagination span.
|
346
|
+
.pagination span.previous_page {
|
347
347
|
background-position:0 -26px;
|
348
348
|
}
|
349
349
|
|
@@ -576,7 +576,7 @@ ul.choices li a,
|
|
576
576
|
div.tags,
|
577
577
|
#show-assets #info,
|
578
578
|
#modules-list,
|
579
|
-
.pagination .
|
579
|
+
.pagination .previous_page,
|
580
580
|
.pagination .next_page,
|
581
581
|
ul#topnav li a:hover,
|
582
582
|
.file img,
|
@@ -635,7 +635,7 @@ a.child,
|
|
635
635
|
.form-reset,
|
636
636
|
.add-multi-asset,
|
637
637
|
.remove,
|
638
|
-
.pagination .
|
638
|
+
.pagination .previous_page,
|
639
639
|
.pagination .next_page,
|
640
640
|
ul.choices li a,
|
641
641
|
a.download,
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noodall-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 16
|
10
|
+
version: 0.0.16
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Steve England
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-12-
|
18
|
+
date: 2010-12-13 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
requirements:
|
55
55
|
- - ~>
|
56
56
|
- !ruby/object:Gem::Version
|
57
|
-
hash:
|
57
|
+
hash: 270495401
|
58
58
|
segments:
|
59
59
|
- 3
|
60
60
|
- 0
|