1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00

Fixing sharing login UI #281

This commit is contained in:
Patrik J. Braun 2023-01-11 18:49:32 +01:00
parent 1290a57bfe
commit d750e7e007

View File

@ -11,12 +11,8 @@
<div class="error-message" [hidden]="loginError==false" i18n>Wrong password</div> <div class="error-message" [hidden]="loginError==false" i18n>Wrong password</div>
<div class="mb-3">
<label class="sr-only" for="password">Password</label>
<div class="input-group mb-3"> <div class="input-group mb-3">
<div class="input-group-prepend">
<div class="input-group-text"><span class="oi oi-lock-locked"></span></div> <div class="input-group-text"><span class="oi oi-lock-locked"></span></div>
</div>
<input type="password" <input type="password"
i18n-placeholder i18n-placeholder
class="form-control" class="form-control"
@ -24,22 +20,19 @@
id="password" id="password"
placeholder="Password" placeholder="Password"
autocomplete="login-password" autocomplete="login-password"
autocorrect="off"
autocapitalize="none"
[(ngModel)]="password" [(ngModel)]="password"
required> required>
</div> </div>
</div>
<div class="col-sm-12 controls d-grid gap-2">
<div class="mb-3"> <button class="btn btn-primary btn-lg"
<!-- Button -->
<div class="col-sm-12 controls">
<button class="btn btn-primary btn-lg btn-block"
[disabled]="!LoginForm.form.valid" [disabled]="!LoginForm.form.valid"
type="submit" type="submit"
name="action" i18n>Enter name="action" i18n>Enter
</button> </button>
</div> </div>
</div>
</form> </form>
</div> </div>