Sha256: 2b6f0d1d0d9d93f37e0f9e53328afe4eaa693e374af85a2ccc9ff5ff4924d146

Contents?: true

Size: 1.41 KB

Versions: 1

Compression:

Stored size: 1.41 KB

Contents

%head
  %title
    Relationships
  %link{rel: 'stylesheet', href: '/css/bootstrap.min.css'}
  %link{rel: 'stylesheet', href: '/stylesheets/relationships.css'}
  %script{type: 'text/javascript', src:'/javascripts/jquery-2.1.1.min.js'}
  %script{type: 'text/javascript', src:'/javascripts/jquery.tablesorter.min.js'}
%body
  %nav.navbase-default.navbar-right{role: "navigation"}
    .container
      %ul
        %li.navbar-right
          %a{href: '/hal-browser/browser.html'}
            HAL Browser
  .container
    %h1.page-header
      Relationships
    %table.table.table-bordered.table-striped{id: 'relationships'}
      %thead
        %th.consumer
          Consumer
          %span.glyphicon.glyphicon-sort.relationships-sort
        %th.pact

        %th.provider
          Provider
          %span.glyphicon.glyphicon-sort.relationships-sort
      %tbody

      - relationships.each do | relationship |
        %tr
          %td.consumer
            %a{:href => relationship.consumer_group_url}
              = relationship.consumer_name
          %td.pact
            %a.btn.btn-primary{:href => relationship.latest_pact_url}
              %span.glyphicon.glyphicon-arrow-right
          %td.provider
            %a{:href => relationship.provider_group_url}
              = relationship.provider_name
    %div.relationships-size
      = relationships.size_label

:javascript
$(function(){
  $("#relationships").tablesorter();
});

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pact_broker-1.3.2.rc1 lib/pact_broker/ui/views/relationships/show.haml