-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from Macro-Deck-App/8-disable-kebab-menu
Add option to disable menu button
- Loading branch information
Showing
7 changed files
with
100 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,41 @@ | ||
<ion-content [scrollY]="false" [scrollX]="false" [fullscreen]="true"> | ||
<app-widget-grid class="widgets-grid-container"></app-widget-grid> | ||
<ion-menu type="reveal" content-id="main-content"> | ||
<ion-header> | ||
<ion-toolbar> | ||
<ion-title>Macro Deck</ion-title> | ||
</ion-toolbar> | ||
</ion-header> | ||
<ion-content> | ||
<ion-list> | ||
<ion-menu-toggle> | ||
<ion-item *ngIf="environment.webVersion" [button]="true" (click)="openFullscreen()"> | ||
<ion-icon slot="start" name="expand" size="large"></ion-icon> | ||
<ion-label>Open full screen</ion-label> | ||
</ion-item> | ||
<ion-item [button]="true" (click)="openSettings()"> | ||
<ion-icon slot="start" name="settings" size="large"></ion-icon> | ||
<ion-label>Settings</ion-label> | ||
</ion-item> | ||
<ion-item *ngIf="!environment.webVersion" [button]="true" (click)="close()"> | ||
<ion-icon color="danger" slot="start" name="close" size="large"></ion-icon> | ||
<ion-label>Close connection</ion-label> | ||
</ion-item> | ||
</ion-menu-toggle> | ||
</ion-list> | ||
</ion-content> | ||
<ion-toolbar> | ||
<ion-text class="ms-3">{{version}} | Client Id: {{clientId}}</ion-text> | ||
</ion-toolbar> | ||
</ion-menu> | ||
|
||
<ion-fab class="fab-menu" slot="fixed" vertical="bottom" horizontal="start"> | ||
<ion-fab-button size="small"> | ||
<ion-icon name="ellipsis-vertical"></ion-icon> | ||
</ion-fab-button> | ||
<ion-fab-list side="top"> | ||
<ion-fab-button *ngIf="!environment.webVersion" (click)="close()" color="danger"> | ||
<ion-icon name="close"></ion-icon> | ||
</ion-fab-button> | ||
<ion-fab-button (click)="openSettings()"> | ||
<ion-icon name="settings"></ion-icon> | ||
</ion-fab-button> | ||
<ion-fab-button *ngIf="environment.webVersion" (click)="openFullscreen()"> | ||
<ion-icon name="expand"></ion-icon> | ||
</ion-fab-button> | ||
</ion-fab-list> | ||
</ion-fab> | ||
</ion-content> | ||
<div class="ion-page" id="main-content"> | ||
<ion-content [scrollY]="false" [scrollX]="false" [fullscreen]="true"> | ||
<app-widget-grid class="widgets-grid-container"></app-widget-grid> | ||
<ion-fab *ngIf="showMenuButton" class="fab-menu" slot="fixed" vertical="top" horizontal="start"> | ||
<ion-menu-toggle> | ||
<ion-fab-button size="small"> | ||
<ion-icon name="menu-outline"></ion-icon> | ||
</ion-fab-button> | ||
</ion-menu-toggle> | ||
</ion-fab> | ||
</ion-content> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters