Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2014
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rails 1.22 KB | None | 0 0
  1. !!!
  2. %html
  3.   %head
  4.     %meta{:charset => "utf-8"}
  5.     %meta{:name => "viewport", :content => "width=device-width, initial-scale=1, maximum-scale=1"}
  6.     %title= content_for?(:title) ? yield(:title) : "TEST"
  7.     %meta{:content => "", :name => "description"}
  8.     %meta{:content => "", :name => "author"}
  9.     = stylesheet_link_tag "application", :media => "all"
  10.     = javascript_include_tag "application"
  11.     = csrf_meta_tags
  12.     :javascript
  13.       $(function() {
  14.         $('.dropdown input, .dropdown label').click(function(e) {
  15.         e.stopPropagation();
  16.         });
  17.       });
  18.     = yield(:head)
  19.   %body
  20.     = render 'layouts/navigation'
  21.     .container#messages
  22.       .row
  23.         .col-md-12
  24.           = render 'layouts/messages'
  25.           %noscript
  26.             :css
  27.               #content {
  28.                 display: none;
  29.               }
  30.             %h2
  31.               JavaScript is not enabled
  32.             %p
  33.               TEST requires JavaScript to be enabled to function. Please turn on JavaScript in your browser's settings and reload the page to continue.
  34.    .container#content
  35.      = yield
  36.  
  37.    #footer
  38.      .container
  39.        %p.muted.text-center
  40.          TEST is (C) 2013 and released under the GPL.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement