mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +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
13
app/directives/header.js
Normal file
13
app/directives/header.js
Normal file
|
@ -0,0 +1,13 @@
|
|||
angular
|
||||
.module('uifordocker')
|
||||
.directive('rdHeader', function rdHeader() {
|
||||
var directive = {
|
||||
scope: {
|
||||
"ngModel": "="
|
||||
},
|
||||
transclude: true,
|
||||
template: '<div class="row header"><div class="col-xs-12"><div class="meta" ng-transclude></div></div></div>',
|
||||
restrict: 'EA'
|
||||
};
|
||||
return directive;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue