mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
Added header directive and updated breadcrumb in each view (#8)
This commit is contained in:
parent
20bfca97e0
commit
791e069a4c
16 changed files with 108 additions and 17 deletions
11
app/directives/header-content.js
Normal file
11
app/directives/header-content.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
angular
|
||||
.module('uifordocker')
|
||||
.directive('rdHeaderContent', function rdHeaderContent() {
|
||||
var directive = {
|
||||
requires: '^rdHeader',
|
||||
transclude: true,
|
||||
template: '<div class="breadcrumb-links" ng-transclude></div>',
|
||||
restrict: 'E'
|
||||
};
|
||||
return directive;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue