From b16ef3c621649849127e5c2f17554c619282d49f Mon Sep 17 00:00:00 2001
From: Matt Hill
Date: Fri, 2 Jul 2021 13:56:34 -0600
Subject: [PATCH] more styling
---
ui/src/app/app.component.html | 2 +-
ui/src/app/app.component.scss | 2 +-
ui/src/app/app.component.ts | 10 +-
.../badge-menu.component.scss | 11 +-
.../object-config.component.scss | 6 -
.../app-config-value.page.html | 6 +-
.../app-interfaces/app-interfaces.page.html | 76 +++++++------
.../apps-routes/app-list/app-list.page.html | 4 +-
.../apps-routes/app-list/app-list.page.scss | 12 +-
.../apps-routes/app-logs/app-logs.page.html | 2 +-
.../app-properties/app-properties.page.html | 20 ++--
.../app-restore/app-restore.page.html | 85 +++++++-------
.../apps-routes/app-show/app-show.page.html | 37 +++---
.../apps-routes/app-show/app-show.page.scss | 23 +---
.../apps-routes/app-show/app-show.page.ts | 4 +-
.../app-release-notes.page.html | 2 +-
.../app-release-notes.page.ts | 6 +-
.../marketplace-show.page.html | 105 ++++++++++++++++--
.../marketplace-show.page.scss | 8 +-
.../marketplace-routes/marketplace.service.ts | 1 +
.../notifications/notifications.page.html | 2 +-
.../pages/notifications/notifications.page.ts | 4 +
.../dev-ssh-keys/dev-ssh-keys.page.html | 2 +-
.../app/pages/server-routes/lan/lan.page.html | 4 +-
.../app/pages/server-routes/lan/lan.page.scss | 3 -
.../server-backup/server-backup.page.html | 80 ++++++-------
.../server-logs/server-logs.page.html | 2 +-
.../server-specs/server-specs.page.html | 4 +-
.../pages/server-routes/wifi/wifi.page.html | 2 +-
ui/src/app/services/api/mock-app-fixures.ts | 32 +++---
ui/src/global.scss | 26 +++--
ui/src/theme/variables.scss | 2 -
32 files changed, 314 insertions(+), 271 deletions(-)
diff --git a/ui/src/app/app.component.html b/ui/src/app/app.component.html
index f40fa527b..c51219840 100644
--- a/ui/src/app/app.component.html
+++ b/ui/src/app/app.component.html
@@ -3,7 +3,7 @@
- {{ serverName }}
+ Menu
diff --git a/ui/src/app/app.component.scss b/ui/src/app/app.component.scss
index e3d6ad8bc..ae0a824eb 100644
--- a/ui/src/app/app.component.scss
+++ b/ui/src/app/app.component.scss
@@ -1,5 +1,5 @@
.selected {
- --background: linear-gradient(120deg, #1e1e1e -1%, var(--ion-color-start9) 100%);
+ --background: linear-gradient(120deg, #1e1e1e -1%, var(--ion-color-danger) 100%);
}
.menu-style {
diff --git a/ui/src/app/app.component.ts b/ui/src/app/app.component.ts
index 482107643..bb9e718c9 100644
--- a/ui/src/app/app.component.ts
+++ b/ui/src/app/app.component.ts
@@ -113,12 +113,8 @@ export class AppComponent {
}
watchPatch (): void {
- combineLatest([
- this.patch.watch$('ui', 'server-name'),
- this.patch.watch$('server-info', 'unread-notification-count'),
- ])
- .subscribe(([name, unread]) => {
- this.serverName = name
+ this.patch.watch$('server-info', 'unread-notification-count')
+ .subscribe(unread => {
this.unreadCount = unread
})
}
@@ -233,7 +229,7 @@ export class AppComponent {
side: 'end',
text: 'View',
handler: () => {
- this.router.navigate(['/notifications'])
+ this.router.navigate(['/notifications'], { queryParams: { toast: true } })
},
},
],
diff --git a/ui/src/app/components/badge-menu-button/badge-menu.component.scss b/ui/src/app/components/badge-menu-button/badge-menu.component.scss
index 74b1d1001..32955e4a6 100644
--- a/ui/src/app/components/badge-menu-button/badge-menu.component.scss
+++ b/ui/src/app/components/badge-menu-button/badge-menu.component.scss
@@ -1,14 +1,5 @@
-// .ios-badge {
-// background-color: var(--ion-color-start9);
-// position: absolute;
-// top: 1px;
-// left: 62%;
-// border-radius: 5px;
-// z-index: 1;
-// }
-
.md-badge {
- background-color: var(--ion-color-start9);
+ background-color: var(--ion-color-danger);
position: absolute;
top: -8px;
left: 56%;
diff --git a/ui/src/app/components/object-config/object-config.component.scss b/ui/src/app/components/object-config/object-config.component.scss
index 97beee453..62a262f47 100644
--- a/ui/src/app/components/object-config/object-config.component.scss
+++ b/ui/src/app/components/object-config/object-config.component.scss
@@ -2,12 +2,6 @@
margin: 0 16px;
}
-.help-button {
- position: relative;
- bottom: 7px;
- right: 9px;
-}
-
.new-tag {
padding: 0px 5px;
font-weight: bold;
diff --git a/ui/src/app/modals/app-config-value/app-config-value.page.html b/ui/src/app/modals/app-config-value/app-config-value.page.html
index 182c29ac0..8c2d95fb4 100644
--- a/ui/src/app/modals/app-config-value/app-config-value.page.html
+++ b/ui/src/app/modals/app-config-value/app-config-value.page.html
@@ -9,7 +9,7 @@
{{ spec.name }}
-
+
Save
@@ -22,7 +22,7 @@
-
+
@@ -73,7 +73,7 @@
- Default: {{ defaultDescription }}
+ Default: {{ defaultDescription }}
Units: {{ spec.units }}
diff --git a/ui/src/app/pages/apps-routes/app-interfaces/app-interfaces.page.html b/ui/src/app/pages/apps-routes/app-interfaces/app-interfaces.page.html
index b239172f3..a98d84ab4 100644
--- a/ui/src/app/pages/apps-routes/app-interfaces/app-interfaces.page.html
+++ b/ui/src/app/pages/apps-routes/app-interfaces/app-interfaces.page.html
@@ -7,41 +7,43 @@
-
-
-
-
-
-
- {{ interface.value.name }}
-
-
-
-
- {{ interface.value.description }}
-
-
-
-
-
- Tor Address
- {{ 'http://' + int['tor-address'] }}
-
-
-
-
-
-
-
- LAN Address
- {{ 'https://' + int['lan-address'] }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+ {{ interface.value.name }}
+ {{ interface.value.description }}
+
+ Launch
+
+
+
+
+
+
+
+ Tor Address
+ {{ 'http://' + int['tor-address'] }}
+
+
+
+
+
+
+
+ LAN Address
+ {{ 'https://' + int['lan-address'] }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/ui/src/app/pages/apps-routes/app-list/app-list.page.html b/ui/src/app/pages/apps-routes/app-list/app-list.page.html
index e0d3ba3c7..f3e50d01b 100644
--- a/ui/src/app/pages/apps-routes/app-list/app-list.page.html
+++ b/ui/src/app/pages/apps-routes/app-list/app-list.page.html
@@ -11,7 +11,7 @@
-
Welcome to your Embassy
+
Welcome to your Embassy
Get started by installing your first service.
@@ -24,7 +24,7 @@
-
+