Sha256: a5c6fd18f11e92cd84d0ad78d862f33ebab44d6c4abee7846d368d77c395fd14
Contents?: true
Size: 1.93 KB
Versions: 3
Compression:
Stored size: 1.93 KB
Contents
#repo-menu.pull-right %ul.nav.nav-pills{:role => "tablist"} %li.dropdown %a.dropdown-toggle{"aria-expanded" => "false", "data-toggle" => "dropdown", :href => "#", :role => "button"} Orgs %span.caret %ul.dropdown-menu.dropdown-menu-right{:role => "menu"} - orgs.each do |org| %li %a{:href => "/orgs/#{org[:login]}"} = org[:login] .title %h1 %span#org-name = org[:name] %h5 %strong= org[:url] .panel.panel-default .panel-heading Organization info: .panel-body .col-sm-3 %img.avatar{ src: avatar_url(org[:avatar_url], 80) } .col-sm-3 %strong id: = org[:id] %br %strong email: = org[:email] %br %strong public repos: = org[:public_repos] .col-sm-3 %strong public gists: = org[:public_gists] %br %strong followers: = org[:followers] %br %strong following: = org[:following] .col-sm-3 %strong total private repos: = org[:total_private_repos] %br %strong owned private repos: = org[:owned_private_repos] - if repos.any? %h2 #{org[:name]} Repositories: - 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.url} View on github %i.fa.fa-external-link %p.small= repo["description"]
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
perkins-0.0.3 | lib/perkins/views/orgs.haml |
perkins-0.0.2 | lib/perkins/views/orgs.haml |
perkins-0.0.1 | lib/perkins/views/orgs.haml |