mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
* feat: add widgets (#2034) * feat: add Taiga UI library (#1992) * feat: add widgets * update patchdb * right resizable sidebar with widgets * feat: add resizing directive * chore: remove unused code * chore: remove unnecessary dep * feat: `ResponsiveCol` add directive for responsive grid * feat: add widgets edit mode and dialogs * feat: add widgets model and modal * chore: fix import * chore: hide mobile widgets behind flag * chore: add dummy widgets * chore: start working on heath widget and implement other comments * feat: health widget * feat: add saving widgets and sidebar params to patch * feat: preemptive UI update for widgets * update health widget with more accurate states and styling (#2127) * feat: `ResponsiveCol` add directive for responsive grid * chore: some changes after merge Co-authored-by: Matt Hill <matthewonthemoon@gmail.com> Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com> * fix(shared): `ElasticContainer` fix collapsing margin (#2150) * fix(shared): `ElasticContainer` fix collapsing margin * fix toolbar height so titles not chopped --------- Co-authored-by: Matt Hill <matthewonthemoon@gmail.com> * feat: make widgets sidebar width togglable (#2146) * feat: make widgets sidebar width togglable * feat: move widgets under header * chore: fix wide layout * fix(shared): `ResponsiveCol` fix missing grid steps (#2153) * fix widget flag and refactor for non-persistence * default widget flag to false * fix(shared): fix responsive column size (#2159) * fix(shared): fix responsive column size * fix: add responsiveness to all pages * fix responsiveness on more pages * fix: comments * revert some padding changes --------- Co-authored-by: Lucy Cifferello <12953208+elvece@users.noreply.github.com> Co-authored-by: Matt Hill <matthewonthemoon@gmail.com> * chore: add analyzer (#2165) * fix list styling to previous default (#2173) * fix list styling to previous default * dont need important flag --------- Co-authored-by: Alex Inkin <alexander@inkin.ru> Co-authored-by: Lucy C <12953208+elvece@users.noreply.github.com>
96 lines
3.6 KiB
HTML
96 lines
3.6 KiB
HTML
<canvas #canvas>Your browser does not support the canvas element.</canvas>
|
|
<ion-content>
|
|
<ion-grid>
|
|
<ion-row class="ion-align-items-center">
|
|
<ion-col>
|
|
<!-- kiosk mode -->
|
|
<ng-container *ngIf="isKiosk; else notKiosk">
|
|
<ion-card>
|
|
<ion-row class="ion-align-items-center">
|
|
<ion-col responsiveCol sizeXs="12" class="ion-text-center">
|
|
<div class="inline" style="margin-bottom: 3rem">
|
|
<ion-icon
|
|
name="checkmark-circle-outline"
|
|
color="success"
|
|
></ion-icon>
|
|
<h1>Setup Complete!</h1>
|
|
</div>
|
|
<div class="card-container">
|
|
<ion-card id="exit" (click)="exitKiosk()">
|
|
<div class="container">
|
|
<div class="inline">
|
|
<p>Continue to login</p>
|
|
<ion-icon name="log-in-outline"></ion-icon>
|
|
</div>
|
|
</div>
|
|
</ion-card>
|
|
</div>
|
|
</ion-col>
|
|
</ion-row>
|
|
</ion-card>
|
|
</ng-container>
|
|
<!-- not kiosk -->
|
|
<ng-template #notKiosk>
|
|
<ion-card>
|
|
<ion-row class="ion-align-items-center">
|
|
<ion-col responsiveCol sizeXs="12" class="ion-text-center">
|
|
<div style="margin-bottom: 4rem">
|
|
<div class="inline">
|
|
<ion-icon
|
|
name="checkmark-circle-outline"
|
|
color="success"
|
|
></ion-icon>
|
|
<h1>Setup Complete!</h1>
|
|
</div>
|
|
<h3 *ngIf="setupType === 'restore'">
|
|
You can now safely unplug your backup drive
|
|
</h3>
|
|
<h3 *ngIf="setupType === 'transfer'">
|
|
You can now safely unplug your old Embassy drive
|
|
</h3>
|
|
</div>
|
|
<div class="card-container">
|
|
<ion-card id="information" (click)="download()">
|
|
<ion-card-content>
|
|
<ion-card-title
|
|
>Download permanent address info</ion-card-title
|
|
>
|
|
<p>
|
|
embassy.local was for setup purposes only. It will no
|
|
longer work.
|
|
</p>
|
|
</ion-card-content>
|
|
<ion-footer>
|
|
<div class="container">
|
|
<div class="inline">
|
|
<p>Download</p>
|
|
<ion-icon name="download-outline"></ion-icon>
|
|
</div>
|
|
</div>
|
|
</ion-footer>
|
|
</ion-card>
|
|
<ion-card
|
|
[disabled]="disableLogin"
|
|
id="launch"
|
|
href="{{ lanAddress }}"
|
|
target="_blank"
|
|
>
|
|
<div class="container">
|
|
<div class="inline">
|
|
<p>Go to Embassy login</p>
|
|
<ion-icon name="open-outline"></ion-icon>
|
|
</div>
|
|
</div>
|
|
</ion-card>
|
|
</div>
|
|
</ion-col>
|
|
</ion-row>
|
|
<!-- download elem -->
|
|
<download-doc hidden id="downloadable"></download-doc>
|
|
</ion-card>
|
|
</ng-template>
|
|
</ion-col>
|
|
</ion-row>
|
|
</ion-grid>
|
|
</ion-content>
|