feat: Hide addresses not in use
This commit is contained in:
parent
ee49e8341c
commit
178b8ec597
@ -29,6 +29,13 @@ def render(data,db_object):
|
|||||||
hns = db_object['HNS']
|
hns = db_object['HNS']
|
||||||
btc = db_object['BTC']
|
btc = db_object['BTC']
|
||||||
eth = db_object['ETH']
|
eth = db_object['ETH']
|
||||||
|
if hns != "":
|
||||||
|
hns = "HNS: " + hns
|
||||||
|
if btc != "":
|
||||||
|
btc = "BTC: " + btc
|
||||||
|
if eth != "":
|
||||||
|
eth = "ETH: " + eth
|
||||||
|
|
||||||
bg_colour = db_object['bg_colour']
|
bg_colour = db_object['bg_colour']
|
||||||
fg_colour = db_object['fg_colour']
|
fg_colour = db_object['fg_colour']
|
||||||
text_colour = db_object['text_colour']
|
text_colour = db_object['text_colour']
|
||||||
|
@ -31,13 +31,13 @@
|
|||||||
<div class="d-xl-flex align-items-xl-center right-align top-align" style="background: #f1ffff;border-radius: 10px;padding-top: 2%;padding-left: 2%;padding-bottom: 2%;width: 50%;position: absolute;padding-right: 2%;display: inline-flex;height: 15em;">
|
<div class="d-xl-flex align-items-xl-center right-align top-align" style="background: #f1ffff;border-radius: 10px;padding-top: 2%;padding-left: 2%;padding-bottom: 2%;width: 50%;position: absolute;padding-right: 2%;display: inline-flex;height: 15em;">
|
||||||
<div style="display: inline-block;">
|
<div style="display: inline-block;">
|
||||||
<div>
|
<div>
|
||||||
<p style="font-size: 24px;">HNS: {{hns}}</p>
|
<p style="font-size: 24px;">{{hns}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p style="font-size: 24px;">BTC: {{btc}}</p>
|
<p style="font-size: 24px;">{{btc}}</p>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p style="font-size: 24px;">ETH: {{eth}}</p>
|
<p style="font-size: 24px;">{{eth}}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user