mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-03 01:02:54 +00:00
55 lines
1.7 KiB
HTML
55 lines
1.7 KiB
HTML
<header>
|
|
<mat-toolbar color="primary">
|
|
<button mat-icon-button><mat-icon svgIcon="gns3"></mat-icon></button>
|
|
|
|
<button mat-button routerLink="/servers">Controllers</button>
|
|
|
|
<button *ngIf="!recentlyOpenedProjectId && serverIdProjectList" mat-button (click)="listProjects()">
|
|
Projects
|
|
</button>
|
|
|
|
<button *ngIf="recentlyOpenedProjectId && recentlyOpenedServerId && !isLoginPage" mat-button (click)="backToProject()">
|
|
Back to project
|
|
</button>
|
|
|
|
<span class="fill-space"></span>
|
|
|
|
<button mat-button *ngIf="!isLoginPage && router.url !='/servers'" [matMenuTriggerFor]="menu">
|
|
<mat-icon>more_vert</mat-icon>
|
|
</button>
|
|
|
|
<mat-menu #menu="matMenu">
|
|
<button mat-menu-item routerLink="/settings">
|
|
<mat-icon>settings</mat-icon>
|
|
<span>Settings</span>
|
|
</button>
|
|
<button mat-menu-item routerLink="/user_management">
|
|
<mat-icon>groups</mat-icon>
|
|
<span>User management</span>
|
|
</button>
|
|
<button mat-menu-item routerLink="/help">
|
|
<mat-icon>help</mat-icon>
|
|
<span>Help</span>
|
|
</button>
|
|
<button mat-menu-item (click)="goToUserInfo()">
|
|
<mat-icon>person</mat-icon>
|
|
<span>User info</span>
|
|
</button>
|
|
<button mat-menu-item (click)="goToDocumentation()">
|
|
<mat-icon>person</mat-icon>
|
|
<span>API documentation</span>
|
|
</button>
|
|
<button mat-menu-item (click)="logout()">
|
|
<mat-icon>highlight_off</mat-icon>
|
|
<span>Logout</span>
|
|
</button>
|
|
</mat-menu>
|
|
</mat-toolbar>
|
|
</header>
|
|
|
|
<main class="mat-app-background"><router-outlet></router-outlet></main>
|
|
|
|
<app-progress></app-progress>
|
|
|
|
<footer class="footer mat-app-background">GNS3 Web UI © 2021 - v{{ uiVersion }}</footer>
|