mirror of
https://github.com/bitwarden/web
synced 2026-01-01 08:03:13 +00:00
create and update premium license for self host
This commit is contained in:
14
src/app/settings/update-license.component.html
Normal file
14
src/app/settings/update-license.component.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<form #form (ngSubmit)="submit()" [appApiAction]="formPromise" ngNativeValidate>
|
||||
<div class="form-group">
|
||||
<label for="file">{{'licenseFile' | i18n}}</label>
|
||||
<input type="file" id="file" class="form-control-file" name="file" required>
|
||||
<small class="form-text text-muted">{{'licenseFileDesc' | i18n : (user ? 'bitwarden_premium_license.json' : 'bitwarden_organization_license.json')}}</small>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary btn-submit" [disabled]="form.loading">
|
||||
<i class="fa fa-spinner fa-spin"></i>
|
||||
<span>{{'submit' | i18n}}</span>
|
||||
</button>
|
||||
<button type="button" class="btn btn-outline-secondary" (click)="cancel()" *ngIf="!create">
|
||||
{{'cancel' | i18n}}
|
||||
</button>
|
||||
</form>
|
||||
Reference in New Issue
Block a user