diff options
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index c568a43b4..0fe2aa203 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html | |||
@@ -2,6 +2,41 @@ | |||
2 | 2 | ||
3 | <form role="form" (ngSubmit)="formValidated()" [formGroup]="form"> | 3 | <form role="form" (ngSubmit)="formValidated()" [formGroup]="form"> |
4 | 4 | ||
5 | <div class="inner-form-title">Instance</div> | ||
6 | |||
7 | <div class="form-group"> | ||
8 | <label for="instanceName">Name</label> | ||
9 | <input | ||
10 | type="text" id="instanceName" | ||
11 | formControlName="instanceName" [ngClass]="{ 'input-error': formErrors['instanceName'] }" | ||
12 | > | ||
13 | <div *ngIf="formErrors.instanceName" class="form-error"> | ||
14 | {{ formErrors.instanceName }} | ||
15 | </div> | ||
16 | </div> | ||
17 | |||
18 | <div class="form-group"> | ||
19 | <label for="instanceDescription">Description (markdown)</label> | ||
20 | <my-markdown-textarea | ||
21 | id="instanceDescription" formControlName="instanceDescription" textareaWidth="500px" [previewColumn]="true" | ||
22 | [classes]="{ 'input-error': formErrors['instanceDescription'] }" | ||
23 | ></my-markdown-textarea> | ||
24 | <div *ngIf="formErrors.instanceDescription" class="form-error"> | ||
25 | {{ formErrors.instanceDescription }} | ||
26 | </div> | ||
27 | </div> | ||
28 | |||
29 | <div class="form-group"> | ||
30 | <label for="instanceTerms">Terms (markdown)</label> | ||
31 | <my-markdown-textarea | ||
32 | id="instanceTerms" formControlName="instanceTerms" textareaWidth="500px" [previewColumn]="true" | ||
33 | [ngClass]="{ 'input-error': formErrors['instanceTerms'] }" | ||
34 | ></my-markdown-textarea> | ||
35 | <div *ngIf="formErrors.instanceTerms" class="form-error"> | ||
36 | {{ formErrors.instanceTerms }} | ||
37 | </div> | ||
38 | </div> | ||
39 | |||
5 | <div class="inner-form-title">Cache</div> | 40 | <div class="inner-form-title">Cache</div> |
6 | 41 | ||
7 | <div class="form-group"> | 42 | <div class="form-group"> |