Skip to content
This repository has been archived by the owner on May 9, 2023. It is now read-only.

Commit

Permalink
fixx units perte journalier
Browse files Browse the repository at this point in the history
  • Loading branch information
mickael-pezzoni committed Jun 5, 2019
1 parent 4bc600d commit 15ba704
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 4 deletions.
38 changes: 36 additions & 2 deletions src/app/dashboard/admin/admin.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="row content">
<div class="container-fluid" style="background-color: white;">
<!-- <div class="container-fluid" style="background-color: white;">
<div class="content">
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#map">Sign-up</a></li>
Expand All @@ -14,5 +14,39 @@
</div>
</div>
</div>
</div>
</div> -->

<nav class="navbar navbar-default" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Title</a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#">Link</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li><a href="#">Separated link</a></li>
</ul>
</li>
</ul>
</div><!-- /.navbar-collapse -->
</nav>

</div>
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export class DailyStockHoneyService {
getDailyStockHoneyByHIve(idHive: string) {
this.typeFlower = [];
return this.http.get<DailyStockHoney[]>(CONFIG.URL + 'dailyStockHoney' + '/hive/' + idHive).map(dailyStock => {
console.log(dailyStock);
const series = [];
dailyStock.forEach(element => {
if (this.typeFlower.indexOf(element.nom) === -1) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class CalendrierPoidsService {
trigger: 'item',
formatter: (params: any) => {
return params.marker + this.unitService.getDailyDate(params.data[0].split('T')[0]) +
'<br/>' + params.seriesName + ' : ' + this.unitService.getUserPref().unitSystem === 'METRIC' ? this.graphGlobal.getNumberFormat(this.unitService.getValRound(params.data[1])) : this.graphGlobal.getNumberFormat(this.unitService.getValRound(params.data[1] * 2.205)) + ' ' + this.graphGlobal.weight.unitW;
'<br/>' + params.seriesName + ' : ' + this.graphGlobal.getNumberFormat(this.unitService.getValRound(params.data[1])) + ' ' + this.graphGlobal.weight.unitW;
}
},
toolbox: {
Expand Down

0 comments on commit 15ba704

Please sign in to comment.