Sha256: 07c5e1c2b83fd691f1a8eec9e76dda0ff672b0952e34459db9f2eb4a40329c1f
Contents?: true
Size: 1.67 KB
Versions: 1
Compression:
Stored size: 1.67 KB
Contents
<div class="tree"> <article> <div id="save_status" style="display: none"></div> <div id="navigation_panels"> </div> <section id="record"> <%= render_layout 'admin_record_form', 'html' %> </section> <section id="new_model_panel" style="display: none"> <h1>New</h1> <ul> <% site.models.each do |model| %> <% next if model.name.end_with?('_eigenmodel') || model.name.end_with?('Eigenmodel') || model.hide_in_admin %> <a href="#" class="model" data-type="<%= model.name %>" data-model-id="<%= model.id %>"> <li> <img src="/admin/images/load_spinner.gif" class="spinner"> <img src="<%= model.icon || "/admin/images/default_icon.png" %>" class="icon"> <p><%= model.name.titleize.humanize %></p> </li> </a> <% end %> <div style="clear: both"></div> </ul> <a href="#" id="cancel_new_record">Cancel</a> </section> </article> </div> <script> var jsonURL = "<%= page.path %>.json"; var htmlURL = "<%= page.path %>"; var rootID = "<%= page.root.id %>"; var types = { <% site.models.each do |model| %> <% next if model.name.end_with?('_eigenmodel') || model.name.end_with?('Eigenmodel') %> "<%= model.name %>": { id: "<%= model.id %>", name: "<%= model.name %>", humanName: "<%= model.name.titleize.humanize %>", validChildren: [<%= model.valid_children.collect {|child| "'#{child.name}'"}.join(',') %>] }, <% end %> }; $(document).ready(function() { showMenu("<%= page.title.gsub('"', "\\\"") %>", rootID, true); initialiseWidgets(); }); </script>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yodel_admin-0.0.7 | lib/layouts/admin_page/admin_tree_page.html |