Skip to content

Commit

Permalink
feat(index): add link to show/hide latest tags
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Feb 5, 2018
1 parent 8a2b75c commit 412a2d3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
6 changes: 4 additions & 2 deletions lib/pact_broker/ui/views/index/show-with-tags.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
%script{type: 'text/javascript', src:'/js/bootstrap.min.js'}
%nav.navbase-default.navbar-right{role: "navigation"}
.container
%ul
%li.navbar-right
%ul.navbar-right#top-left-menu
%li
%a{href: './'}
Hide latest tags
%a{ href: '/hal-browser/browser.html' }
API Browser
.container
Expand Down
4 changes: 3 additions & 1 deletion lib/pact_broker/ui/views/index/show.haml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
%script{type: 'text/javascript', src:'/js/bootstrap.min.js'}
%nav.navbase-default.navbar-right{role: "navigation"}
.container
%ul
%ul#top-left-menu
%li.navbar-right
%a{href: './?tags=true'}
Show latest tags
%a{ href: '/hal-browser/browser.html' }
API Browser
.container
Expand Down
8 changes: 7 additions & 1 deletion public/stylesheets/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
}

.table-striped>tbody>tr>td.consumer, .table-striped>thead>tr>th.consumer {
padding: 2px;
border-right: none;
}

Expand Down Expand Up @@ -76,3 +75,10 @@ span.pact:hover svg path, span.pact-matrix:hover svg path {
fill: #2a6496;
stroke: #2a6496;
}

#top-left-menu li a{
padding-left: 10px
}
#top-left-menu li{
list-style: none;
}

0 comments on commit 412a2d3

Please sign in to comment.