Sha256: 242855e032a069a24f0a745e365dd9ec4d947dd7448ef326444b661688b4f09f

Contents?: true

Size: 1.36 KB

Versions: 3

Compression:

Stored size: 1.36 KB

Contents

!!! 5
%html
  %head
    %title Deep Thought
    %meta{:charset => 'utf-8'}
    %meta{:name => 'robots', :content => 'noindex'}
    %link{:href => 'https://fonts.googleapis.com/css?family=Noto+Sans:400,700|Droid+Sans+Mono', :rel => 'stylesheet', :type => 'text/css'}
    %link{:href => '/assets/stylesheets/main.css', :rel => 'stylesheet', :type => 'text/css'}
    %meta{:name => 'viewport', :content => 'user-scalable=0, initial-scale=1.0'}
  %body
    %header
      %nav
        - if current_user
          %ul
            %li
              %a{:href => "/", :class => current_route('projects')} projects
            %li
              %a{:href => "/users", :class => current_route('users')} users
            %li
              %a{:href => "/users/#{@current_user.id}", :class => current_route('me')} me
            %li
              %form{:class => 'logout', :"accept-charset" => "UTF-8", :action => "/logout", :method => "POST"}
                = csrf_tag
                %input{:type => 'hidden', :name => "_method", :value => "delete"}
                %input{:type => "submit", :value => "logout"}
      %div{:class => "deep-thought #{'alert' if is_deploying?}"}
        %h1= settings.deep_thought_message
    .content
      = yield

  %script{:src => '/assets/javascripts/jquery.min.js', :type => 'text/javascript'}
  %script{:src => '/assets/javascripts/main.js', :type => 'text/javascript'}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
deep_thought-0.2.1 lib/deep_thought/views/layouts/layout.haml
deep_thought-0.1.1 lib/deep_thought/views/layouts/layout.haml
deep_thought-0.1.0 lib/deep_thought/views/layouts/layout.haml