end
def self.each_element_class_names
- Pettanr::Application.manifest.system_resources.elements.each do |k, n|
+ Manifest.manifest.system_resources.elements.each do |k, n|
yield k
end
end
- <div class="<%= bay.dom_bodys_class -%>" <%= raw @panel.tag_attr(:scenario) -%>>
- <% bay.tabs.each do |board| %>
- <%= render board.body.bucket.template_name, :form => board.body.bucket %>
- <% end %>
- </div>
+<% dock.tabs.each do |tab| %>
+ <%= render tab.body.template_name, :bay => tab %>
+<% end %>
-<li <%= raw label.element.tag_attr(:tsort) -%>>
- <div class="elements-tab">
- <%= render label.face_template_name, :elm => label.element %>
- </div>
+<li id="<%= label.dom_id %>" class="<%= label.dom_class %>">
+ <a href="#<%= label.body.dom_id %>">
+ <%= label.caption %>
+ </a>
</li>
-<div class="<%= bay.dom_labels_class %>">
- <ul class="board-labels tsort tsort-tabs-nav" <%= raw @panel.tag_attr(:tsort) -%>>
- <% bay.tabs.each do |board| %>
- <%= render board.label.template_name, :label => board.label %>
- <% end %>
- </ul>
-</div>
+<ul class="<%= dock.dom_labels_class -%>">
+ <% dock.tabs.each do |tab| %>
+ <%= render tab.label.template_name, :label => tab.label %>
+ <% end %>
+</ul>
--- /dev/null
+ <div class="<%= bay.dom_bodys_class -%>" <%= raw @panel.tag_attr(:scenario) -%>>
+ <% bay.tabs.each do |board| %>
+ <%= render board.body.bucket.template_name, :form => board.body.bucket %>
+ <% end %>
+ </div>
--- /dev/null
+<li <%= raw label.element.tag_attr(:tsort) -%>>
+ <div class="elements-tab">
+ <%= render label.face_template_name, :elm => label.element %>
+ </div>
+</li>
--- /dev/null
+<div class="<%= bay.dom_labels_class %>">
+ <ul class="board-labels tsort tsort-tabs-nav" <%= raw @panel.tag_attr(:tsort) -%>>
+ <% bay.tabs.each do |board| %>
+ <%= render board.label.template_name, :label => board.label %>
+ <% end %>
+ </ul>
+</div>
+++ /dev/null
-<% dock.tabs.each do |tab| %>
- <%= render tab.body.template_name, :bay => tab %>
-<% end %>
+++ /dev/null
-<li id="<%= label.dom_id %>" class="<%= label.dom_class %>">
- <a href="#<%= label.body.dom_id %>">
- <%= label.caption %>
- </a>
-</li>
+++ /dev/null
-<ul class="<%= dock.dom_labels_class -%>">
- <% dock.tabs.each do |tab| %>
- <%= render tab.label.template_name, :label => tab.label %>
- <% end %>
-</ul>
end
def labels_template_name
- self.template_dir + 'dock_labels'
+ self.template_dir + 'bay_labels'
end
def bodys_template_name
- self.template_dir + 'dock_bodys'
+ self.template_dir + 'bay_bodys'
end
def dom_id
end
def labels_template_name
- self.template_dir + 'bay_labels'
+ self.template_dir + 'board_labels'
end
def bodys_template_name
- self.template_dir + 'bay_bodys'
+ self.template_dir + 'board_bodys'
end
def dom_id
class BayLabel < Label
def template_file_name
- 'dock_label'
+ 'bay_label'
end
def bay
class ElementBoardLabel < BoardLabel
def template_file_name
- 'bay_label'
+ 'board_label'
end
def face_template_name
class TorderBoardLabel < BoardLabel
def template_file_name
- 'bay_label'
+ 'board_label'
end
def face_template_name
class ZorderBoardLabel < BoardLabel
def template_file_name
- 'bay_label'
+ 'board_label'
end
def face_template_name