@@ -192,9 +192,18 @@ <h2>Nothing to show</h2>
192192 </ div >
193193 </ ng-template >
194194 </ div >
195- < div id ="chart " class ="heatmapClass ">
196- < div class ="right-panel ">
197- < div class ="team-filter ">
195+ < div class ="heatmapClass ">
196+ < div id ="chart " class ="heatmapChart "> </ div >
197+ < div class ="filter-container ">
198+ < button
199+ class ="filter-toggle "
200+ mat-button
201+ color ="primary "
202+ (click) ="toggleFilters() ">
203+ < mat-icon [class.hidden] ="!showFilters "> keyboard_arrow_up</ mat-icon >
204+ < mat-icon [class.hidden] ="showFilters "> filter_alt</ mat-icon >
205+ </ button >
206+ < div class ="team-filter " [class.hidden] ="!showFilters ">
198207 < mat-form-field class ="team-chip-list ">
199208 < mat-label > Team Group Filter</ mat-label >
200209 < mat-chip-list selectable >
@@ -225,68 +234,69 @@ <h2>Nothing to show</h2>
225234 </ mat-chip-list >
226235 </ mat-form-field >
227236 </ div >
228- < mat-card class ="example-card " *ngIf ="showActivityCard ">
229- < mat-card-title-group >
230- < mat-card-title > {{ cardHeader }}</ mat-card-title >
231- < mat-card-subtitle > {{ cardSubheader }}</ mat-card-subtitle >
232- </ mat-card-title-group >
233- < mat-card-content
234- *ngFor ="let activity of activityData; index as activityIndex ">
235- < mat-expansion-panel >
236- < mat-expansion-panel-header >
237- < mat-panel-title >
238- < button
239- class ="title-button "
237+ </ div >
238+ < mat-card class ="example-card " *ngIf ="showActivityCard ">
239+ < mat-card-title-group >
240+ < mat-card-title > {{ cardHeader }}</ mat-card-title >
241+ < mat-card-subtitle > {{ cardSubheader }}</ mat-card-subtitle >
242+ </ mat-card-title-group >
243+ < mat-card-content
244+ *ngFor ="let activity of activityData; index as activityIndex ">
245+ < mat-expansion-panel >
246+ < mat-expansion-panel-header >
247+ < mat-panel-title >
248+ < button
249+ class ="title-button "
250+ (click) ="
251+ $event.preventDefault();
252+ openActivityDetails(
253+ currentDimension,
254+ cardHeader,
255+ activity['activityName']
256+ )
257+ ">
258+ {{ activity['activityName'] }}
259+ </ button >
260+ </ mat-panel-title >
261+ </ mat-expansion-panel-header >
262+ < ng-template matExpansionPanelContent >
263+ < ul class ="team-list ">
264+ < li *ngFor ="let teamname of teamVisible ">
265+ < mat-checkbox
266+ [checked] ="activity.teamsImplemented[teamname] "
267+ color ="primary "
240268 (click) ="
241- $event.preventDefault();
242- openActivityDetails(
243- currentDimension,
244- cardHeader,
245- activity['activityName']
246- )
269+ this.teamCheckbox(activityIndex, teamname);
270+ $event.preventDefault()
247271 ">
248- {{ activity['activityName'] }}
249- </ button >
250- </ mat-panel-title >
251- </ mat-expansion-panel-header >
252- < ng-template matExpansionPanelContent >
253- < ul class ="team-list ">
254- < li *ngFor ="let teamname of teamVisible ">
255- < mat-checkbox
256- [checked] ="activity.teamsImplemented[teamname] "
257- color ="primary "
258- (click) ="
259- this.teamCheckbox(activityIndex, teamname);
260- $event.preventDefault()
261- ">
262- {{ teamname }}
263- </ mat-checkbox >
264- </ li >
265- </ ul >
266- < b *ngIf ="teamVisible.length === 0 ">
267- No Teams Selected, Please select a team from the filters
268- above.
269- </ b >
270- </ ng-template >
271- </ mat-expansion-panel >
272- </ mat-card-content >
273- </ mat-card >
272+ {{ teamname }}
273+ </ mat-checkbox >
274+ </ li >
275+ </ ul >
276+ < b *ngIf ="teamVisible.length === 0 ">
277+ No Teams Selected, Please select a team from the filters
278+ above.
279+ </ b >
280+ </ ng-template >
281+ </ mat-expansion-panel >
282+ </ mat-card-content >
283+ </ mat-card >
284+ < div class ="footer-buttons ">
285+ < button
286+ class ="normal-button "
287+ mat-raised-button
288+ class ="downloadButtonClass "
289+ (click) ="saveEditedYAMLfile() ">
290+ Download edited YAML file
291+ </ button >
292+ < button
293+ class ="normal-button "
294+ mat-raised-button
295+ class ="resetButtonClass "
296+ (click) ="deleteLocalTeamsProgress() ">
297+ Reset Implemented
298+ </ button >
274299 </ div >
275-
276- < button
277- class ="normal-button "
278- mat-raised-button
279- class ="downloadButtonClass "
280- (click) ="saveEditedYAMLfile() ">
281- Download edited YAML file
282- </ button >
283- < button
284- class ="normal-button "
285- mat-raised-button
286- class ="resetButtonClass "
287- (click) ="deleteLocalTeamsProgress() ">
288- Delete team progress
289- </ button >
290300 </ div >
291301 </ div >
292302 < div class ="col-md-3 "> </ div >
0 commit comments