Sha256: 71bf4ec767a0d38c573267e60601fbf30f9ed315eec703a48681637a22cc4189

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 KB

Contents

!!!
%html
  %head
    %meta(charset='utf-8')
    %meta(name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1,user-scalable=no")
    %title Weight Recorder
    /%link(href='/css/bootstrap.min.css' rel='stylesheet' type='text/css')
    %link(rel='stylesheet' type='text/css'){href: uri('css/bootstrap.min.css')}

    %script(src='http://www.google.com/jsapi')
    %script{src: uri('chartkick.js')}
  %body
    %nav.navbar.navbar-default
      .container-fluid
        .navbar-header
          /%a.navbar-brand{href: uri('/data')} Weight Recorder
          %a.navbar-brand Bob's weight
          %button{class: ('btn btn-default navbar-btn')}
            %a(class="glyphicon glyphicon-pencil"){href: uri('data/new')} new
          %button{class: ('btn btn-default navbar-btn')}
            %a(class="glyphicon glyphicon-th-list"){href: uri('data')} data
          %button{class: ('btn btn-default navbar-btn')}
            %a(class="glyphicon glyphicon-picture"){href: uri('chart')} all
          %button{class: ('btn btn-default navbar-btn')}
            %a(class="glyphicon glyphicon-picture"){href: uri('chart_week')} week
          %button{class: ('btn btn-default navbar-btn')}
            %a(class="glyphicon glyphicon-picture"){href: uri('chart_month')} month

      .container
        !=yield

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
weight-recorder-0.1.7 lib/views/layout.haml
weight-recorder-0.1.6 lib/views/layout.haml