Sha256: 17614d4ed6f184c75f11e5a96696d93ef88e101a9ff0010d3d38deba771055b8

Contents?: true

Size: 1.23 KB

Versions: 4

Compression:

Stored size: 1.23 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
            = relationship.consumer_name
          %td.pact
            %a.btn.btn-primary{:href => relationship.latest_pact_url}
              %span.glyphicon.glyphicon-arrow-right
          %td.provider
            = relationship.provider_name

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pact_broker-1.0.0 lib/pact_broker/ui/views/relationships/show.haml
pact_broker-1.0.0.alpha3 lib/pact_broker/ui/views/relationships/show.haml
pact_broker-1.0.0.alpha2 lib/pact_broker/ui/views/relationships/show.haml
pact_broker-1.0.0.alpha1 lib/pact_broker/ui/views/relationships/show.haml