Parcourir la source

update submodules with latest commits

tigger il y a 1 semaine
Parent
commit
49bd105261
2 fichiers modifiés avec 21 ajouts et 7 suppressions
  1. 20 6
      src/app/app.component.html
  2. 1 1
      src/dependencies/fis

+ 20 - 6
src/app/app.component.html

@@ -33,6 +33,9 @@
             <!--<button mat-icon-button aria-label="menu">
               <mat-icon>menu</mat-icon>
             </button>-->
+            <button mat-icon-button (click)="sidenav.toggle()">
+              <mat-icon>menu</mat-icon>
+            </button>
             <h2 id="title">{{pbTitle.getTitle()}}</h2>
             <div class="right-toolbar-panel">
               <ng-container *ngTemplateOutlet="toolbarItems"/>
@@ -72,12 +75,19 @@
 </ng-template>
 
 <ng-template #toolbarItems>
-  <div mat-icon-button class="toolbar-item"
-    [style.color]="colorScheme.color"
-    matTooltip="{{'select_color'|tr:'Select color'}}" (click)="colorPop.toggle($event)">
-    <span style="font-size:30pt;display:flex;max-height:30pt;line-height:20pt;">●</span>
-    <mat-label>{{('color'|tr:'Color')}}</mat-label>
-  </div>
+  @if (cs.isMobileClient) {
+    <button mat-icon-button (click)="sidenav.toggle()">
+      <mat-icon>menu</mat-icon>
+    </button>
+
+  } @else {
+    <div mat-icon-button class="toolbar-item"
+      [style.color]="colorScheme.color"
+      matTooltip="{{'select_color'|tr:'Select color'}}" (click)="colorPop.toggle($event)">
+      <span style="font-size:30pt;display:flex;max-height:30pt;line-height:20pt;">●</span>
+      <mat-label>{{('color'|tr:'Color')}}</mat-label>
+    </div>
+  }
   <div class="toolbar-item" mat-icon-button matTooltip="{{'select_theme'|tr:'Select theme'}}" [matMenuTriggerFor]="theme">
     <mat-icon>{{themeMode}}</mat-icon>
     <mat-label>{{('theme'|tr:'Theme')}}</mat-label>
@@ -126,6 +136,10 @@
 </p-popover>
 
 <mat-menu #theme>
+  <button mat-menu-item (click)="colorPop.toggle($event)">
+    <mat-icon>palette</mat-icon>
+    {{'select_color'|tr:'Select Color'}}
+  </button>
   <button mat-menu-item (click)="cs.theming.changeTheme('system'); themeMode='computer'">
     <mat-icon>computer</mat-icon>
     {{'system_color'|tr:'System Color'}}

+ 1 - 1
src/dependencies/fis

@@ -1 +1 @@
-Subproject commit 115c45d32330d2ab7e6633245a8a563fe86b93e6
+Subproject commit f1795e54a7124d6b1d41b6adbd92d8df354832ee