Conectar dialog by kind of source; plain-language canvas; login page and guard; loading indicators as the old app; survival curves of her clinical scenarios in the CaMa record
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<section class="login" aria-labelledby="login-title">
|
||||
<div class="box">
|
||||
<img class="logo" src="assets/branding/isssteleon-logo.png" alt="ISSSTELEON" />
|
||||
<h1 class="title" id="login-title">Inicio de sesión</h1>
|
||||
<form class="form" (ngSubmit)="enter()" novalidate>
|
||||
<mat-form-field appearance="outline" class="field" subscriptSizing="dynamic">
|
||||
<input
|
||||
matInput
|
||||
name="email"
|
||||
[(ngModel)]="email"
|
||||
placeholder="Usuario"
|
||||
aria-label="Usuario"
|
||||
autocomplete="username"
|
||||
autocapitalize="none"
|
||||
spellcheck="false"
|
||||
/>
|
||||
</mat-form-field>
|
||||
<mat-form-field appearance="outline" class="field" subscriptSizing="dynamic">
|
||||
<input
|
||||
matInput
|
||||
name="password"
|
||||
[(ngModel)]="password"
|
||||
[type]="show() ? 'text' : 'password'"
|
||||
placeholder="Contraseña"
|
||||
aria-label="Contraseña"
|
||||
autocomplete="current-password"
|
||||
/>
|
||||
<button
|
||||
mat-icon-button
|
||||
matSuffix
|
||||
type="button"
|
||||
class="eye"
|
||||
(click)="show.set(!show())"
|
||||
[attr.aria-label]="show() ? 'Ocultar contraseña' : 'Mostrar contraseña'"
|
||||
[attr.aria-pressed]="show()"
|
||||
>
|
||||
<mat-icon>{{ show() ? 'visibility_off' : 'visibility' }}</mat-icon>
|
||||
</button>
|
||||
</mat-form-field>
|
||||
@if (error(); as message) {
|
||||
<p class="error" role="alert">{{ message }}</p>
|
||||
}
|
||||
<button type="submit" class="enter" [disabled]="!email.trim() || !password || sending()">
|
||||
{{ sending() ? 'Ingresando…' : 'Ingresar' }}
|
||||
</button>
|
||||
</form>
|
||||
<p class="legal">©{{ year }} Todos los derechos reservados.</p>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user