mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
27 lines
831 B
HTML
27 lines
831 B
HTML
@if (config.isSecureContext()) {
|
|
<!-- Secure context -->
|
|
<div tuiCardLarge class="card">
|
|
<img alt="StartOS Icon" class="logo" src="assets/img/icon.png" />
|
|
<h1 class="header">{{ 'Login to StartOS' | i18n }}</h1>
|
|
<form (submit)="submit()">
|
|
<tui-textfield iconStart="@tui.key">
|
|
<label tuiLabel>{{ 'Password' | i18n }}</label>
|
|
<input
|
|
tuiAutoFocus
|
|
tuiInput
|
|
type="password"
|
|
[ngModelOptions]="{ standalone: true }"
|
|
[(ngModel)]="password"
|
|
(ngModelChange)="error = null"
|
|
/>
|
|
<tui-icon tuiPassword />
|
|
</tui-textfield>
|
|
<tui-error class="error" [error]="error || null" />
|
|
<button tuiButton class="button">{{ 'Login' | i18n }}</button>
|
|
</form>
|
|
</div>
|
|
} @else {
|
|
<!-- Insecure context -->
|
|
<ca-wizard />
|
|
}
|