feat(ui-features): add the tabs component

This commit is contained in:
Alexander Zhukov 2017-05-11 15:05:04 +03:00
parent ada9ac9c1d
commit 78e376bb5a
16 changed files with 90 additions and 28 deletions

View file

@ -11,8 +11,9 @@ import { NgaThemeService } from '@nga/theme/services/theme.service';
<i class="control-icon ion ion-navicon" (click)="toggleSidebar()"></i>
<span class="logo" (click)="goToHome()">NgX&nbsp;<a>Admin</a></span>
<button (click)="switchTheme()">Switch Theme!</button>
<button (click)="selectDefaultTheme()">Default Theme!</button>
</div>
<nga-actions size="medium" inverse class="right">
<nga-action><ngx-search-input></ngx-search-input></nga-action>
<nga-action icon="ion-ios-email-outline"></nga-action>
@ -55,4 +56,8 @@ export class HeaderComponent {
this.themeService.changeTheme('light');
}
}
selectDefaultTheme() {
this.themeService.changeTheme('default');
}
}