Sha256: 3bb925dd153eca298889eef7d37f44abb590d8e9692521331bea677eb781223f
Contents?: true
Size: 1.57 KB
Versions: 5
Compression:
Stored size: 1.57 KB
Contents
<div class="list"> <article> <div id="save_status" style="display: none"></div> <menu> <p>Search: <input type="search" id="search"></p> <% if show_new_button %> <a href="#" id="new_record">New</a> <% end %> <img src="/admin/images/load_spinner_selected.gif" style="display: none" id="activity_spinner"> </menu> <section id="list_items"> <table class="<%= title.downcase.underscore %>"> <% page.columns.size.times do %> <col></col> <% end %> <thead> <tr> <% page.columns.each do |column| %> <th class="<%= column.style.downcase %> <%= parser_for_column(column) %>" data-field-name="<%= column.name %>"> <% if column.as %> <%= column.as %> <% else %> <%= column.name.humanize.titlecase %> <% end %> </th> <% end %> </tr> </thead> <tbody> <% records.each do |record| %> <%= render_record(record) %> <% end %> </tbody> </table> <script> $(document).ready(function() { $('#list_items > table').tablesorter({ textExtraction: adminListPageValueExtractor, sortList: <%= sort_list %> }); fixHeaders($('#list_items table')); }); </script> </section> <section id="record"> </section> </article> </div> <script> var jsonURL = "<%= page.path %>.json"; var htmlURL = "<%= page.path %>"; </script>
Version data entries
5 entries across 5 versions & 1 rubygems