-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathadmin-template-details.component.html
More file actions
62 lines (61 loc) · 1.55 KB
/
admin-template-details.component.html
File metadata and controls
62 lines (61 loc) · 1.55 KB
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
<!--
Copyright 2021 Carnegie Mellon University. All Rights Reserved.
Released under a MIT (SEI)-style license. See LICENSE.md in the project root for license information.
-->
<div class="d-flex flex-column">
<mat-form-field>
<mat-label>Name</mat-label>
<input
matInput
tabIndex="1"
name="name"
[(ngModel)]="appTemplate.name"
(change)="editAppTemplate()"
/>
</mat-form-field>
<mat-form-field>
<mat-label>URL</mat-label>
<input
matInput
tabIndex="2"
name="url"
[(ngModel)]="appTemplate.url"
(change)="editAppTemplate()"
/>
</mat-form-field>
<mat-form-field>
<mat-label>Icon Path</mat-label>
<input
matInput
tabIndex="3"
name="icon"
[(ngModel)]="appTemplate.icon"
(change)="editAppTemplate()"
/>
</mat-form-field>
<mat-form-field floatPlaceholder="always">
<input matInput class="hide" />
<mat-checkbox
tabIndex="4"
name="embeddable"
[(ngModel)]="appTemplate.embeddable"
(change)="editAppTemplate()"
>Embeddable</mat-checkbox
>
</mat-form-field>
<mat-form-field floatPlaceholder="always">
<input matInput class="hide" />
<mat-checkbox
tabIndex="5"
name="loadInBackground"
[(ngModel)]="appTemplate.loadInBackground"
(change)="editAppTemplate()"
>Load in background</mat-checkbox
>
</mat-form-field>
<div class="bottom-button">
<button mat-stroked-button (click)="deleteApplicationTemplate()">
Delete Application Template
</button>
</div>
</div>