|
|
@@ -1,26 +1,26 @@
|
|
|
-<h1>Events</h1>
|
|
|
-
|
|
|
-<form class="vertical-form" (ngSubmit)="search($event)">
|
|
|
- <div class="form-field form-field--full-width">
|
|
|
- <span class="p-float-label p-input-icon-left">
|
|
|
- <i class="pi pi-search"></i>
|
|
|
- <input type="text" pInputText
|
|
|
- id="titleFilter" name="titleFilter" [(ngModel)]="titleFilter">
|
|
|
- <label for="titleFilter">Search</label>
|
|
|
- </span>
|
|
|
- </div>
|
|
|
+<p-panel header="Search Tracks">
|
|
|
+ <form class="vertical-form" (ngSubmit)="search($event)">
|
|
|
+ <div class="form-field form-field--full-width">
|
|
|
+ <span class="p-float-label p-input-icon-left">
|
|
|
+ <i class="pi pi-search"></i>
|
|
|
+ <input type="text" pInputText
|
|
|
+ id="titleFilter" name="titleFilter" [(ngModel)]="titleFilter">
|
|
|
+ <label for="titleFilter">Search</label>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="form-field">
|
|
|
- <div class="field-checkbox">
|
|
|
- <p-checkbox label="Show MY events" [binary]="true"
|
|
|
- name="showMyEvents" [(ngModel)]="showMyEvents"></p-checkbox>
|
|
|
+ <div class="form-field">
|
|
|
+ <div class="field-checkbox">
|
|
|
+ <p-checkbox label="Show MY events" [binary]="true"
|
|
|
+ name="showMyEvents" [(ngModel)]="showMyEvents"></p-checkbox>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
|
|
|
- <div class="button-group">
|
|
|
- <button type="submit" pButton>Search</button>
|
|
|
- </div>
|
|
|
-</form>
|
|
|
+ <div class="button-group">
|
|
|
+ <button type="submit" pButton>Search</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+</p-panel>
|
|
|
|
|
|
<ul>
|
|
|
<li *ngFor="let event of groupEvents | async">{{ event.title }} <a [routerLink]="['/events/view', event.eventId]">View</a> <a [routerLink]="['/events/edit', event.eventId]">Edit</a></li>
|