diff --git a/frontend/projects/setup-wizard/src/app/services/api/mock-api.service.ts b/frontend/projects/setup-wizard/src/app/services/api/mock-api.service.ts index 3977c8824..51acf4e7b 100644 --- a/frontend/projects/setup-wizard/src/app/services/api/mock-api.service.ts +++ b/frontend/projects/setup-wizard/src/app/services/api/mock-api.service.ts @@ -56,14 +56,14 @@ export class MockApiService extends ApiService { await pauseFor(1000) return [ { - logicalname: 'abcd', - vendor: 'Samsung', - model: 'T5', + logicalname: '/dev/nvme0n1p3', + vendor: 'Unknown Vendor', + model: 'Samsung SSD - 970 EVO Plus 2TB', partitions: [ { logicalname: 'pabcd', label: null, - capacity: 73264762332, + capacity: 1979120929996, used: null, 'embassy-os': { version: '0.2.17', @@ -75,13 +75,13 @@ export class MockApiService extends ApiService { guid: null, }, ], - capacity: 123456789123, + capacity: 1979120929996, guid: 'uuid-uuid-uuid-uuid', }, { logicalname: 'dcba', - vendor: 'Crucial', - model: 'MX500', + vendor: 'CT1000MX', + model: '500SSD1', partitions: [ { logicalname: 'pbcba', @@ -98,13 +98,13 @@ export class MockApiService extends ApiService { guid: null, }, ], - capacity: 124456789123, + capacity: 1000190509056, guid: null, }, { - logicalname: 'wxyz', - vendor: 'SanDisk', - model: 'Specialness', + logicalname: '/dev/sda', + vendor: 'ASMT', + model: '2115', partitions: [ { logicalname: 'pbcba', @@ -121,7 +121,7 @@ export class MockApiService extends ApiService { guid: 'guid-guid-guid-guid', }, ], - capacity: 123459789123, + capacity: 1000190509056, guid: null, }, ] diff --git a/frontend/projects/ui/src/app/pages/login/login.page.html b/frontend/projects/ui/src/app/pages/login/login.page.html index 7022c5cb7..def298675 100644 --- a/frontend/projects/ui/src/app/pages/login/login.page.html +++ b/frontend/projects/ui/src/app/pages/login/login.page.html @@ -23,43 +23,51 @@

Http detected

- + + StartOS Icon - StartOS Login + Login to StartOS - -
- - + + +

+ {{ error }} +

-

- {{ error }} -

diff --git a/frontend/projects/ui/src/app/pages/login/login.page.scss b/frontend/projects/ui/src/app/pages/login/login.page.scss index d9c9ce375..690d97591 100644 --- a/frontend/projects/ui/src/app/pages/login/login.page.scss +++ b/frontend/projects/ui/src/app/pages/login/login.page.scss @@ -1,15 +1,5 @@ .content { - --background: #222428; -} - -.card { - background: #414141; -} - -.title { - margin: 24px 0 16px; - color: #e0e0e0; - font-size: 1.8rem; + --background: #333333; } .grid { @@ -23,12 +13,6 @@ text-align: center; } -.error { - display: block; - text-align: left; - padding-top: 4px; -} - .banner { position: absolute; padding: 20px; @@ -41,58 +25,52 @@ } } -.side-button { - --border-radius: 0 4px 4px 0; -} - -.login-item { - --border-style: solid; - --border-color: var(--ion-color-light); - --border-radius: 4px 0 0 4px; - box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), - 0 1px 5px 0 rgba(0, 0, 0, 0.12); - - .side-button { - --border-radius: 4px; - } -} - ion-card { - background: var(--ion-color-step-200); - box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25); - border-radius: 44px; + background: #414141; + box-shadow: 0 4px 4px rgba(17, 17, 17, 0.144); + border-radius: 35px; min-height: 16rem; + contain: unset; + overflow: unset; + position: relative; } -.login-button { - margin-inline-start: 0; - margin-inline-end: 0; - height: 49px; - font-size: larger; - font-weight: bold; +ion-item { + --background: transparent; + --border-radius: 0px; +} + +.title { + padding-top: 55px; + color: #e0e0e0; + font-size: 1.3rem; } -.form { - margin-bottom: 12px; - - * { - display: inline-block; - vertical-align: middle; +.header { + &-icon { + width: 100px; + position: absolute; + left: 50%; + margin-left: -50px; + top: -17%; + z-index: 100; } } +.login-button { + height: 45px; + width: 120px; + --border-radius: 50px; + margin: 0 auto; + margin-top: 27px; + margin-bottom: 10px; +} + .item-interactive { --highlight-background: #5260ff !important; } - -@media (max-width: 500px) { - .side-button { - --border-radius: 4px; - margin-top: 0.7rem; - } - - .login-item { - --border-radius: 4px; - } +.error { + display: block; + padding-top: 4px; } diff --git a/frontend/projects/ui/src/manifest.webmanifest b/frontend/projects/ui/src/manifest.webmanifest index 9971a98ab..a199ac1dd 100644 --- a/frontend/projects/ui/src/manifest.webmanifest +++ b/frontend/projects/ui/src/manifest.webmanifest @@ -5,8 +5,8 @@ "background_color": "#1e1e1e", "display": "standalone", "scope": ".", - "start_url": "/?version=0344", - "id": "/?version=0344", + "start_url": "/?version=035", + "id": "/?version=035", "icons": [ { "src": "assets/img/icon.png",