rename folders

This commit is contained in:
2024-10-06 18:27:40 +02:00
parent 59fcb493b8
commit 8482770998
146 changed files with 0 additions and 3092 deletions
@@ -0,0 +1,54 @@
<div class="container">
<div class="flex column fill center middle">
<form action="{{apiUrl}}/login" method="POST" #loginForm class="box">
<mat-card>
<mat-card-content>
<img class="logo" src="assets/images/banner.png">
<h2>{{'login.internal' | i18n}}</h2>
<mat-error *ngIf="loginInvalid">
{{'login.invalid' | i18n}}
</mat-error>
<mat-form-field>
<mat-label>{{'login.username' | i18n}}</mat-label>
<input id="username" name="username" matInput required matAutofocus [value]="username">
<mat-error>
{{'login.username.missing' | i18n}}
</mat-error>
</mat-form-field>
<mat-form-field>
<mat-label>{{'login.password' | i18n}}</mat-label>
<input id="password" name="password" matInput type="password" required>
<mat-error>
{{'login.password.invalid.hint' | i18n}}
</mat-error>
</mat-form-field>
<mat-slide-toggle (change)="rememberMe.value = '' + $event.checked">
{{'login.keepSession' | i18n}}
</mat-slide-toggle>
<input #rememberMe id="remember-me" name="remember-me" type="hidden">
</mat-card-content>
<mat-card-actions>
<button type="submit" (click)="loginForm.submit()" mat-raised-button color="primary"
[disabled]="loginForm.invalid"><mat-icon>open_in_new</mat-icon>{{'login' | i18n}}</button>
</mat-card-actions>
</mat-card>
</form>
<mat-card *ngIf="externals && externals.length > 0" class="box">
<mat-card-content>
<h2>{{'login.external' | i18n}}</h2>
<mat-error *ngIf="externalLoginInvalid">
{{'login.external.invalid' | i18n}}
</mat-error>
</mat-card-content>
<mat-card-actions class="flex wrap">
<a class="external-login" (click)="externalLogin(client)" *ngFor="let client of externals"
mat-raised-button color="accent">{{'login.external.client' | i18n:('login.provider.' + client.id |
i18n)}}</a>
<mat-slide-toggle [(ngModel)]="autologin">
{{'login.autologin' | i18n}}
</mat-slide-toggle>
</mat-card-actions>
</mat-card>
</div>
</div>