|
10 | 10 | <form [formGroup]="session_filter_form"> |
11 | 11 | <div [class]="filterExpanded ? 'filters col-12 filterExpand':'filters col-12 filterCollapse'"> |
12 | 12 | <div class="session-field-filters form-section"> |
13 | | - |
14 | | - <mat-form-field class="short"> |
15 | | - <label for="">Session Number</label> |
16 | | - <input matInput type="text" name="session" formControlName="session_control" [matAutocomplete]="auto2" |
17 | | - (focus)="stepBackMenu($event)"> |
18 | | - <mat-autocomplete #auto2="matAutocomplete"> |
19 | | - <mat-option *ngFor="let sessionId of filteredSessionOptions | async" [value]="sessionId" |
20 | | - (click)="updateMenu()">{{ sessionId }}</mat-option> |
21 | | - </mat-autocomplete> |
22 | | - </mat-form-field> |
23 | | - |
24 | 13 | <mat-form-field> |
25 | 14 | <label>Mouse ID</label> |
26 | 15 | <input matInput type="text" name="subject_id" formControlName="subject_id_control" [matAutocomplete]="autoCompSN" |
|
31 | 20 | </mat-autocomplete> |
32 | 21 | </mat-form-field> |
33 | 22 |
|
| 23 | + |
| 24 | + |
| 25 | + <mat-form-field> |
| 26 | + <label>Water Restriction</label> |
| 27 | + <input matInput type="text" name="water_restriction_number" formControlName="water_restriction_number_control" |
| 28 | + [matAutocomplete]="autoCompSL" (focus)="stepBackMenu($event)"> |
| 29 | + <mat-autocomplete #autoCompSL="matAutocomplete"> |
| 30 | + <mat-option *ngFor="let wrNum of filteredWaterRestrictionNumberOptions | async" [value]="wrNum" |
| 31 | + (click)="updateMenu()"> |
| 32 | + {{ wrNum }}</mat-option> |
| 33 | + </mat-autocomplete> |
| 34 | + </mat-form-field> |
| 35 | + |
| 36 | + <mat-form-field class="short"> |
| 37 | + <label for="">Session Number</label> |
| 38 | + <input matInput type="text" name="session" formControlName="session_control" [matAutocomplete]="auto2" |
| 39 | + (focus)="stepBackMenu($event)"> |
| 40 | + <mat-autocomplete #auto2="matAutocomplete"> |
| 41 | + <mat-option *ngFor="let sessionId of filteredSessionOptions | async" [value]="sessionId" (click)="updateMenu()"> |
| 42 | + {{ sessionId }}</mat-option> |
| 43 | + </mat-autocomplete> |
| 44 | + </mat-form-field> |
| 45 | + |
34 | 46 | <div class="session-date-filter"> |
35 | 47 | <div class="date-range-toggler"> |
36 | 48 | <label for="dateRangeToggler">Session Start Date</label> |
|
69 | 81 |
|
70 | 82 | </div> |
71 | 83 | <div class="mouse-field-filters form-section"> |
| 84 | + <mat-form-field> |
| 85 | + <label>User</label> |
| 86 | + <input matInput type="text" name="username" formControlName="username_control" [matAutocomplete]="autoCompRU" |
| 87 | + (focus)="stepBackMenu($event)"> |
| 88 | + <mat-autocomplete #autoCompRU="matAutocomplete"> |
| 89 | + <mat-option *ngFor="let username of filteredUsernameOptions | async" [value]="username" (click)="updateMenu()"> |
| 90 | + {{ username }}</mat-option> |
| 91 | + </mat-autocomplete> |
| 92 | + </mat-form-field> |
72 | 93 |
|
73 | 94 | <mat-form-field class="short"> |
74 | 95 | <label>Probe Count</label> |
@@ -119,25 +140,7 @@ <h4> |
119 | 140 | </mat-checkbox> |
120 | 141 | </div> |
121 | 142 | </div> --> |
122 | | - <mat-form-field> |
123 | | - <label>Water Restriction</label> |
124 | | - <input matInput type="text" name="water_restriction_number" formControlName="water_restriction_number_control" [matAutocomplete]="autoCompSL" |
125 | | - (focus)="stepBackMenu($event)"> |
126 | | - <mat-autocomplete #autoCompSL="matAutocomplete"> |
127 | | - <mat-option *ngFor="let wrNum of filteredWaterRestrictionNumberOptions | async" [value]="wrNum" (click)="updateMenu()"> |
128 | | - {{ wrNum }}</mat-option> |
129 | | - </mat-autocomplete> |
130 | | - </mat-form-field> |
131 | | - <mat-form-field> |
132 | | - <label>User</label> |
133 | | - <input matInput type="text" name="username" formControlName="username_control" [matAutocomplete]="autoCompRU" |
134 | | - (focus)="stepBackMenu($event)"> |
135 | | - <mat-autocomplete #autoCompRU="matAutocomplete"> |
136 | | - <mat-option *ngFor="let username of filteredUsernameOptions | async" [value]="username" (click)="updateMenu()"> |
137 | | - {{ username }}</mat-option> |
138 | | - </mat-autocomplete> |
139 | | - </mat-form-field> |
140 | | - |
| 143 | + |
141 | 144 | </div> |
142 | 145 | </div> |
143 | 146 | <br> |
|
0 commit comments