<a i18n-title
title="Sign Out"
(click)="logout()">
- <i class="fa fa-sign-out"></i>
- <span i18n>Logout</span>
+ <i class="fa fa-sign-out fa-fw"></i>
</a>
<div dropdown>
<a dropdownToggle
class="dropdown-toggle"
- data-toggle="dropdown">
+ data-toggle="dropdown"
+ i18n-title
+ title="Help">
<i class="fa fa-question-circle-o"></i>
- <span i18n>Help</span>
<span class="caret"></span>
</a>
<ul *dropdownMenu
- class="dropdown-menu">
+ class="dropdown-menu dropdown-menu-right">
<li>
<a i18n
class="dropdown-item"
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
-import { BsDropdownModule, CollapseModule, PopoverModule } from 'ngx-bootstrap';
+import { BsDropdownModule, CollapseModule, PopoverModule, TooltipModule } from 'ngx-bootstrap';
import { AppRoutingModule } from '../../app-routing.module';
import { SharedModule } from '../../shared/shared.module';
CollapseModule.forRoot(),
BsDropdownModule.forRoot(),
PopoverModule.forRoot(),
+ TooltipModule.forRoot(),
AppRoutingModule,
SharedModule,
RouterModule
<a [popover]="popTemplate"
placement="bottom"
container="body"
- outsideClick="true">
- <i class="fa fa-bell"></i>
- <span i18n>Recent Notifications</span>
+ outsideClick="true"
+ i18n-title
+ title="Recent Notifications">
+ <i class="fa fa-bell fa-fw"></i>
</a>
<a [popover]="popTemplate"
placement="bottom"
container="body"
- outsideClick="true">
- <i class="fa"
+ outsideClick="true"
+ i18n-title
+ title="Background Tasks">
+ <i class="fa fa-fw"
[ngClass]="icon"></i>
- <span i18n>Background-Tasks</span>
<span *ngIf="executingTasks.length > 0"> ({{ executingTasks.length }})</span>
</a>
border-top: 4px solid $oa-color-blue;
font-size: 1.2em;
}
-.navbar-openattic i.fa {
- /** Add space between icon and text */
- margin-right: 5px;
-}
.navbar-openattic .navbar-header {
display: flex;
float: none;
.navbar-openattic .navbar-nav>li>.oa-navbar>[dropdown]>a {
color: #ececec;
line-height: 1;
- padding: 10px 20px;
+ padding: 10px 17px;
position: relative;
display: block;
text-decoration: none;
}
.navbar-openattic .navbar-utility a,
.navbar-openattic .navbar-utility .fa{
- font-size: 1.0em;
+ font-size: 1.1em;
}
.navbar-openattic .navbar-utility>.active>a {
color: #ececec;