Sha256: 596e1e5ce1ac055f1500505daae085034a3301cf2cb095c70fa0ba98567318c0

Contents?: true

Size: 1.4 KB

Versions: 3

Compression:

Stored size: 1.4 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
    .topbar#nav
      .fill
        .container
          %a.brand{ href: '/' } Gitdocs
          %ul.nav
            %li{ class: ('active' if nav_state == 'home') }
              %a{ href: '/' } Home
            %li{ class: ('active' if nav_state == 'settings') }
              %a{ href: '/settings' } Settings
          %form.pull-left{ action: '/search', method: 'GET' }
            %input{ type: 'text', placeholder: 'Search', name: 'q' }

    .container#main
      .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.6.2 lib/gitdocs/views/layout.haml
gitdocs-0.6.1 lib/gitdocs/views/layout.haml
gitdocs-0.6.0 lib/gitdocs/views/layout.haml