Merge pull request #57 from Pear-Trading/Release-v0.1.1

Release v0.1.1
This commit is contained in:
Finn 2017-12-21 17:29:43 +00:00 committed by GitHub
commit faf5b9e713
7 changed files with 50 additions and 22 deletions

View file

@ -2,6 +2,11 @@
# Next Release # Next Release
# v0.1.1
* Redid layout on circle customer view
* Renamed customer dashboard headers
# v0.1.0 # v0.1.0
* Changed Story Trail choosing to modals * Changed Story Trail choosing to modals

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{ {
"name": "localloop-web", "name": "localloop-web",
"version": "0.1.0", "version": "0.1.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View file

@ -1,6 +1,6 @@
{ {
"name": "localloop-web", "name": "localloop-web",
"version": "0.1.0", "version": "0.1.1",
"description": "LocalLoop Web - Web interface for LocalLoop app", "description": "LocalLoop Web - Web interface for LocalLoop app",
"author": "", "author": "",
"url": "http://www.peartrade.org", "url": "http://www.peartrade.org",

View file

@ -78,7 +78,7 @@
<div class="card-block"> <div class="card-block">
<div class="row"> <div class="row">
<div class="col-12"> <div class="col-12">
<h4 class="card-title float-left mb-0">Sector Purchase Amounts</h4> <h4 class="card-title float-left mb-0">Purchases by Sector</h4>
</div><!--/.col--> </div><!--/.col-->
</div><!--/.row--> </div><!--/.row-->
<div class="chart-wrapper"> <div class="chart-wrapper">

View file

@ -2,7 +2,7 @@
<div class="card-block"> <div class="card-block">
<div class="row"> <div class="row">
<div class="col-sm-8"> <div class="col-sm-8">
<h4 class="card-title mb-0">Local Purchases</h4> <h4 class="card-title mb-0">All Purchases</h4>
</div><!--/.col--> </div><!--/.col-->
<div class="col-sm-4 hidden-sm-down"> <div class="col-sm-4 hidden-sm-down">
<div class="btn-toolbar float-right" role="toolbar" aria-label="Toolbar with button groups"> <div class="btn-toolbar float-right" role="toolbar" aria-label="Toolbar with button groups">

View file

@ -1,16 +1,22 @@
<div class="card text-center"> <div class="row">
<div class="card-block"> <div class="col-md-6 col-xl-3">
<ul style="list-style: none; padding-left: 0;"> <div class="card text-center" style="background-color: transparent; border: none">
<div class="row no-gutters"> <div class="card-block">
<div class="col-12 col-sm-6 col-md-3 mx-auto"> <ul style="list-style: none; padding-left: 0;">
<li class="hidden-sm-down"> <li class="hidden-sm-down">
<div>My Points</div> <div><h5 class="text-dark-green">My Points</h5></div>
<div class="number-circle mx-auto"><strong>{{ userSum / 10 | number:'1.0-0' }}</strong></div> <div class="number-circle mx-auto"><strong>{{ userSum / 10 | number:'1.0-0' }}</strong></div>
</li> </li>
</div> </ul>
<div class="col-12 col-sm-6 col-md-3 mx-auto"> </div>
</div>
</div>
<div class="col-md-6 col-xl-3">
<div class="card text-center" style="background-color: transparent; border: none">
<div class="card-block">
<ul style="list-style: none; padding-left: 0;">
<li class="hidden-sm-down"> <li class="hidden-sm-down">
<div class="">My Rank</div> <div><h5 class="text-dark-green">My Rank</h5></div>
<div *ngIf="userPosition == 0" class="statuscontent"> <div *ngIf="userPosition == 0" class="statuscontent">
<div class="number-circle mx-auto"><strong>Unranked</strong></div> <div class="number-circle mx-auto"><strong>Unranked</strong></div>
</div> </div>
@ -18,20 +24,32 @@
<div class="number-circle mx-auto"><strong>{{ userPosition }}</strong></div> <div class="number-circle mx-auto"><strong>{{ userPosition }}</strong></div>
</div> </div>
</li> </li>
</div> </ul>
<div class="col-12 col-sm-6 col-md-3 mx-auto"> </div>
</div>
</div>
<div class="col-md-6 col-xl-3">
<div class="card text-center" style="background-color: transparent; border: none">
<div class="card-block">
<ul style="list-style: none; padding-left: 0;">
<li class="hidden-sm-down"> <li class="hidden-sm-down">
<div class="">My Total Spend</div> <div><h5 class="text-dark-green">My Total Spend</h5></div>
<div class="number-circle mx-auto"><strong>{{ userSum | currency:'GBP':'symbol':'1.2-2' }}</strong></div> <div class="number-circle mx-auto"><strong>{{ userSum | currency:'GBP':'symbol':'1.2-2' }}</strong></div>
</li> </li>
</div> </ul>
<div class="col-12 col-sm-6 col-md-3 mx-auto"> </div>
</div>
</div>
<div class="col-md-6 col-xl-3">
<div class="card text-center" style="background-color: transparent; border: none">
<div class="card-block">
<ul style="list-style: none; padding-left: 0;">
<li class="hidden-sm-down"> <li class="hidden-sm-down">
<div class="">Value to Local Economy</div> <div><h5 class="text-dark-green">Value to Local Economy</h5></div>
<div class="number-circle mx-auto"><strong>{{ userSum * 2.3 | currency:'GBP':'symbol':'1.2-2' }}</strong></div> <div class="number-circle mx-auto"><strong>{{ userSum * 2.3 | currency:'GBP':'symbol':'1.2-2' }}</strong></div>
</li> </li>
</div> </ul>
</div> </div>
</ul> </div>
</div> </div>
</div> </div>

View file

@ -34,10 +34,15 @@ agm-map {
padding: 5rem 5%; padding: 5rem 5%;
line-height: 0; line-height: 0;
position: relative; position: relative;
background: #20a8d8; background: #4dbd74;
color: white; color: white;
font-size: 0.875rem; font-size: 0.875rem;
} }
.text-dark-green {
color: #10602c;
}
// white title font variant on type-2 as defined in _widgets.css // white title font variant on type-2 as defined in _widgets.css
.horizontal-bars { .horizontal-bars {
padding: 0; padding: 0;