fixed bug in header template

This commit is contained in:
Shane Harris
2022-07-30 11:26:31 +01:00
parent 7e438b63c8
commit 03b545cd42
@@ -2,8 +2,6 @@
<div class="top-bar">
<div class="relative">
<div class="topper"></div>
<div class="user-menu-back" (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none'"
#userMenuBack></div>
<div class="user-menu-back" (click)="browserMenu.style.display = 'none';browserMenuBack.style.display = 'none'"
#browserMenuBack></div>
<div class="user-menu-back" (click)="commandMenu.style.display = 'none';commandMenuBack.style.display = 'none'"
@@ -56,10 +54,6 @@
<app-link *ngIf="appService.updateAvailable"
class="waves-effect waves-light btn-flat update-available link small-button warning" (click)="updateAvailable()"
text="Update"></app-link>
<!-- <i mz-tooltip class="material-icons white-text no-outline top-menu-bar-icon-down" position="bottom" tooltip="Menu"-->
<!-- (click)="userMenu.style.display = 'block';userMenuBack.style.display = 'block'">-->
<!-- arrow_drop_down-->
<!-- </i>-->
<i mz-tooltip routerLink="/webview" (click)="doBack()"
class="material-icons white-text no-outline" position="bottom" tooltip="Back">
arrow_back
@@ -216,39 +210,6 @@
</mz-modal>
<!--<mz-modal #wifiModal [fixedFooter]="true">-->
<!-- <mz-modal-header>-->
<!-- <h4>Wireless</h4>-->
<!-- </mz-modal-header>-->
<!-- <mz-modal-content>-->
<!-- <div class="center-align">-->
<!-- Enable wifi mode to install apps wirelessly.<br>-->
<!-- <div class="chip">Experimental</div>-->
<!-- <br><br><br>-->
<!-- <i mz-tooltip class="material-icons large cursor" [ngClass]="{'green-text':adbService.wifiEnabled}"-->
<!-- (click)="adbService.wifiEnabled=!adbService.wifiEnabled;adbService.toggleWifiMode()" position="bottom"-->
<!-- tooltip="Enable wireless mode. (Experimental)">-->
<!-- wifi-->
<!-- </i>-->
<!-- <br>-->
<!-- <br>-->
<!-- <div>-->
<!-- <h5>Device IP:</h5>-->
<!-- {{adbService.deviceIp}}<br>-->
<!-- <a class="waves-effect waves-dark btn search-button-margin white black-text" mz-modal-close-->
<!-- (click)="connectWifi()">Connect</a>-->
<!-- <br><br>-->
<!-- <a class="waves-effect waves-dark btn search-button-margin white black-text" mz-modal-close-->
<!-- (click)="adbCommandToRun = 'adb disconnect';runAdbCommand()">Reset</a>-->
<!-- </div>-->
<!-- </div>-->
<!-- </mz-modal-content>-->
<!-- <mz-modal-footer>-->
<!-- <button mz-button [flat]="true" mz-modal-close>Close</button>-->
<!-- </mz-modal-footer>-->
<!--</mz-modal>-->
<mz-modal #logcatModal [fixedFooter]="true" [options]="{dismissible: false}">
<mz-modal-header>
<button mz-button class="right red" mz-modal-close (click)="stopLogcat(); currentLogCat.length = 0; isStarted = false;">Close</button>
@@ -307,8 +268,6 @@
</mz-modal-footer>
</mz-modal>
<mz-modal #safeModal [fixedFooter]="true">
<mz-modal-header>
<h4>Harmful Content Detected!!</h4>
@@ -380,122 +339,6 @@
</mz-modal>
<!--<mz-modal #scrcpyModal [fixedFooter]="true">-->
<!-- <mz-modal-header>-->
<!-- <h4>Stream Options</h4>-->
<!-- </mz-modal-header>-->
<!-- <mz-modal-content>-->
<!-- <div class="row">-->
<!-- <div class="col s6 fixed-height">-->
<!-- Always On Top-->
<!-- <div class="grey-text small">-->
<!-- Make scrcpy window always on top (above other windows).-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 fixed-height">-->
<!-- <div class="switch">-->
<!-- <label>-->
<!-- Off-->
<!-- <input type="checkbox" [(ngModel)]="scrcpy_options.always_on_top" />-->
<!-- <span class="lever"></span>-->
<!-- On-->
<!-- </label>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 fixed-height">-->
<!-- Bit Rate-->
<!-- <div class="grey-text small">-->
<!-- Encode the video at the given bit-rate, expressed in bits/s. Unit suffixes are supported: 'K' (x1000) and 'M'-->
<!-- (x1000000).-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 input-field fixed-height">-->
<!-- <input id="bit_rate_" [(ngModel)]="scrcpy_options.bit_rate" type="text" />-->
<!-- <label for="bit_rate_" class="active">Bit Rate</label>-->
<!-- </div>-->
<!-- <div class="col s6 fixed-height">-->
<!-- Crop-->
<!-- <div class="grey-text small">-->
<!-- Crop the device screen on the server. The values are expressed in the device natural orientation (typically,-->
<!-- portrait for a phone, landscape for a tablet). Any MaxSize value is computed on the cropped size.-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 input-field fixed-height">-->
<!-- <input id="crop_" [(ngModel)]="scrcpy_options.crop" type="text" />-->
<!-- <label for="crop_" class="active">Crop</label>-->
<!-- <div class="btn pink-button small-button waves-light waves-effect margin-right" (click)="scrcpy_options.crop = '1280:720:1500:350'">Quest 1 Crop</div>-->
<!-- <div class="btn pink-button small-button waves-light waves-effect margin-right" (click)="scrcpy_options.crop = '1600:900:2017:510'">Quest 2 Crop</div>-->
<!-- </div>-->
<!-- <div class="col s6 fixed-height">-->
<!-- Fullscreen-->
<!-- <div class="grey-text small">-->
<!-- Start in fullscreen.-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 fixed-height">-->
<!-- <div class="switch">-->
<!-- <label>-->
<!-- Off-->
<!-- <input type="checkbox" [(ngModel)]="scrcpy_options.fullscreen" />-->
<!-- <span class="lever"></span>-->
<!-- On-->
<!-- </label>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 fixed-height">-->
<!-- No Input-->
<!-- <div class="grey-text small">-->
<!-- Disable device control (mirror the device in read-only).-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 fixed-height">-->
<!-- <div class="switch">-->
<!-- <label>-->
<!-- Off-->
<!-- <input type="checkbox" [(ngModel)]="scrcpy_options.no_control" />-->
<!-- <span class="lever"></span>-->
<!-- On-->
<!-- </label>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 fixed-height">-->
<!-- Max FPS-->
<!-- <div class="grey-text small">-->
<!-- Limit the frame rate of screen capture. 0 is unlimited.-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 input-field fixed-height">-->
<!-- <input id="max_fps_" [(ngModel)]="scrcpy_options.max_fps" type="text" />-->
<!-- <label for="max_fps_" class="active">Max FPS</label>-->
<!-- </div>-->
<!-- <div class="col s6 fixed-height">-->
<!-- Max Size-->
<!-- <div class="grey-text small">-->
<!-- Limit both the width and height of the video to value. The other dimension is computed so that the device-->
<!-- aspect-ratio is preserved. 0 is unlimited.-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col s6 input-field fixed-height">-->
<!-- <input id="max_size_" [(ngModel)]="scrcpy_options.max_size" type="text" />-->
<!-- <label for="max_size_" class="active">Max Size</label>-->
<!-- </div>-->
<!-- <div class="col s12" *ngIf="osPlatform === 'darwin'">-->
<!-- To use ScrCpy on mac you will need to install Homebrew and then install scrcpy with <span class="chip">brew install scrcpy</span>-->
<!-- <br><br>-->
<!-- </div>-->
<!-- <div class="col s12" *ngIf="osPlatform === 'linux'">-->
<!-- To use ScrCpy on Linux you will need to install snap package manager with <span class="chip">sudo snap install scrcpy</span>-->
<!-- </div>-->
<!-- </div>-->
<!-- </mz-modal-content>-->
<!-- <mz-modal-footer>-->
<!-- <div class="left margin-left"><br>Put your headset on before clicking Start Stream</div>-->
<!-- <button mz-button [flat]="true" class="footer-margin-right" mz-modal-close>Close</button>-->
<!-- <button mz-button class="pink-button footer-margin-right" mz-modal-close (click)="runscrcpy()">Start Stream</button>-->
<!-- <button mz-button class="pink-button" mz-modal-close (click)="appService.opn('https://www.oculus.com/casting')">Oculus Casting</button>-->
<!-- </mz-modal-footer>-->
<!--</mz-modal>-->
<mz-modal #manageFavs [fixedFooter]="true">
<mz-modal-header>
<button mz-button class="right pink-button" (click)="showAddFavourite = !showAddFavourite">{{showAddFavourite? 'Hide' : 'Add New'}}</button>