Changes to top bar

This commit is contained in:
Unknown 2017-05-12 17:07:18 +01:00
parent 617fa716a7
commit bf1638e2e1
6 changed files with 35 additions and 47 deletions

View file

@ -13,8 +13,8 @@
<a class="dropdown-item" href="#">Something else here</a>
</div>
</div>
<h4 class="mb-0">9.823</h4>
<p>Members online</p>
<h4 class="mb-0">£183.98</h4>
<p>Money spent this week</p>
</div>
<div class="chart-wrapper px-3" style="height:70px;">
<canvas baseChart class="chart"
@ -36,7 +36,7 @@
<i class="icon-location-pin"></i>
</button>
<h4 class="mb-0">9.823</h4>
<p>Members online</p>
<p>Money spent last week</p>
</div>
<div class="chart-wrapper px-3" style="height:70px;">
<canvas baseChart class="chart"
@ -65,7 +65,7 @@
</div>
</div>
<h4 class="mb-0">9.823</h4>
<p>Members online</p>
<p>Points earned this week</p>
</div>
<div class="chart-wrapper" style="height:70px;">
<canvas baseChart class="chart"
@ -94,7 +94,7 @@
</div>
</div>
<h4 class="mb-0">9.823</h4>
<p>Members online</p>
<p>Points earned last week</p>
</div>
<div class="chart-wrapper px-3" style="height:70px;">
<canvas baseChart class="chart"
@ -114,7 +114,7 @@
<div class="card-block">
<div class="row">
<div class="col-sm-5">
<h4 class="card-title mb-0">Traffic</h4>
<h4 class="card-title mb-0">Customers</h4>
<div class="small text-muted">November 2015</div>
</div><!--/.col-->
<div class="col-sm-7 hidden-sm-down">
@ -148,15 +148,8 @@
</div>
<div class="card-footer">
<ul>
<li>
<div class="text-muted">Visits</div>
<strong>29.703 Users (40%)</strong>
<div class="progress progress-xs mt-2">
<div class="progress-bar bg-success" role="progressbar" style="width: 40%" aria-valuenow="40" aria-valuemin="0" aria-valuemax="100"></div>
</div>
</li>
<li class="hidden-sm-down">
<div class="text-muted">Unique</div>
<div class="text-muted">Customers</div>
<strong>24.093 Users (20%)</strong>
<div class="progress progress-xs mt-2">
<div class="progress-bar bg-info" role="progressbar" style="width: 20%" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100"></div>

View file

@ -45,7 +45,7 @@ export class DashboardComponent implements OnInit {
// lineChart1
public lineChart1Data: Array<any> = [
{
data: [65, 59, 84, 84, 51, 55, 40],
data: [44.72, 29.97, 16.65, 30.99, 47.75, 6.95, 6.95],
label: 'Series A'
}
];
@ -68,8 +68,8 @@ export class DashboardComponent implements OnInit {
display: false,
ticks: {
display: false,
min: 40 - 5,
max: 84 + 5,
min: 5 - 5,
max: 50 + 5,
}
}],
},
@ -467,7 +467,7 @@ export class DashboardComponent implements OnInit {
for (let i = 0; i <= this.mainChartElements; i++) {
this.mainChartData1.push(this.random(50, 200));
this.mainChartData2.push(this.random(80, 100));
this.mainChartData3.push(65);
this.mainChartData3.push(this.random(50, 200));
}
}
}