%html

%head
  %title Perkins
  %link{ href:"//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" , rel:"stylesheet"}

  %script{ src: "//code.jquery.com/jquery-2.1.1.min.js"}
  %script{ src:"//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"}
  %link{:rel => "stylesheet", :href => "//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css"}/

  %script{ src:"/assets/app.js"}
  %link{ href:"/assets/app.css", media:"screen", rel:"stylesheet", type:"text/css"}

  :javascript
    minispade.require('log')

%body
  #perkins-layout
    %nav#main-menu.navbar.navbar-fixed-top{role:"navigation"}

    -#= haml :menu

    .container
      #content
        #left-wrap.col-sm-3
          #sidebar.affix.col-sm-3

        #main-content.col-sm-9
          -#= yield

      #inner

    .clearfix
    #footer
      -#= render 'footer'
      .pull-right
        Copyright © #{Time.now.year} Perkins
      %strong
        Redis connection:
      %span
        = $redis.client.host
        = $redis.client.port