1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 07:49:41 +02:00

Added header directive and updated breadcrumb in each view (#8)

This commit is contained in:
Anthony Lapenna 2016-06-08 18:23:11 +12:00
parent 20bfca97e0
commit 791e069a4c
16 changed files with 108 additions and 17 deletions

View file

@ -0,0 +1,14 @@
angular
.module('uifordocker')
.directive('rdHeaderTitle', function rdHeaderTitle() {
var directive = {
requires: '^rdHeader',
scope: {
title: '@',
},
transclude: true,
template: '<div class="page">{{title}}</div>',
restrict: 'E'
};
return directive;
});