Sha256: acaad5e11933eddfc26e6a69da40185cdb450b167293ca375dde1e5d31806f25
Contents?: true
Size: 975 Bytes
Versions: 29
Compression:
Stored size: 975 Bytes
Contents
<h1>Admin</h1> <%= content_for :caboose_js do %> <script type='text/javascript'> $(document).ready(function() { open_colorbox(); }); function open_colorbox() { $.colorbox({ href: '/login?modal=1&return_url=/station', iframe: true, innerWidth: 200, innerHeight: 50, scrolling: false, transition: 'fade', closeButton: false, onComplete: fix_colorbox, opacity: 0.50, onClosed: function() { open_colorbox(); } }); } function fix_colorbox() { $("#cboxTopLeft" ).css('background', '#111'); $("#cboxTopRight" ).css('background', '#111'); $("#cboxBottomLeft" ).css('background', '#111'); $("#cboxBottomRight" ).css('background', '#111'); $("#cboxMiddleLeft" ).css('background', '#111'); $("#cboxMiddleRight" ).css('background', '#111'); $("#cboxTopCenter" ).css('background', '#111'); $("#cboxBottomCenter" ).css('background', '#111'); $("#cboxClose" ).hide(); } </script> <% end %>
Version data entries
29 entries across 29 versions & 1 rubygems