2021-11-27 22:21:52 +08:00
|
|
|
<div class="ant-card width-lg" style="margin: 0 auto">
|
|
|
|
|
<div class="ant-card-body">
|
|
|
|
|
<div class="avatar">
|
|
|
|
|
<nz-avatar [nzSrc]="user.avatar" nzIcon="user" nzSize="large"></nz-avatar>
|
|
|
|
|
</div>
|
|
|
|
|
<form nz-form [formGroup]="f" (ngSubmit)="submit()" role="form" class="mt-md">
|
|
|
|
|
<nz-form-item>
|
|
|
|
|
<nz-form-control [nzErrorTip]="'validation.password.required' | i18n">
|
|
|
|
|
<nz-input-group nzSuffixIcon="lock">
|
2022-04-11 22:59:36 +08:00
|
|
|
<input type="text" nz-input formControlName="password" [placeholder]="'app.lock.placeholder' | i18n" />
|
2021-11-27 22:21:52 +08:00
|
|
|
</nz-input-group>
|
|
|
|
|
</nz-form-control>
|
|
|
|
|
</nz-form-item>
|
2022-04-11 22:59:36 +08:00
|
|
|
<nz-row nzAlign="middle">
|
2021-11-27 22:21:52 +08:00
|
|
|
<nz-col [nzOffset]="12" [nzSpan]="12" style="text-align: right">
|
|
|
|
|
<button nz-button [disabled]="!f.valid" nzType="primary">{{ 'app.lock' | i18n }}</button>
|
|
|
|
|
</nz-col>
|
|
|
|
|
</nz-row>
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|