mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 10:30:03 -03:30
Dropped in custom breadcrumb template - I think we will need this for styling purposes.
This commit is contained in:
parent
aad2c86752
commit
ae145affe6
@ -197,8 +197,12 @@ var tower = angular.module('Tower', [
|
||||
.config(['$pendolyticsProvider', function($pendolyticsProvider) {
|
||||
$pendolyticsProvider.doNotAutoStart();
|
||||
}])
|
||||
.config(['$stateProvider', '$urlRouterProvider',
|
||||
function ($stateProvider, $urlRouterProvider) {
|
||||
.config(['$stateProvider', '$urlRouterProvider', '$breadcrumbProvider',
|
||||
function ($stateProvider, $urlRouterProvider, $breadcrumbProvider) {
|
||||
|
||||
$breadcrumbProvider.setOptions({
|
||||
templateUrl: urlPrefix + 'partials/breadcrumb.html'
|
||||
});
|
||||
|
||||
$urlRouterProvider.otherwise("/home");
|
||||
|
||||
|
||||
8
awx/ui/client/src/partials/breadcrumb.html
Normal file
8
awx/ui/client/src/partials/breadcrumb.html
Normal file
@ -0,0 +1,8 @@
|
||||
<ol class="breadcrumb">
|
||||
<li ng-repeat="step in steps | limitTo:(steps.length-1)">
|
||||
<a href="{{step.ncyBreadcrumbLink}}" ng-bind-html="step.ncyBreadcrumbLabel"></a>
|
||||
</li>
|
||||
<li ng-repeat="step in steps | limitTo:-1" class="active">
|
||||
<span ng-bind-html="step.ncyBreadcrumbLabel"></span>
|
||||
</li>
|
||||
</ol>
|
||||
Loading…
x
Reference in New Issue
Block a user