2019-10-24 06:37:33 +00:00
|
|
|
<mat-toolbar class="app-layout-native-title-bar">
|
2019-10-29 00:06:19 +00:00
|
|
|
<div class="app-layout-native-title-bar-logo">
|
|
|
|
<img src="assets/images/logo/ico_64x64.png" />
|
|
|
|
</div>
|
2019-10-24 06:37:33 +00:00
|
|
|
<div class="app-layout-native-title-bar-title">UCAP M Messenger</div>
|
|
|
|
<div class="app-layout-native-title-bar-spacer"></div>
|
|
|
|
<div class="app-layout-native-title-bar-actions">
|
|
|
|
<button
|
2019-10-24 07:30:28 +00:00
|
|
|
mat-icon-button
|
2019-10-24 06:37:33 +00:00
|
|
|
class="button app-layout-native-title-bar-minimize"
|
|
|
|
(click)="onClickMinimize()"
|
|
|
|
>
|
2019-11-07 23:58:22 +00:00
|
|
|
<!--<mat-icon>minimize</mat-icon>-->
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
|
|
stroke-width="2" stroke-linecap="butt" stroke-linejoin="round">
|
|
|
|
<line x1="5" y1="18" x2="19" y2="18"></line>
|
|
|
|
</svg>
|
2019-10-24 06:37:33 +00:00
|
|
|
</button>
|
|
|
|
<button
|
2019-10-24 07:30:28 +00:00
|
|
|
mat-icon-button
|
2019-10-24 06:37:33 +00:00
|
|
|
class="button app-layout-native-title-bar-maximize"
|
|
|
|
(click)="onClickMaxmize()"
|
|
|
|
>
|
|
|
|
<ng-container [ngSwitch]="windowStateChanged$ | async">
|
2019-11-07 23:58:22 +00:00
|
|
|
<!--<mat-icon *ngSwitchCase="WindowState.Maximized">filter_none</mat-icon>-->
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
|
|
stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" *ngSwitchCase="WindowState.Maximized">
|
|
|
|
<path class="st0"
|
|
|
|
d="M15,9.5v7c0,0.8-0.7,1.5-1.5,1.5h-7C5.7,18,5,17.3,5,16.5v-7C5,8.7,5.7,8,6.5,8h7C14.3,8,15,8.7,15,9.5z" />
|
|
|
|
<path class="st0" d="M8.8,6.8V6c0-0.8,0.7-1.5,1.5-1.5H17c0.8,0,1.5,0.7,1.5,1.5v6.8c0,0.8-0.7,1.5-1.5,1.5h-0.8" />
|
|
|
|
</svg>
|
|
|
|
|
|
|
|
<!--<mat-icon *ngSwitchDefault>crop_din</mat-icon>-->
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
|
|
stroke-width="2" stroke-linecap="butt" stroke-linejoin="round" *ngSwitchDefault>
|
|
|
|
<rect x="5" y="5" width="12" height="12" rx="2" ry="2"></rect>
|
|
|
|
</svg>
|
|
|
|
|
2019-10-24 06:37:33 +00:00
|
|
|
</ng-container>
|
|
|
|
</button>
|
|
|
|
<button
|
2019-10-24 07:30:28 +00:00
|
|
|
mat-icon-button
|
2019-10-24 06:37:33 +00:00
|
|
|
class="button app-layout-native-title-bar-close"
|
|
|
|
(click)="onClickClose()"
|
|
|
|
>
|
2019-11-07 23:58:22 +00:00
|
|
|
<!--<mat-icon>close</mat-icon>-->
|
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor"
|
|
|
|
stroke-width="2" stroke-linecap="butt" stroke-linejoin="round">
|
|
|
|
<line x1="18" y1="6" x2="6" y2="18"></line>
|
|
|
|
<line x1="6" y1="6" x2="18" y2="18"></line>
|
|
|
|
</svg>
|
2019-10-24 06:37:33 +00:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</mat-toolbar>
|