lib/perkins/views/layout.haml in perkins-0.0.1 vs lib/perkins/views/layout.haml in perkins-0.0.2
- old
+ new
@@ -13,41 +13,30 @@
:javascript
minispade.require('log')
%body
- = haml :menu
+ #perkins-layout
+ %nav#main-menu.navbar.navbar-fixed-top{role:"navigation"}
- .container
- #content
- #left-wrap.col-sm-3
+ -#= haml :menu
- #sidebar.affix
- #sidebar-header
- .pull-right
- %a.btn{href: "/me", title: "Add new repository"}
- %span.glyphicon.glyphicon-plus
+ .container
+ #content
+ #left-wrap.col-sm-3
+ #sidebar.affix.col-sm-3
- %h4.title Repos
+ #main-content.col-sm-9
+ -#= yield
- %ul.nav.nav-stacked{style: "overflow:scroll;height:100%"}
- - Perkins::Repo.added.all.each do |repo|
- %li
- %a{:href => "/repos/#{repo.name}"}
- = repo.name
- = haml :"repos/spinner", locals: {repo: repo}
+ #inner
- #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
+ .clearfix
+ #footer
+ -#= render 'footer'
+ .pull-right
+ Copyright © #{Time.now.year} Perkins
+ %strong
+ Redis connection:
+ %span
+ = $redis.client.host
+ = $redis.client.port
\ No newline at end of file