Sha256: 0fa4a94f48d86b52e5c662bf5ea18b052855252c2386125e8b41844127bc035a

Contents?: true

Size: 1.43 KB

Versions: 1

Compression:

Stored size: 1.43 KB

Contents

%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
    = haml :menu

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

          #sidebar.affix
            #sidebar-header
              .pull-right
                %a.btn{href: "/me", title: "Add new repository"}
                  %span.glyphicon.glyphicon-plus

              %h4.title Repos

            %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}

        #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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
perkins-0.0.1 lib/perkins/views/layout.haml