mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux: more nav work
This commit is contained in:
@@ -41,4 +41,21 @@ export function navbarDirective() {
|
||||
};
|
||||
}
|
||||
|
||||
export function pageH1() {
|
||||
return {
|
||||
restrict: 'E',
|
||||
template: `
|
||||
<h1>
|
||||
<i class="{{model.node.icon}}"></i>
|
||||
{{model.node.text}}
|
||||
</h1>
|
||||
`,
|
||||
scope: {
|
||||
model: "=",
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
coreModule.directive('pageH1', pageH1);
|
||||
coreModule.directive('navbar', navbarDirective);
|
||||
|
||||
Reference in New Issue
Block a user