Sha256: 87049c663b799a0de95dfbef20107a6f14ea6c780516ca3433be9915ba63bd33

Contents?: true

Size: 1.78 KB

Versions: 1

Compression:

Stored size: 1.78 KB

Contents


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

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

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

        .row
          %span.col-sm-1
            %a{src: repo.github_data["owner"]["url"] }
              %img{ src: repo.github_data["owner"]["avatar_url"], width: 66 }
          %span.col-sm-8
            %h4= repo.name
            %a{href: repo.url}
              view on github
            %p
        .clearfix
        .well
          %p= repo.github_data["description"]
        -#
          %p
            clone url:
            = repo.github_data["clone_url"]

        %span
          = repo.github_data["fork"]
          = repo.github_data["private"]

- 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

1 entries across 1 versions & 1 rubygems

Version Path
perkins-0.0.1 lib/perkins/views/repos/github.haml