openstack-health/app/views/crumb-menu.html
Tim Buckley 69f97e5963 Add new crumb-style menu.
Adds a new crumb-style menu, providing a link to the previously
hidden tests page, and presenting hierarchical navigation to users.
A new directive is added which can be placed within page headers
to create a breadcrumb menu to which pages can add their own
additional entries.

Change-Id: I1d31ee98f7c9fe27e6bd610adc6f4bce8097d5b6
2015-11-16 17:56:50 -07:00

18 lines
598 B
HTML

<ol class="breadcrumb">
<li dropdown>
<span ng-switch on="'tests' | isState">
<a ng-switch-when="true" dropdown-toggle href>Tests <fa name="caret-down"></fa></a>
<a ng-switch-default dropdown-toggle href>Overview <fa name="caret-down"></fa></a>
</span>
<ul role="menu" class="dropdown-menu">
<li>
<a ui-sref="home"><fa name="line-chart" fw></fa> Overview</a>
</li>
<li>
<a ui-sref="tests"><fa name="bar-chart" fw></fa> Tests</a>
</li>
</ul>
</li>
</ol>