-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from ScienceForChange/develop
Polylines
- Loading branch information
Showing
10 changed files
with
526 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"i18n-ally.localesPaths": ["src/assets/i18n"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 16 additions & 10 deletions
26
src/app/modules/overview/components/bar-chart/bar-chart.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
<section class="card"> | ||
<form [formGroup]="filtersForm" class="flex flex-column p-1 pt-4 gap-2"> | ||
<p-calendar | ||
formControlName="daysFilter" | ||
[showIcon]="true" | ||
dateFormat="dd-mm-yy" | ||
[panelStyleClass]="'card p-0'" | ||
[selectionMode]="'range'" | ||
[maxDate]="today" | ||
/> | ||
</form> | ||
<div class="flex gap-3 align-items-center p-1 pt-4"> | ||
<form [formGroup]="filtersForm" class="flex flex-column gap-2"> | ||
<p-calendar | ||
formControlName="daysFilter" | ||
[showIcon]="true" | ||
dateFormat="dd-mm-yy" | ||
[panelStyleClass]="'card p-0'" | ||
[selectionMode]="'range'" | ||
[maxDate]="today" | ||
/> | ||
</form> | ||
<p-button label="Setmanes" [disabled]="timeFilterSelected === timesFilter.WEEK" (onClick)="timeFilter(timesFilter.WEEK)" /> | ||
<p-button label="Mesos" [disabled]="timeFilterSelected === timesFilter.MONTH" (onClick)="timeFilter(timesFilter.MONTH)" /> | ||
<p-button label="Anys" [disabled]="timeFilterSelected === timesFilter.YEAR" (onClick)="timeFilter(timesFilter.YEAR)" /> | ||
<p-button icon="pi pi-times" [disabled]="timeFilterSelected === timesFilter.DELETE" (onClick)="timeFilter(timesFilter.DELETE)" /> | ||
</div> | ||
|
||
<div id="bar-chart-container"></div> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.