1 <div class="container">
2 <div class="col-lg-6 offset-lg-3">
4 <legend class="mb-0" i18n>Sign In</legend>
6 <form (ngSubmit)="handleSubmit()" #loginForm="ngForm" class="form-validated">
8 <div class="form-group row">
9 <label class="col-lg-4 text-right font-weight-bold" for="username" i18n>Username</label>
12 class="form-control col-lg-8"
16 autocomplete="username"
18 placeholder="Username"
19 [(ngModel)]="args.username"/>
22 <div class="form-group row">
23 <label class="col-lg-4 text-right font-weight-bold" for="password" i18n>Password</label>
26 class="form-control col-lg-8"
30 autocomplete="current-password"
32 placeholder="Password"
33 [(ngModel)]="args.password"/>
36 <div class="form-group row" *ngIf="workstations && workstations.length">
37 <label class="col-lg-4 text-right font-weight-bold" for="workstation" i18n>Workstation</label>
39 class="form-control col-lg-8"
43 [(ngModel)]="args.workstation">
44 <option *ngFor="let ws of workstations" [value]="ws.name">
51 <div class="col-lg-8 offset-lg-4 pl-0">
52 <button type="submit" class="btn btn-outline-dark" i18n>Sign in</button>