|
|
@ -34,15 +34,9 @@ |
|
|
|
<img class="absolute h-64 left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2 object-cover" src="/static/images/elements/wave.svg" alt=""> |
|
|
|
<div class="relative z-20 flex flex-wrap items-center -m-3"> |
|
|
|
<div class="w-full md:w-1/2 p-3 h-48"> |
|
|
|
|
|
|
|
|
|
|
|
<h2 class="mb-6 text-4xl font-bold text-white tracking-tighter"> |
|
|
|
Wallets |
|
|
|
</h2> |
|
|
|
<div class="flex items-center"> |
|
|
|
<h2 class="text-lg font-bold text-white tracking-tighter mr-2"> |
|
|
|
Total Assets: |
|
|
|
</h2> |
|
|
|
<h2 class="mb-6 text-4xl font-bold text-white tracking-tighter">Wallets</h2> |
|
|
|
<div class="flex items-center"> |
|
|
|
<h2 class="text-lg font-bold text-white tracking-tighter mr-2">Total Assets:</h2> |
|
|
|
<button id="hide-usd-amount-toggle" class="flex items-center justify-center p-1 focus:ring-0 focus:outline-none"> |
|
|
|
<svg xmlns="http://www.w3.org/2000/svg" fill="#ffffff" height="20" width="20" viewBox="0 0 24 24"> |
|
|
|
<path d="M23.444,10.239a22.936,22.936,0,0,0-2.492-2.948l-4.021,4.021A5.026,5.026,0,0,1,17,12a5,5,0,0,1-5,5,5.026,5.026,0,0,1-.688-.069L8.055,20.188A10.286,10.286,0,0,0,12,21c5.708,0,9.905-5.062,11.445-7.24A3.058,3.058,0,0,0,23.444,10.239Z"></path> |
|
|
@ -50,19 +44,13 @@ |
|
|
|
<path data-color="color-2" d="M1,24a1,1,0,0,1-.707-1.707l22-22a1,1,0,0,1,1.414,1.414l-22,22A1,1,0,0,1,1,24Z"></path> |
|
|
|
</svg> |
|
|
|
</button> |
|
|
|
</div> |
|
|
|
<div class="flex items-baseline mt-2"> |
|
|
|
<div id="total-usd-value" class="text-5xl font-bold text-white"></div> |
|
|
|
<div id="usd-text" class="text-sm text-white ml-1">USD</div> |
|
|
|
</div> |
|
|
|
<div id="total-btc-value" class="text-sm text-white mt-2"></div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
<div class="flex items-baseline mt-2"> |
|
|
|
<div id="total-usd-value" class="text-5xl font-bold text-white"></div> |
|
|
|
<div id="usd-text" class="text-sm text-white ml-1">USD</div> |
|
|
|
</div> |
|
|
|
<div id="total-btc-value" class="text-sm text-white mt-2"></div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="w-full md:w-1/2 p-3 p-6 container flex flex-wrap items-center justify-end items-center mx-auto"> |
|
|
|
<a class="mr-5 flex flex-wrap justify-center px-5 py-3 bg-blue-500 hover:bg-blue-600 font-medium text-sm text-white border dark:bg-gray-500 dark:hover:bg-gray-700 border-blue-500 rounded-md shadow-button focus:ring-0 focus:outline-none" id="refresh" href="/changepassword"> |
|
|
|
<svg class="text-gray-500 w-5 h-5 mr-2" xmlns="http://www.w3.org/2000/svg" height="24" width="24" viewBox="0 0 24 24"> |
|
|
@ -107,56 +95,61 @@ |
|
|
|
</p>{% endif %} |
|
|
|
</div> |
|
|
|
<div class="p-6 bg-coolGray-100 dark:bg-gray-600"> |
|
|
|
<!-- bg here --> |
|
|
|
|
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">Balance:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 coinname-value" data-coinname="{{ w.name }}">{{ w.balance }} {{ w.ticker }}</div> |
|
|
|
</div> |
|
|
|
{% if w.unconfirmed %} |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">Unconfirmed:</h4> |
|
|
|
<span class="inline-block py-1 px-2 rounded-full bg-green-100 text-xs text-green-500 dark:bg-gray-500 dark:text-green-500">+{{ w.unconfirmed }} {{ w.ticker }}</span> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">USD value:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 usd-value"></div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">Balance:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 coinname-value" data-coinname="{{ w.name }}">{{ w.balance }} {{ w.ticker }}</div> |
|
|
|
</div> |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">{{ w.ticker }} USD value:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 usd-value"></div> |
|
|
|
</div> |
|
|
|
{% if w.unconfirmed %} |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-bold text-green-500 dark:text-green-500">Unconfirmed:</h4> |
|
|
|
<span class="bold inline-block py-1 px-2 rounded-full bg-green-100 text-xs text-green-500 dark:bg-gray-500 dark:text-green-500 coinname-value" data-coinname="{{ w.name }}">+{{ w.unconfirmed }} {{ w.ticker }}</span> |
|
|
|
</div> |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-bold text-green-500 dark:text-green-500">Unconfirmed USD value:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-green-100 text-xs text-green-500 dark:bg-gray-500 dark:text-green-500 usd-value"></div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% if w.cid == '1' %} |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">Blind Balance:</h4> |
|
|
|
<span class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 coinname-value" data-coinname="{{ w.name }}">{{ w.blind_balance }} {{ w.ticker }}</span> |
|
|
|
</div> |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">USD value:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 usd-value"></div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">Blind USD value:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 usd-value"></div> |
|
|
|
</div> |
|
|
|
{% if w.blind_unconfirmed %} |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">Blind Unconfirmed:</h4> |
|
|
|
<span class="bold inline-block py-1 px-2 rounded-full bg-green-100 text-xs text-green-500 dark:bg-gray-500 dark:text-green-500">+{{ w.blind_unconfirmed }} {{ w.ticker }}</span> |
|
|
|
</div>{% endif %} |
|
|
|
<h4 class="text-xs font-bold text-green-500 dark:text-green-500">Blind Unconfirmed:</h4> |
|
|
|
<span class="bold inline-block py-1 px-2 rounded-full bg-green-100 text-xs text-green-500 dark:bg-gray-500 dark:text-green-500 coinname-value" data-coinname="{{ w.name }}" >+{{ w.blind_unconfirmed }} {{ w.ticker }}</span> |
|
|
|
</div> |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-bold text-green-500 dark:text-green-500">Blind Unconfirmed USD value:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-green-100 text-xs text-green-500 dark:bg-gray-500 dark:text-green-500 usd-value"></div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">Anon Balance:</h4> |
|
|
|
<span class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 coinname-value" data-coinname="{{ w.name }}">{{ w.anon_balance }} {{ w.ticker }}</span> |
|
|
|
</div> |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">USD value:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 usd-value"></div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">Anon USD value:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-blue-100 text-xs text-black-500 dark:bg-gray-500 dark:text-gray-200 usd-value"></div> |
|
|
|
</div> |
|
|
|
{% if w.anon_pending %} |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-medium dark:text-white">Anon Pending:</h4> |
|
|
|
<span class="bold inline-block py-1 px-2 rounded-full bg-green-100 text-xs text-green-500 dark:bg-gray-500 dark:text-green-500"> |
|
|
|
<h4 class="text-xs font-bold text-green-500 dark:text-green-500">Anon Pending:</h4> |
|
|
|
<span class="bold inline-block py-1 px-2 rounded-full bg-green-100 text-xs text-green-500 dark:bg-gray-500 dark:text-green-500 coinname-value" data-coinname="{{ w.name }}"> |
|
|
|
+{{ w.anon_pending }} {{ w.ticker }}</span> |
|
|
|
</div> |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
|
<h4 class="text-xs font-bold text-green-500 dark:text-green-500">Anon Pending USD value:</h4> |
|
|
|
<div class="bold inline-block py-1 px-2 rounded-full bg-green-100 text-xs text-green-500 dark:bg-gray-500 dark:text-green-500 usd-value"></div> |
|
|
|
</div> |
|
|
|
{% endif %} |
|
|
|
{% endif %} |
|
|
|
<div class="flex mb-2 justify-between items-center"> |
|
|
@ -195,7 +188,6 @@ |
|
|
|
</div> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
|
|
|
|
{% include 'footer.html' %} |
|
|
|
<script> |
|
|
|
const coinNameToSymbol = { |
|
|
|