Sha256: 0c022a92450704f67a5c9ba0dfe34fee3f16555cdd90c707fea61f02393bd04f
Contents?: true
Size: 1.09 KB
Versions: 10
Compression:
Stored size: 1.09 KB
Contents
<% content_for :caboose_css do %> <style type='text/css'> #tiny_header { display: block; color: #fff; background-image: url(/assets/caboose/caboose_logo_small.png); background-color: #000; background-repeat: no-repeat; background-position: right 0; padding: 0 50px 0 10px; position: absolute; top: 0px; right: 0px; z-index: 100; } #tiny_header a { display: inline-block; color: #fff; padding: 16px 10px; } .block_over { background: #fff799; } </style> <% end %> <% content_for :caboose_js do %> <%= javascript_include_tag 'caboose/admin_page_edit_content' %> <script type='text/javascript'> var controller = false; $(document).ready(function() { controller = new PageContentController(<%= @page.id %>); $('body').append($('<div/>') .attr('id', 'tiny_header') .append($('<a/>').attr('href', '/admin/pages').html("< Back")) .append($('<a/>').attr('href', '/admin/pages/<%= @page.id %>/layout').html("Page Layout")) .append($('<a/>').attr('href', '/admin/pages/<%= @page.id %>/edit').html("Page Settings")) ); }); </script> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems