Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | 1x 1x 1x 1x 1x 1x 3x 3x 1x 1x 3x 1x 1x 3x 1x 1x 3x 3x 1x 1x 1x 1x | <ng-container *mobxAutorun>
<div class="tabs">
<a class="logo" routerLink="/"></a>
<h5 class="fake-link" routerLink="." i18n>Edit Tag</h5>
<app-settings></app-settings>
</div>
@if (!store.view.ext) {
<form class="form" [formGroup]="extForm" (ngSubmit)="create()">
<label for="tag"></label>
<div class="form-array">
<app-select-template [(template)]="template"></app-select-template>
<input id="tag"
name="tag"
i18n-placeholder
placeholder="Extend Tag..."
class="big"
type="email"
autocorrect="off"
autocapitalize="none"
formControlName="tag"
(blur)="validate($any($event.target))">
</div>
@for (e of serverError; track e) {
<span><!-- Unexpected Error --></span>
<div class="error">{{ e }}</div>
}
<span><!-- Buttons --></span>
<span class="buttons right">
@if (creating) {
<app-loading [inline]="true"></app-loading>
}
<button type="submit" [disabled]="creating || submitted && !extForm.valid" i18n>Extend</button>
</span>
</form>
} @else if (editForm) {
<form class="form"
[formGroup]="editForm"
(ngSubmit)="save()"
[appLimitWidth]="form?.fillPopover?.nativeElement || form?.fillSidebar?.nativeElement"
[limitSibling]="true">
<app-ext-form #form
[group]="editForm"
[showClear]="true"
(clear)="clear()"></app-ext-form>
@for (e of serverError; track e) {
<span><!-- Unexpected Error --></span>
<div class="error">{{ e }}</div>
}
<span><!-- Buttons --></span>
<span class="buttons right">
@if (overwritten) {
<div class="overwrite warning" i18n-title title="Will drop all unknown configs.">
<input id="overwrite" type="checkbox" [checked]="overwrite" (input)="overwrite = !overwrite">
<label for="overwrite" i18n>Overwrite</label>
</div>
}
@if (editing || deleting) {
<app-loading [inline]="true"></app-loading>
}
<button type="submit" [disabled]="editing || deleting || submitted && !editForm.valid" i18n>Save</button>
<button type="button" [disabled]="editing || deleting" (click)="delete()" i18n>Delete</button>
</span>
</form>
}
</ng-container>
|