Sha256: b4839296406d01151f870487db4a12d5f047d03597a1ecb644902025bbc6d32d

Contents?: true

Size: 1.94 KB

Versions: 18

Compression:

Stored size: 1.94 KB

Contents

<% content_for :caboose_css do %>
<style type='text/css'>

p.uri {
  background: #efefef;
  border: #999 1px solid;
  padding: 9px 10px;
  position: absolute;
  top: -44px;
  left: 0;
  height: 36px;
  margin: 0;
  font-size: 14px;
}

</style>
<% end %>
<% content_for :caboose_js do %>
<%
#javascript_include_tag "caboose/model/all" 
%>
<%= javascript_include_tag "caboose/model/class" %>
<%= javascript_include_tag "caboose/model/model" %>
<%= javascript_include_tag "caboose/model/attribute" %>
<%= javascript_include_tag "caboose/model/model_binder" %>
<%= javascript_include_tag "caboose/model/bound_control" %>
<%= javascript_include_tag "caboose/model/bound_checkbox" %>
<%= javascript_include_tag "caboose/model/bound_checkbox_multiple" %>
<%= javascript_include_tag "caboose/model/bound_image" %>
<%= javascript_include_tag "caboose/model/bound_select" %>
<%= javascript_include_tag "caboose/model/bound_text" %>
<%= javascript_include_tag "caboose/model/bound_textarea" %>
<%= javascript_include_tag "caboose/model/bound_richtext" %>
<% end %>

<h1 id='page_title'>Edit Page</h1>
<ul id='tabs'>
<%
tabs = {
  'General'         => "/admin/pages/#{@page.id}",
  'Permissions'     => "/admin/pages/#{@page.id}/permissions",
  'Content'         => "/admin/pages/#{@page.id}/content",     
  'Custom CSS'      => "/admin/pages/#{@page.id}/css", 
  'Custom JS'       => "/admin/pages/#{@page.id}/js", 
  'SEO'             => "/admin/pages/#{@page.id}/seo",
  'Layout'          => "/admin/pages/#{@page.id}/layout", 
 # 'Sitemap'         => "/admin/pages/#{@page.id}/sitemap",
  'Duplicate Page'  => "/admin/pages/#{@page.id}/duplicate",
  'Delete Page'     => "/admin/pages/#{@page.id}/delete" 
}

%>
<% tabs.each do |text, href| %>
<li<%= raw request.fullpath == href ? " class='selected'" : '' %>><a href='<%= href %>'><%= raw text %></a></li>
<% end %>
<li class='back'><input type='button' value='< Back' onclick="window.location='/admin/pages';" /></li>
</ul>
<div id='content2'>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
caboose-cms-0.9.142 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.141 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.140 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.139 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.138 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.137 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.136 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.135 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.134 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.133 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.132 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.131 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.130 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.129 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.128 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.127 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.126 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.9.125 app/views/caboose/pages/_admin_header.html.erb