summaryrefslogtreecommitdiffstats
path: root/app/common/directives
diff options
context:
space:
mode:
Diffstat (limited to 'app/common/directives')
-rw-r--r--app/common/directives/app-header.html12
-rw-r--r--app/common/directives/app-navigation.js3
-rw-r--r--app/common/directives/log-event.html2
3 files changed, 8 insertions, 9 deletions
diff --git a/app/common/directives/app-header.html b/app/common/directives/app-header.html
index 8d6a2ad..050ac05 100644
--- a/app/common/directives/app-header.html
+++ b/app/common/directives/app-header.html
@@ -1,10 +1,10 @@
-<div id="header__wrapper">
+<header id="header" class="header">
<!-- HEADER -->
- <header id="header">
- <span class="header__title float-left">OpenBMC</span>
+ <div class="header__info-section">
+ <span class="header__title">OpenBMC</span>
<a href="" class="header__logout" ng-click="logout()">Log out</a>
- </header>
- <div class="header__functions-wrapper" role="heading">
+ </div>
+ <div class="header__functions-section">
<div class="logo__wrapper"><img src="../../assets/images/logo.svg" class="header__logo" alt="company logo"/></div>
<div class="inline header__server-name">
<p class="header__hostname">{{dataService.hostname}}</p>
@@ -26,4 +26,4 @@
</button>
</div>
</div>
-</div>
+</header>
diff --git a/app/common/directives/app-navigation.js b/app/common/directives/app-navigation.js
index c1272de..baa8c8b 100644
--- a/app/common/directives/app-navigation.js
+++ b/app/common/directives/app-navigation.js
@@ -42,8 +42,7 @@ window.angular && (function(angular) {
}
if ($scope.showNavigation) {
- paddingTop =
- document.getElementById('header__wrapper').offsetHeight;
+ paddingTop = document.getElementById('header').offsetHeight;
}
dataService.bodyStyle = {'padding-top': paddingTop + 'px'};
$scope.navStyle = {'top': paddingTop + 'px'};
diff --git a/app/common/directives/log-event.html b/app/common/directives/log-event.html
index 344dccb..5a183ed 100644
--- a/app/common/directives/log-event.html
+++ b/app/common/directives/log-event.html
@@ -31,7 +31,7 @@
</div>
<div class="column small-1 large-1">
<button class="accord-trigger" ng-class="{'active': event.meta}"
- ng-click="event.meta = ! event.meta"></button>
+ ng-click="event.meta = ! event.meta" aria-label="{{event.meta ? 'collapse' : 'expand'}}"></button>
</div>
</div>
<div class="row event__metadata-row" ng-class="{'active': event.meta}">
OpenPOWER on IntegriCloud