Sha256: 4e9f0ccd6c58f00f65fadaca6a57d9aded03a93e6c394235120657c97b1f05c9

Contents?: true

Size: 1.78 KB

Versions: 27

Compression:

Stored size: 1.78 KB

Contents

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

p.uri {
  background: #efefef;
  border: #999 1px solid;
  padding: 10px;
  position: absolute;
  top: 67px;
  left: 0;
  height: 16px;
}

</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>Edit Page</h1>
<ul id='tabs'>
<%
tabs = {
  'General'         => "/admin/pages/#{@page.id}/edit",
  '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", 
  'Sitemap'         => "/admin/pages/#{@page.id}/sitemap", 
  '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

27 entries across 27 versions & 1 rubygems

Version Path
caboose-cms-0.3.129 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.128 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.127 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.110 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.101 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.100 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.99 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.98 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.97 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.96 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.95 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.94 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.93 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.92 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.91 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.90 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.89 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.88 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.87 app/views/caboose/pages/_admin_header.html.erb
caboose-cms-0.3.86 app/views/caboose/pages/_admin_header.html.erb