Browse Source

Add more icons, hide "add funds" button for receivers

master
Skylar Ittner 3 years ago
parent
commit
fc4e00fc39
  1. 23
      www/pages/home.html

23
www/pages/home.html

@ -30,7 +30,9 @@
<div class="col-100 tablet-50 desktop-33">
<div class="card">
<div class="card-header">
Balance
<div>
<i class="fas fa-wallet"></i> Balance
</div>
<div>
<span class="preloader" id="balance-loading"></span>
<span class="text-color-red" id="balance-error-icon" style="display: none;"><i class="fas fa-exclamation-triangle"></i></span>
@ -40,6 +42,13 @@
<div id="balance-error"></div>
<h3 class="display" id="balance-label">$<span id="balance-amount">0.00</span></h3>
</div>
{{#if receiver}}
<div class="card-footer justify-content-end">
<a href="/sendmoney/0" class="link">
<i class="fas fa-arrow-up fa-fw"></i> Send Money
</a>
</div>
{{else}}
<div class="card-footer">
<a href="#" class="link">
<i class="fas fa-credit-card fa-fw"></i> Add Funds
@ -48,6 +57,7 @@
<i class="fas fa-arrow-up fa-fw"></i> Send Money
</a>
</div>
{{/if}}
</div>
</div>
@ -58,7 +68,9 @@
<div class="card-content text-align-center" style="min-height: 16.58em;">
<div class="card-header card-opened-fade-out">
Receive Money
<div>
<i class="fas fa-arrow-down"></i> Receive Money
</div>
<div>
<span class="preloader" id="receive-loading"></span>
</div>
@ -81,12 +93,15 @@
</div>
</div>
</div>
{{else}}
{{/if}}
{{#if giver}}
<div class="col-100 tablet-50 desktop-33">
<div class="card card-expandable elevation-2" id="map-card" style="margin-top: var(--f7-card-margin-vertical);" onclick="openMapCard()">
<div class="card-header card-opened-fade-out" style="z-index: 9999999; background-color: rgba(255,255,255,0.5);">
<div>Nearby</div>
<div>
<i class="fas fa-search-location"></i> Nearby
</div>
<div>
<span class="link icon-only card-prevent-open" onclick="recenterMapToUserPosition()" style="margin-top: 0.1em; cursor: pointer;">
<i class="material-icons" style="font-size: 16pt;">my_location</i>

Loading…
Cancel
Save