Sha256: f7d772a7ee3a89ea68f1d5cc141e3d26a50663f930988d1fa62fb8670117dc23

Contents?: true

Size: 1.38 KB

Versions: 31

Compression:

Stored size: 1.38 KB

Contents

<% content_for :html_head do %>
  <%= stylesheet_link_tag 'cms/sitemap' %>
  <%= javascript_include_tag 'cms/sitemap' %>  
<% end %>

<% page_title "Sitemap" %>

<% content_for :functions do %>
  <h1>Sitemap</h1>
  <%= link_to span_tag("Edit Page"), '#', :id => 'edit-button', :class => "button disabled left" %>
  <%= link_to span_tag("Edit Properties"), '#', :id => 'properties-button', :class => "button disabled right" %>
  <%= link_to span_tag("Add Page"), '#', :id => 'add-page-button', :class => "button disabled spacer left" %>
  <%= link_to span_tag("Add Section"), '#', :id => 'add-section-button', :class => "button disabled middle" %>
  <%= link_to span_tag("Add Link"), '#', :id => 'add-link-button', :class => "button disabled right" %>
  <%= link_to span_tag("<span class=\"delete_img\">&nbsp;</span>Delete"), '#', :id => 'delete-button', :class => "button disabled delete_button" %>
  <br clear="all" />
<% end %>

<div id="sitemap">
  <ul id="root_<%= @section.id %>" class="root" style="padding-left: 0">
    <li>
      <%= render :partial => "node", :locals => {
          :node => @section, 
          :node_type => "section", 
          :icon => action_icon(:home),
          :display => true
        } %>
    </li>
  </ul>
  <%= render :partial => "section_node", :collection => @section.child_nodes.all(:order => 'position'), :locals => {:display => true, :root => true} %>    
</div>

Version data entries

31 entries across 31 versions & 10 rubygems

Version Path
SFEley-browsercms-3.0.2 app/views/cms/section_nodes/index.html.erb
buzzware-browsercms-3.0.2 app/views/cms/section_nodes/index.html.erb
coredumplings-browsercms-3.0.0 app/views/cms/section_nodes/index.html.erb
nate-browsercms-3.0.210 app/views/cms/section_nodes/index.html.erb
nate-browsercms-3.0.211 app/views/cms/section_nodes/index.html.erb
we5-browsercms-3.0.1.1 app/views/cms/section_nodes/index.html.erb
webficient-browsercms-3.0.1 app/views/cms/section_nodes/index.html.erb
webficient-browsercms-3.0.2 app/views/cms/section_nodes/index.html.erb
webficient-browsercms-3.0.3 app/views/cms/section_nodes/index.html.erb
webficient-browsercms-3.0.4 app/views/cms/section_nodes/index.html.erb
browsercms-3.1.4 app/views/cms/section_nodes/index.html.erb
browsercms-3.1.3 app/views/cms/section_nodes/index.html.erb
bf4-browsercms-3.1.0 app/views/cms/section_nodes/index.html.erb
drujensen-browsercms-3.2.0 app/views/cms/section_nodes/index.html.erb
browsercms-3.1.2 app/views/cms/section_nodes/index.html.erb
browsercms-3.1.1 app/views/cms/section_nodes/index.html.erb
browsercms-3.1.0 app/views/cms/section_nodes/index.html.erb
we5-browsercms-3.1.0 app/views/cms/section_nodes/index.html.erb
browsercms-3.0.6 app/views/cms/section_nodes/index.html.erb
browsercms-3.0.5 app/views/cms/section_nodes/index.html.erb