Sha256: ef9a1d37a9aeed1e1b90586ed02d92a3e1e7a0d9b8d373a53df5fc8191dc685e

Contents?: true

Size: 1.34 KB

Versions: 3

Compression:

Stored size: 1.34 KB

Contents

!!!
%html
  %head
    %title Gitdocs #{Gitdocs::VERSION}
    %link{ :href => "/css/bootstrap.css", :rel => "stylesheet"}
    %link{ :href => "/css/app.css", :rel => "stylesheet" }
    %link{ :href => "/css/tilt.css", :rel => "stylesheet" }
    %link{ :href => "/css/coderay.css", :rel => "stylesheet" }
    %script{ :src => "/js/util.js", :type => "text/javascript", :charset => "utf-8" }
    %script{ :src => "/js/jquery.js", :type => "text/javascript", :charset => "utf-8" }
    %script{ :src => "/js/jquery.tablesorter.js", :type => "text/javascript", :charset => "utf-8" }
    %script{ :src => "/js/app.js", :type => "text/javascript", :charset => "utf-8" }
  %body
    #nav.topbar
      .fill
        .container
          %a{:class => "brand", :href => "/"} Gitdocs
          %ul(class="nav")
            %li{ :class => ("active" if nav_state == "home") }
              %a(href = "/") Home
            %li{ :class => ("active" if nav_state == "settings") }
              %a(href = "/settings") Settings
          %form{:class => "pull-left", :action => "/search", :method => 'GET'}
            %input{:type => "text", :placeholder => "Search", :name => 'q'}

    #main.container
      .content
        - if @title
          .page-header
            %h1= @title
        .row
          .span16= preserve(yield)

      %footer
        %p © Gitdocs v#{Gitdocs::VERSION}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gitdocs-0.4.7 lib/gitdocs/views/app.haml
gitdocs-0.4.6 lib/gitdocs/views/app.haml
gitdocs-0.4.5 lib/gitdocs/views/app.haml