Sha256: 4b2e55a32ef1340d871b92c8f4af3def082bd7e43a1c790b3fb542211e3f9bed

Contents?: true

Size: 873 Bytes

Versions: 5

Compression:

Stored size: 873 Bytes

Contents

- packet.add_js("page-list-effects.js", :module => "_sparkles_")
- packet["page.title"] = "Pages"
#pages-list.list-view
  %table
    %thead
      %tr.list-header-group
        %td.list-header.page-listing-expand-collapse
           
        %td.list-header
          Page Title
        %td.list-header
          Status
        %td.list-header
          Actions
    %tfoot
      %tr
        %td  
        %td  
        %td  
        %td
          %a.button.add-button{:href => route_to(:pages, :create)} Add new Page
          %a.button.add-button{:href => route_to(:sitemap, :create)} Add Link/Folder
    %tbody.pages.no-bullet
      - for page in list
        %tr.page-listing-item{:id => "route-#{page.id}", :class => (page.level > 1 ? "page-listing-child child-of-route-#{page.parent.id}" : "")}
          = view_table_row(model_name, :model => page)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
orange-sparkles-0.7.1 lib/orange-sparkles/views/sitemap/list.haml
orange-sparkles-0.7.0 lib/orange-sparkles/views/sitemap/list.haml
orange-sparkles-0.5.9 lib/orange-sparkles/views/sitemap/list.haml
orange-sparkles-0.5.8 lib/orange-sparkles/views/sitemap/list.haml
orange-sparkles-0.5.7 lib/orange-sparkles/views/sitemap/list.haml