noodall-ui 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.
data/Gemfile.lock
CHANGED
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
<ul class="choices">
|
|
4
4
|
|
|
5
5
|
<% if @parent.nil? -%>
|
|
6
|
-
|
|
6
|
+
<% if Noodall::Node.root_templates.any? -%>
|
|
7
|
+
<li><%= link_to 'New', new_noodall_admin_node_path, :class => 'button', :title => "Add new" %></li>
|
|
8
|
+
<% end -%>
|
|
7
9
|
<% else %>
|
|
8
10
|
<li><%= link_to 'New', new_noodall_admin_node_node_path(@parent), :class => 'button', :title => "Add content under #{@parent.title}" %></li>
|
|
9
11
|
<% end -%>
|
|
@@ -116,32 +116,35 @@
|
|
|
116
116
|
<% end -%>
|
|
117
117
|
</div>
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
<% unless @node.class.slots_count == 0 %>
|
|
120
|
+
<div id="sub-form">
|
|
121
|
+
|
|
122
|
+
<h2>Page Components</h2>
|
|
123
|
+
|
|
124
|
+
<span class="tooltip" title="Please choose where you would like to place each component"> </span>
|
|
125
|
+
|
|
126
|
+
<%= yield :component_table %>
|
|
127
|
+
|
|
128
|
+
<% if can_change_templates?(@node) %>
|
|
129
|
+
<%= link_to "Change Template", change_template_noodall_admin_node_path(@node), :class => 'change' %>
|
|
130
|
+
<% end -%>
|
|
131
|
+
|
|
132
|
+
<div id="modules-list">
|
|
133
|
+
<!-- Component lightbox related stuff -->
|
|
134
|
+
<ol id="slot-list">
|
|
135
|
+
<%
|
|
136
|
+
Noodall::Component.possible_slots.each do |type|
|
|
137
|
+
@node.class.send("#{type}_slots_count").to_i.times do |index| %>
|
|
138
|
+
<li>
|
|
139
|
+
<%= slot_link(@node,type,index) %>
|
|
140
|
+
<%= slot_form(@node,type,index) %>
|
|
141
|
+
</li>
|
|
142
|
+
<% end -%>
|
|
143
|
+
<% end -%>
|
|
144
|
+
</ol>
|
|
145
|
+
</div>
|
|
120
146
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
<span class="tooltip" title="Please choose where you would like to place each component"> </span>
|
|
124
|
-
|
|
125
|
-
<%= yield :component_table %>
|
|
126
|
-
<% if can_change_templates?(@node) %>
|
|
127
|
-
<%= link_to "Change Template", change_template_noodall_admin_node_path(@node), :class => 'change' %>
|
|
128
|
-
<% end -%>
|
|
129
|
-
<div id="modules-list">
|
|
130
|
-
<!-- Component lightbox related stuff -->
|
|
131
|
-
<ol id="slot-list">
|
|
132
|
-
<%
|
|
133
|
-
Noodall::Component.possible_slots.each do |type|
|
|
134
|
-
@node.class.send("#{type}_slots_count").to_i.times do |index| %>
|
|
135
|
-
<li>
|
|
136
|
-
<%= slot_link(@node,type,index) %>
|
|
137
|
-
<%= slot_form(@node,type,index) %>
|
|
138
|
-
</li>
|
|
139
|
-
|
|
140
|
-
<% end
|
|
141
|
-
end %>
|
|
142
|
-
</ol>
|
|
143
|
-
</div>
|
|
144
|
-
|
|
145
|
-
</div>
|
|
147
|
+
</div>
|
|
148
|
+
<% end -%>
|
|
146
149
|
|
|
147
150
|
<% end %>
|
data/lib/noodall/ui/version.rb
CHANGED
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: 59
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 18
|
|
10
|
+
version: 0.0.18
|
|
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-21 00:00:00 +00:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|