Sha256: eca2cb548ff8ca829095a78a1048afb75c891053b6a3846a76e61df2b6c46f6e
Contents?: true
Size: 954 Bytes
Versions: 3
Compression:
Stored size: 954 Bytes
Contents
<% content_for :caboose_css do %> <style type='text/css'> #back_to_admin { display: block; color: #fff; background-image: url(/assets/caboose/caboose_logo_small.png); background-color: #000; background-repeat: no-repeat; background-position: 116px 0; padding: 16px 50px 14px 10px; position: absolute; top: 0px; right: 0px; z-index: 100; } .block_over { background: #fff799; } </style> <% end %> <% content_for :caboose_js do %> <%= javascript_include_tag "caboose/admin" %> <%= javascript_include_tag "caboose/model/all" %> <%= 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($('<a/>') .attr('id', 'back_to_admin') .attr('href', '/admin/pages/<%= @page.id %>/edit') .html("Back to Admin") ); }); </script> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems