fixed the menu to the top of the app
This commit is contained in:
@@ -1,43 +1,7 @@
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<div class="top-dnd-backing">
|
<div class="top-bar">
|
||||||
|
<div class="relative">
|
||||||
<div class="topper"></div>
|
<div class="topper"></div>
|
||||||
<div class="top-banner">
|
|
||||||
<div>
|
|
||||||
<!--<div class="header-title">SideQuest</div>-->
|
|
||||||
<!--<div class="apk-install">Make it your own</div>-->
|
|
||||||
<a href="#/" class="logo">
|
|
||||||
<!--<img src="assets/images/logo-large icony.png"/>-->
|
|
||||||
<img src="assets/images/new-logo.png" />
|
|
||||||
<!--<img class="spider-image" src="https://i.giphy.com/media/V3sjIPOXgP5Zu/giphy.webp"/>-->
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="top-buttons hide-on-med-and-down">
|
|
||||||
</div>
|
|
||||||
<div class="well well-lg drop-message center-align" *ngIf="dragAndDropService.isDragging">
|
|
||||||
<h5>Drop file(s) here!</h5>
|
|
||||||
<br />
|
|
||||||
<span class="spinner-loading-message" [innerHTML]="dragAndDropService.message"></span>
|
|
||||||
</div>
|
|
||||||
<!--<div class="logo no-outline" (click)="webService.webView.loadURL('http://localhost:4201');" routerLink="webview"></div>-->
|
|
||||||
<!--<div class="header-title" #header><img src="assets/images/logo-textual.png" class="responsive-img"/></div>-->
|
|
||||||
<!--<div class="apk-install">Drag and drop your APK/OBB files <br>over this message to install!</div>-->
|
|
||||||
<!--<div class="apk-install" *ngIf="appService.isFilesOpen">Manage the files on your headset.<br>Drag and drop to move-->
|
|
||||||
<!--files onto your headset.</div>-->
|
|
||||||
<div class="apk-install" *ngIf="appService.isPackagesOpen">Manage the apps on your headset.<br>Click Show All to
|
|
||||||
see all apps including system apps.</div>
|
|
||||||
<div class="apk-install" *ngIf="appService.isSettingsOpen">Manage settings on your headset.</div>
|
|
||||||
<div class="apk-install" *ngIf="appService.isTasksOpen">Manage tasks for installing, <br>downloading and uploading
|
|
||||||
from your headset.</div>
|
|
||||||
<!--<div class="apk-install" *ngIf="appService.showCustomActions">Special thanks to-->
|
|
||||||
<!--<app-link url="https://github.com/trishume/QuestSaberPatch" text="@trishume"></app-link>,-->
|
|
||||||
<!--<app-link url="https://github.com/ATechAdventurer" text="@ATechAdventurer"></app-link>,<br>-->
|
|
||||||
<!--<app-link url="https://www.reddit.com/u/drewbaumann/" text="@drewbaumann"></app-link>,-->
|
|
||||||
<!--<app-link url="https://www.reddit.com/u/motokochan/" text="@motokochan"></app-link>-->
|
|
||||||
<!--and of course-->
|
|
||||||
<!--<app-link url="https://bsaber.com/members/elliotttate/" text="@elliotttate"></app-link>-->
|
|
||||||
<!--for beat saber efforts.-->
|
|
||||||
<!--</div>-->
|
|
||||||
</div>
|
|
||||||
<div class="user-menu-back" (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none'"
|
<div class="user-menu-back" (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none'"
|
||||||
#userMenuBack></div>
|
#userMenuBack></div>
|
||||||
<div class="user-menu-back" (click)="browserMenu.style.display = 'none';browserMenuBack.style.display = 'none'"
|
<div class="user-menu-back" (click)="browserMenu.style.display = 'none';browserMenuBack.style.display = 'none'"
|
||||||
@@ -55,12 +19,6 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
<div class="title-menu-container">
|
<div class="title-menu-container">
|
||||||
<!--<img mz-tooltip-->
|
|
||||||
<!--(click)="openBeatOn()"-->
|
|
||||||
<!--class="material-icons no-outline beaton-icon"-->
|
|
||||||
<!--src="{{beatonService.beatOnEnabled?'assets/images/beaton.png':'assets/images/beatoff.png'}}"-->
|
|
||||||
<!--position="bottom" tooltip="BeatOn mods & custom songs on Beat Saber"/>-->
|
|
||||||
|
|
||||||
<div class="user-menu command-menu" #commandMenu>
|
<div class="user-menu command-menu" #commandMenu>
|
||||||
<div class="btn-flat waves-light waves-light full-width center-align white-text truncate"
|
<div class="btn-flat waves-light waves-light full-width center-align white-text truncate"
|
||||||
(click)="commandMenu.style.display = 'none';commandMenuBack.style.display = 'none';adbModal.openModal()"
|
(click)="commandMenu.style.display = 'none';commandMenuBack.style.display = 'none';adbModal.openModal()"
|
||||||
@@ -98,9 +56,9 @@
|
|||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
<div class="user-menu" #userMenu>
|
<div class="user-menu" #userMenu>
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';webService.loadUrl(webUrl || 'https://sidequestvr.com')"-->
|
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';webService.loadUrl(webUrl || 'https://sidequestvr.com')"-->
|
||||||
<!-- routerLink="/webview"><i class="material-icons left">home</i>Home</div><br>-->
|
<!-- routerLink="/webview"><i class="material-icons left">home</i>Home</div><br>-->
|
||||||
<div class="btn-flat waves-light waves-light full-width center-align white-text"
|
<div class="btn-flat waves-light waves-light full-width center-align white-text"
|
||||||
*ngIf="isConnected()&&osPlatform === 'win32'"
|
*ngIf="isConnected()&&osPlatform === 'win32'"
|
||||||
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';scrcpyModal.openModal();">
|
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';scrcpyModal.openModal();">
|
||||||
@@ -108,24 +66,24 @@
|
|||||||
<div class="btn-flat waves-light waves-light full-width center-align white-text" *ngIf="adbService.deviceIp"
|
<div class="btn-flat waves-light waves-light full-width center-align white-text" *ngIf="adbService.deviceIp"
|
||||||
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';wifiModal.openModal()"><i
|
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';wifiModal.openModal()"><i
|
||||||
class="material-icons left">wifi</i>Wifi</div>
|
class="material-icons left">wifi</i>Wifi</div>
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';selectAppToInstall()"><i-->
|
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';selectAppToInstall()"><i-->
|
||||||
<!-- class="material-icons left">archive</i>Select APK</div>-->
|
<!-- class="material-icons left">archive</i>Select APK</div>-->
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="/device-files"><i-->
|
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="/device-files"><i-->
|
||||||
<!-- class="material-icons left">folder</i>File Explorer</div>-->
|
<!-- class="material-icons left">folder</i>File Explorer</div>-->
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="packages"><i-->
|
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="packages"><i-->
|
||||||
<!-- class="material-icons left">apps</i>My Apps</div>-->
|
<!-- class="material-icons left">apps</i>My Apps</div>-->
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="tools"><i-->
|
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';" routerLink="tools"><i-->
|
||||||
<!-- class="material-icons left">build</i>Tools</div>-->
|
<!-- class="material-icons left">build</i>Tools</div>-->
|
||||||
<div class="btn-flat waves-light waves-light full-width center-align white-text"
|
<div class="btn-flat waves-light waves-light full-width center-align white-text"
|
||||||
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';adbModal.openModal()"><i
|
(click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';adbModal.openModal()"><i
|
||||||
class="material-icons left">input</i>ADB Commands</div>
|
class="material-icons left">input</i>ADB Commands</div>
|
||||||
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
<!-- <div class="btn-flat waves-light waves-light full-width center-align white-text"-->
|
||||||
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';logcatModal.openModal()"><i-->
|
<!-- (click)="userMenu.style.display = 'none';userMenuBack.style.display = 'none';logcatModal.openModal()"><i-->
|
||||||
<!-- class="material-icons left">input</i>ADB Logcat</div>-->
|
<!-- class="material-icons left">input</i>ADB Logcat</div>-->
|
||||||
</div>
|
</div>
|
||||||
<app-link *ngIf="appService.updateAvailable"
|
<app-link *ngIf="appService.updateAvailable"
|
||||||
class="waves-effect waves-light btn-flat update-available link small-button warning" (click)="updateAvailable()"
|
class="waves-effect waves-light btn-flat update-available link small-button warning" (click)="updateAvailable()"
|
||||||
@@ -191,35 +149,58 @@
|
|||||||
position="bottom" tooltip="Run ADB commands">
|
position="bottom" tooltip="Run ADB commands">
|
||||||
input
|
input
|
||||||
</i>
|
</i>
|
||||||
<!-- <i (click)="openDebugger()" id="open-debugger" mz-tooltip class="material-icons white-text top-menu-bar-icon"-->
|
<!-- <i (click)="openDebugger()" id="open-debugger" mz-tooltip class="material-icons white-text top-menu-bar-icon"-->
|
||||||
<!-- position="bottom" tooltip="Open debugger">-->
|
<!-- position="bottom" tooltip="Open debugger">-->
|
||||||
<!-- bug_report-->
|
<!-- bug_report-->
|
||||||
<!-- </i>-->
|
<!-- </i>-->
|
||||||
<!-- <i (click)="minimizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
|
<!-- <i (click)="minimizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
|
||||||
<!-- tooltip="Minimize SideQuest.">-->
|
<!-- tooltip="Minimize SideQuest.">-->
|
||||||
<!-- minimize-->
|
<!-- minimize-->
|
||||||
<!-- </i>-->
|
<!-- </i>-->
|
||||||
<!-- <i (click)="maximizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
|
<!-- <i (click)="maximizeApp(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
|
||||||
<!-- tooltip="Toggle Maximize.">-->
|
<!-- tooltip="Toggle Maximize.">-->
|
||||||
<!-- aspect_ratio-->
|
<!-- aspect_ratio-->
|
||||||
<!-- </i>-->
|
<!-- </i>-->
|
||||||
<!-- <i (click)="closeAppModal.openModal(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
|
<!-- <i (click)="closeAppModal.openModal(); userMenu.style.display = 'none';userMenuBack.style.display = 'none'" mz-tooltip class="material-icons white-text no-outline" position="bottom"-->
|
||||||
<!-- tooltip="Close SideQuest.">-->
|
<!-- tooltip="Close SideQuest.">-->
|
||||||
<!-- close-->
|
<!-- close-->
|
||||||
<!-- </i>-->
|
<!-- </i>-->
|
||||||
</div>
|
</div>
|
||||||
<div id="connection-status-container">
|
<div id="connection-status-container">
|
||||||
<i mz-tooltip class="material-icons white-text no-outline connection-device-select pointer"
|
<i mz-tooltip class="material-icons white-text no-outline connection-device-select pointer left"
|
||||||
*ngIf="adbService.devices && adbService.devices.length > 1"
|
*ngIf="adbService.devices && adbService.devices.length > 1"
|
||||||
(click)="deviceMenu.style.display = 'block';deviceMenuBack.style.display = 'block'"
|
(click)="deviceMenu.style.display = 'block';deviceMenuBack.style.display = 'block'"
|
||||||
position="bottom" tooltip="Select Device">
|
position="bottom" tooltip="Select Device">
|
||||||
arrow_drop_down
|
arrow_drop_down
|
||||||
</i>
|
</i>
|
||||||
<div id="connection-status" class="connection-status-unauthorized" mz-tooltip
|
<div id="connection-status" class="connection-status-unauthorized left" mz-tooltip
|
||||||
position="bottom" [ngClass]="adbService.connectionCss" [tooltip]="adbService.lastErrorMessage||'Device connection status.'">
|
position="bottom" [ngClass]="adbService.connectionCss" [tooltip]="adbService.lastErrorMessage||'Device connection status.'">
|
||||||
<div id="connection-status-message" [innerHTML]="appService.versionName+' '+adbService.deviceStatusMessage"></div>
|
<div id="connection-status-message" [innerHTML]="appService.versionName+' '+adbService.deviceStatusMessage"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="top-dnd-backing">
|
||||||
|
|
||||||
|
<div class="top-banner">
|
||||||
|
<div>
|
||||||
|
<a href="#/" class="logo">
|
||||||
|
<img src="assets/images/new-logo.png" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="top-buttons hide-on-med-and-down">
|
||||||
|
</div>
|
||||||
|
<div class="well well-lg drop-message center-align" *ngIf="dragAndDropService.isDragging">
|
||||||
|
<h5>Drop file(s) here!</h5>
|
||||||
|
<br />
|
||||||
|
<span class="spinner-loading-message" [innerHTML]="dragAndDropService.message"></span>
|
||||||
|
</div>
|
||||||
|
<div class="apk-install" *ngIf="appService.isPackagesOpen">Manage the apps on your headset.<br>Click Show All to
|
||||||
|
see all apps including system apps.</div>
|
||||||
|
<div class="apk-install" *ngIf="appService.isSettingsOpen">Manage settings on your headset.</div>
|
||||||
|
<div class="apk-install" *ngIf="appService.isTasksOpen">Manage tasks for installing, <br>downloading and uploading
|
||||||
|
from your headset.</div>
|
||||||
|
</div>
|
||||||
<div *ngIf="appService.showBrowserBar" class="beast-saber-buttons">
|
<div *ngIf="appService.showBrowserBar" class="beast-saber-buttons">
|
||||||
<a class="waves-effect waves-light synthrideerz"
|
<a class="waves-effect waves-light synthrideerz"
|
||||||
(click)="webService.loadUrl('https://synthriderz.com/beatmaps/recent')">
|
(click)="webService.loadUrl('https://synthriderz.com/beatmaps/recent')">
|
||||||
@@ -365,7 +346,7 @@
|
|||||||
<div *ngIf="!currentLogCat.length">
|
<div *ngIf="!currentLogCat.length">
|
||||||
{{isStarted ? 'Waiting for messages...' : 'Click start to begin streaming logcat messages.'}}
|
{{isStarted ? 'Waiting for messages...' : 'Click start to begin streaming logcat messages.'}}
|
||||||
</div>
|
</div>
|
||||||
<!-- <virtual-scroller #scroll [items]="currentLogCat">-->
|
<!-- <virtual-scroller #scroll [items]="currentLogCat">-->
|
||||||
<div class="child-item" *ngFor="let logcat of currentLogCat">
|
<div class="child-item" *ngFor="let logcat of currentLogCat">
|
||||||
<div class="row no-margin">
|
<div class="row no-margin">
|
||||||
<div class="col s2 logcat-smaller green-text no-padding">{{logcat.date}}: {{priorities[logcat.priority]}}</div>
|
<div class="col s2 logcat-smaller green-text no-padding">{{logcat.date}}: {{priorities[logcat.priority]}}</div>
|
||||||
@@ -375,7 +356,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- </virtual-scroller>-->
|
<!-- </virtual-scroller>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</mz-modal-content>
|
</mz-modal-content>
|
||||||
@@ -586,7 +567,7 @@
|
|||||||
</mz-modal-content>
|
</mz-modal-content>
|
||||||
<mz-modal-footer>
|
<mz-modal-footer>
|
||||||
<div class="left margin-left"><br>Put your headset on before clicking Start Stream</div>
|
<div class="left margin-left"><br>Put your headset on before clicking Start Stream</div>
|
||||||
<button mz-button class="pink-button" mz-modal-close (click)="runscrcpy()">Start Stream</button>
|
<button mz-button class="pink-button margin-right" mz-modal-close (click)="runscrcpy()">Start Stream</button>
|
||||||
<button mz-button class="pink-button margin-right" mz-modal-close (click)="appService.opn('https://www.oculus.com/casting')">Oculus Casting</button>
|
<button mz-button class="pink-button margin-right" mz-modal-close (click)="appService.opn('https://www.oculus.com/casting')">Oculus Casting</button>
|
||||||
<button mz-button [flat]="true" mz-modal-close>Close</button>
|
<button mz-button [flat]="true" mz-modal-close>Close</button>
|
||||||
</mz-modal-footer>
|
</mz-modal-footer>
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ virtual-scroller{
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
border-bottom: 1px solid #8f8f8f;
|
border-bottom: 1px solid #8f8f8f;
|
||||||
transition: 0.35s;
|
transition: 0.35s;
|
||||||
|
margin-top: 35px;
|
||||||
}
|
}
|
||||||
.spider-image{
|
.spider-image{
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
@@ -416,6 +417,11 @@ virtual-scroller{
|
|||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.top-bar{
|
||||||
|
position: fixed;
|
||||||
|
z-index: 99999;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.warning {
|
.warning {
|
||||||
height: 35px;
|
height: 35px;
|
||||||
|
|||||||
Reference in New Issue
Block a user