Spaces:
Running
Running
Update flare-ui/src/app/components/projects/projects.component.html
Browse files
flare-ui/src/app/components/projects/projects.component.html
CHANGED
@@ -4,21 +4,23 @@
|
|
4 |
<h2>Projects</h2>
|
5 |
</div>
|
6 |
<div class="toolbar-right">
|
7 |
-
<button
|
|
|
8 |
New Project
|
9 |
</button>
|
10 |
-
<button
|
|
|
11 |
Import Project
|
12 |
</button>
|
13 |
-
<mat-form-field class="search-field"
|
14 |
<mat-label>Search projects</mat-label>
|
15 |
-
<input matInput [(ngModel)]="searchTerm" (input)="filterProjects()"
|
16 |
<mat-icon matSuffix>search</mat-icon>
|
17 |
</mat-form-field>
|
18 |
<mat-checkbox [(ngModel)]="showDeleted" (change)="loadProjects()">
|
19 |
Display Deleted
|
20 |
</mat-checkbox>
|
21 |
-
<mat-button-toggle-group
|
22 |
<mat-button-toggle value="card">
|
23 |
<mat-icon>view_module</mat-icon>
|
24 |
</mat-button-toggle>
|
|
|
4 |
<h2>Projects</h2>
|
5 |
</div>
|
6 |
<div class="toolbar-right">
|
7 |
+
<button mat-raised-button color="primary" (click)="createProject()">
|
8 |
+
<mat-icon>add</mat-icon>
|
9 |
New Project
|
10 |
</button>
|
11 |
+
<button mat-button (click)="importProject()">
|
12 |
+
<mat-icon>upload</mat-icon>
|
13 |
Import Project
|
14 |
</button>
|
15 |
+
<mat-form-field appearance="outline" class="search-field">
|
16 |
<mat-label>Search projects</mat-label>
|
17 |
+
<input matInput [(ngModel)]="searchTerm" (input)="filterProjects()">
|
18 |
<mat-icon matSuffix>search</mat-icon>
|
19 |
</mat-form-field>
|
20 |
<mat-checkbox [(ngModel)]="showDeleted" (change)="loadProjects()">
|
21 |
Display Deleted
|
22 |
</mat-checkbox>
|
23 |
+
<mat-button-toggle-group [(ngModel)]="viewMode" class="view-toggle">
|
24 |
<mat-button-toggle value="card">
|
25 |
<mat-icon>view_module</mat-icon>
|
26 |
</mat-button-toggle>
|