Sha256: b7f16bab3d3b9355b7535087b271cf4ec8ae7dd2e01ead0806105d40ae0204bf

Contents?: true

Size: 1.04 KB

Versions: 11

Compression:

Stored size: 1.04 KB

Contents

<div class="action">
  <%= link_to 'Clear Page Cache', :controller=>controller.controller_name, :action=>'expire_page_cache' %>
<% if Comatose.config.allow_import_export %>
  <%= link_to 'Import', '#', :id => 'import_link2', :onclick => "$('import_form').setStyle({display: 'inline'}); return false;" %>
  <%= link_to 'Export', :controller=>controller.controller_name, :action=>'export' %>
  <div id="import_form" style="display: none;">
  <% form_tag(url_for(:action => 'import'), :multipart => true) do %>
    <%= file_field_tag 'import_file' %>
    <%= submit_tag 'Upload and Import' %>
    <a href="#" onclick="$('import_form').hide(); return false;">Cancel</a>
  <% end %>
  </div>
<% end %>
</div>
  
<h1>
  Page List
  <%= image_tag 'comatose/spinner.gif', :id=>'spinner', :align=>'absmiddle', :style=>'display:none;' %>
</h1>

<ul class="page-list root">
<% @root_pages.each do |page| %>
  <%= render :partial=>'page_list_item', :locals=>{ :page=>page, :level=>1 } %>
<% end %>
</ul>

<div id="status"></div>

<%= javascript_tag "ComatoseList.init()" %>

Version data entries

11 entries across 11 versions & 4 rubygems

Version Path
aslakjo-aslakjo-comatose-2.0.5.1 views/comatose_admin/index.html.erb
aslakjo-comatose-2.0.5.2 views/comatose_admin/index.html.erb
aslakjo-comatose-2.0.5.3 views/comatose_admin/index.html.erb
darthapo-comatose-2.0.5 views/comatose_admin/index.html.erb
comatose-2.0.5 views/comatose_admin/index.html.erb
aslakjo-comatose-2.0.5.12 views/comatose_admin/index.html.erb
aslakjo-comatose-2.0.5.11 views/comatose_admin/index.html.erb
aslakjo-comatose-2.0.5.10 views/comatose_admin/index.html.erb
aslakjo-comatose-2.0.5.9 views/comatose_admin/index.html.erb
aslakjo-comatose-2.0.5.8 views/comatose_admin/index.html.erb
aslakjo-comatose-2.0.5.7 views/comatose_admin/index.html.erb