Sha256: 172e53af91ad9ddfbc2242d5e518a1b8d157777cf93fe98280d175dc9954d8c7

Contents?: true

Size: 1.52 KB

Versions: 9

Compression:

Stored size: 1.52 KB

Contents

!!!
%html
  %head
    %meta{ "http-equiv" => "content-type", :content => "text/html; charset=UTF-8" }
    %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/bootstrap-alerts.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

9 entries across 9 versions & 1 rubygems

Version Path
gitdocs-0.5.0.pre6 lib/gitdocs/views/app.haml
gitdocs-0.5.0.pre5 lib/gitdocs/views/app.haml
gitdocs-0.5.0.pre3 lib/gitdocs/views/app.haml
gitdocs-0.5.0.pre2 lib/gitdocs/views/app.haml
gitdocs-0.5.0.pre1 lib/gitdocs/views/app.haml
gitdocs-0.4.15 lib/gitdocs/views/app.haml
gitdocs-0.4.14 lib/gitdocs/views/app.haml
gitdocs-0.4.13 lib/gitdocs/views/app.haml
gitdocs-0.4.12 lib/gitdocs/views/app.haml