From de72146f34388c8d09c4e70c09be1e3edbaf1ddc Mon Sep 17 00:00:00 2001 From: Shane Harris Date: Tue, 5 Jul 2022 13:49:43 +0200 Subject: [PATCH] fixed the menu to the top of the app --- .../src/app/header/header.component.html | 467 +++++++++--------- .../src/app/header/header.component.scss | 6 + 2 files changed, 230 insertions(+), 243 deletions(-) diff --git a/desktop-app/src/app/header/header.component.html b/desktop-app/src/app/header/header.component.html index 0900c89..af3b58b 100644 --- a/desktop-app/src/app/header/header.component.html +++ b/desktop-app/src/app/header/header.component.html @@ -1,14 +1,191 @@
+
+
+
+
+
+
+ +
+
+ +
[{{device.id}}] {{device.deviceName}}

+
+
+
+
+
inputCustom Command

+
editManage

+
tocLogcat

+ +
{{favourite.name}}

+
+
+
+
homeHome

+ +
publicGo to url

+
editManage

+
addAdd Current

+ +
{{favourite.name}}

+
+
+
+ + + +
+ live_tvStreaming
+
wifiWifi
+ + + + + + + + + + + + +
inputADB Commands
+ + + +
+ + + arrow_drop_down + + + arrow_back + + + public + +
+ + arrow_forward + + + live_tv + + + wifi + + + archive + + + folder + + + apps + + + playlist_add_check + {{processService.left_length>100?'99+':processService.left_length}} + {{processService.failed_length>100?'99+':processService.failed_length}} + + build + + + input + + + + + + + + + + + + + + + + + +
+
+ + arrow_drop_down + +
+
+
+
+
+
-
+
- -
@@ -18,211 +195,15 @@
- - - - -
Manage the apps on your headset.
Click Show All to see all apps including system apps.
Manage settings on your headset.
Manage tasks for installing,
downloading and uploading from your headset.
- - - - - - - - - -
-
-
-
- -
-
- -
[{{device.id}}] {{device.deviceName}}

-
-
-
- - - - - - -
-
inputCustom Command

-
editManage

-
tocLogcat

- -
{{favourite.name}}

-
-
-
-
homeHome

- -
publicGo to url

-
editManage

-
addAdd Current

- -
{{favourite.name}}

-
-
-
- - - -
- live_tvStreaming
-
wifiWifi
- - - - - - - - - - - - -
inputADB Commands
- - - -
- - - arrow_drop_down - - - arrow_back - - - public - -
- - arrow_forward - - - live_tv - - - wifi - - - archive - - - folder - - - apps - - - playlist_add_check - {{processService.left_length>100?'99+':processService.left_length}} - {{processService.failed_length>100?'99+':processService.failed_length}} - - build - - - input - - - - - - - - - - - - - - - - - -
-
- - arrow_drop_down - -
-
-
@@ -240,17 +221,17 @@
+ tooltip="Clear out the finished tasks." (click)="processService.clearDone()"> Clear Done
  
+ tooltip="Restart the failed tasks." (click)="processService.retryFailed()"> Retry Failed
  
+ tooltip="Clear out the failed tasks." (click)="processService.clearFailed()"> Clear Failed
   @@ -293,13 +274,13 @@
Custom Url
+ placeholder="Address" />
Open + (click)="webService.loadUrl(webService.currentAddress);" mz-modal-close>Open

@@ -322,8 +303,8 @@
Experimental



+ (click)="adbService.wifiEnabled=!adbService.wifiEnabled;adbService.toggleWifiMode()" position="bottom" + tooltip="Enable wireless mode. (Experimental)"> wifi
@@ -332,10 +313,10 @@
Device IP:
{{adbService.deviceIp}}
Connect + (click)="connectWifi()">Connect

Reset + (click)="adbCommandToRun = 'adb disconnect';runAdbCommand()">Reset
@@ -365,17 +346,17 @@
{{isStarted ? 'Waiting for messages...' : 'Click start to begin streaming logcat messages.'}}
- -
-
-
{{logcat.date}}: {{priorities[logcat.priority]}}
-
{{logcat.tid}}/{{logcat.pid}} {{logcat.tag}}
-
-
+ +
+
+
{{logcat.date}}: {{priorities[logcat.priority]}}
+
{{logcat.tid}}/{{logcat.pid}} {{logcat.tag}}
+
- +
+
@@ -416,14 +397,14 @@

If you think this has happened in error, please contact us on Discord with a link to the apk file.

We have protected you from:

- - Causing physical damage to your headset.
- - Having your personal information stolen ( including tracking your movments in VR )
- - Being banned from the Oculus platform.
- - Loosing access to developer/experimental mode on your headset.
- - Loosing access to your content library including paid games and apps.
- - Being banned from creating Oculus Accounts in the future.
- - Being reported to the police for illegal activites.
- - Starving poor developers to death.

+ - Causing physical damage to your headset.
+ - Having your personal information stolen ( including tracking your movments in VR )
+ - Being banned from the Oculus platform.
+ - Loosing access to developer/experimental mode on your headset.
+ - Loosing access to your content library including paid games and apps.
+ - Being banned from creating Oculus Accounts in the future.
+ - Being reported to the police for illegal activites.
+ - Starving poor developers to death.

You can click "Back to Safety" and the harmful content will not make it onto your device.

Thank you and have a great day! @@ -481,7 +462,7 @@

Stream Options

-
+
Always On Top
@@ -586,7 +567,7 @@

Put your headset on before clicking Start Stream
- +
@@ -600,19 +581,19 @@ Manage your favourites here. If you need to undo click RESET at the bottom. When you are done click SAVE.

-
Add New
-
-
- You cannot add any more. Please remove some first. -
-
-
-
-
-
add
-
-
+
Add New
+
+
+ You cannot add any more. Please remove some first. +
+
+
+
+
+
add
+
+
Name
{{favoritePathType}}
diff --git a/desktop-app/src/app/header/header.component.scss b/desktop-app/src/app/header/header.component.scss index 6b34df1..ee597af 100644 --- a/desktop-app/src/app/header/header.component.scss +++ b/desktop-app/src/app/header/header.component.scss @@ -89,6 +89,7 @@ virtual-scroller{ width: 100%; border-bottom: 1px solid #8f8f8f; transition: 0.35s; + margin-top: 35px; } .spider-image{ margin-top: 50px; @@ -416,6 +417,11 @@ virtual-scroller{ font-size: 1.8rem; } } +.top-bar{ + position: fixed; + z-index: 99999; + width: 100%; +} .warning { height: 35px;