Sha256: 83db28ee79c8f8fd4d101cbdbe73b5b17f5c583bdc81d193e75a2ad1c09236a0

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents


.pull-right
  %br
  %a.btn.btn.btn-success{href: "/repos/sync"}
    %span.glyphicon.glyphicon-refresh
    SYNC

- if repos.any?
  %h2 Repositories:

  .panel.panel-default
    .panel-heading
      Github Repos


    - repos.each do |repo|
      %ul.list-group
        %li.list-group-item

          .pull-right
            %a.btn{href: "/repos/add/#{repo['id']}"}
              ADD REPO
              %span.btn.glyphicon.glyphicon-plus-sign

          .row
            %span.col-sm-2
              %a{src: repo["owner"]["url"] }
                %img{ src: repo["owner"]["avatar_url"], width: 120 }
            %span.col-sm-7
              .pull-right

                - if repo["fork"]
                  %i.fa.fa-code-fork{title: "is a fork"}

                - if repo["private"]
                  %i.fa.fa-lock{title: "is private"}

              %h4= repo.name
              %a{href: repo['html_url'], target: :blank}
                View on github
                %i.fa.fa-external-link
              %p.small= repo["description"]


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
perkins-0.0.3 lib/perkins/views/repos/github.haml
perkins-0.0.2 lib/perkins/views/repos/github.haml