-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added site animations for multiple routes
- Loading branch information
Showing
6 changed files
with
114 additions
and
21 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
30 changes: 17 additions & 13 deletions
30
Front/kantor-angular/src/app/currency-detail/currency-detail.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,19 +1,23 @@ | ||
|
||
<div class="currency-detail-container"> | ||
<div class="currency-details"> | ||
<div class="header-container"> | ||
<h2>Informacje o walucie </h2> | ||
<h3>{{ currencyDetails.currency +' ' + currencyFlags[currencyDetails.code] }}</h3> | ||
<p>Kod waluty: {{ currencyDetails.code }}</p> | ||
<p>Cena (Mid): {{ currencyDetails.rates[0].mid + ' PLN'}}</p> | ||
|
||
<div class="currency-details"> | ||
<h3>Informacje o walucie <br> <b> {{ currencyDetails.currency +' ' + currencyFlags[currencyDetails.code] }}</b> </h3> | ||
<p>Kod waluty: {{ currencyDetails.code }}</p> | ||
<p>Cena (Mid): {{ currencyDetails.rates[0].mid + ' PLN'}}</p> | ||
<p> Wykres waluty z dni {{ formatDate(startDate) }} - {{ formatDate(endDate) }}</p> | ||
</div> | ||
<div class="chart-container"><canvas id="chart" width="80vw" height="60vh"></canvas></div> | ||
|
||
<p> Wykres waluty z dni {{ formatDate(startDate) }} - {{ formatDate(endDate) }}</p> | ||
<div class="chart-container"><canvas id="chart" width="80vw" height="60vh"></canvas></div> | ||
<div class="chart-buttons-container"> | ||
<button class="chart-buttons" (click)="changeDateRange(7)">1 T</button> | ||
<button class="chart-buttons" (click)="changeDateRange(14)">2 T</button> | ||
<button class="chart-buttons" (click)="changeDateRange(30)">1 M</button> | ||
<button class="chart-buttons" (click)="changeDateRange(90)">3 M</button> | ||
<button class="chart-buttons" (click)="changeDateRange(365)">1 R</button> | ||
</div> | ||
|
||
<div class="chart-buttons-container"> | ||
<button (click)="changeDateRange(7)">1 Tydzień</button> | ||
<button (click)="changeDateRange(14)">2 Tygodnie</button> | ||
<button (click)="changeDateRange(30)">1 Miesiąc</button> | ||
<button (click)="changeDateRange(90)">3 Miesiące</button> | ||
<button (click)="changeDateRange(365)">12 Miesięcy</button> | ||
</div> | ||
|
||
</div> |
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
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