ui: Cleanup

This commit is contained in:
gerlofvanek
2022-11-16 13:08:37 +01:00
parent e5749a397f
commit 640d22bdc5
29 changed files with 267 additions and 228 deletions

View File

@@ -27,12 +27,15 @@
</section>
<section class="py-4">
<div class="container px-4 mx-auto">
<div class="relative py-11 px-16 bg-coolGray-900 rounded-md overflow-hidden"> <img class="absolute z-10 left-4 top-4" src="/static/images/elements/dots-red.svg" alt=""> <img class="absolute z-10 right-4 bottom-4" src="/static/images/elements/dots-red.svg" alt=""> <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 py-11 px-16 bg-coolGray-900 rounded-md overflow-hidden">
<img class="absolute z-10 left-4 top-4" src="/static/images/elements/dots-red.svg" alt="">
<img class="absolute z-10 right-4 bottom-4" src="/static/images/elements/dots-red.svg" alt="">
<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">
<h2 class="text-4xl font-bold text-white tracking-tighter">
<span class="inline-block align-middle"><img class="h-20" src="/static/images/coins/{{ w.name }}.png" alt="{{ w.name }}">
</span> {{ w.name }} Wallet
</span>{{ w.name }} Wallet
</h2>
<p class="font-semibold text-coolGray-200 pl-2 pt-5">Manage your {{ w.ticker }} wallet. {% if refresh %} (Page Refresh: {{ refresh }} seconds) {% endif %}</p>
</div>
@@ -43,13 +46,13 @@
<path fill="#ffffff" d="M12,3c1.989,0,3.873,0.65,5.43,1.833l-3.604,3.393l9.167,0.983L22.562,0l-3.655,3.442 C16.957,1.862,14.545,1,12,1C5.935,1,1,5.935,1,12h2C3,7.037,7.037,3,12,3z"></path>
<path data-color="color-2" d="M12,21c-1.989,0-3.873-0.65-5.43-1.833l3.604-3.393l-9.167-0.983L1.438,24l3.655-3.442 C7.043,22.138,9.455,23,12,23c6.065,0,11-4.935,11-11h-2C21,16.963,16.963,21,12,21z"></path>
</g>
</svg> <span>Refresh</span> </a>
</svg><span>Refresh</span></a>
</div>
</div>
</div>
</div>
</section>
{% include 'inc_messages.html' %}
{% include 'inc_messages.html' %}
{% if w.updating %}
<section class="py-4" id="updating" role="alert">
<div class="container px-4 mx-auto">
@@ -146,7 +149,7 @@
<td class="bold">{{ w.blind_balance }}</td>
{% if w.blind_unconfirmed %}
<td>Blind Unconfirmed:</td>
<td>{{ w.blind_unconfirmed }}</td>
<td>{{ w.blind_unconfirmed }}</td>
{% endif %}
</tr>
<tr class="bg-white border-t hover:bg-gray-50">
@@ -154,7 +157,7 @@
<td class="bold">{{ w.anon_balance }}</td>
{% if w.anon_pending %}
<td>Anon Pending:</td>
<td>{{ w.anon_pending }}</td>{% endif %} </tr>
<td>{{ w.anon_pending }}</td>{% endif %}</tr>
{% endif %}
<tr class="bg-white border-t hover:bg-gray-50">
<td class="py-4 px-6 bold">Blocks:</td>
@@ -299,7 +302,7 @@
<td class="py-4"> </td>
</tr>
{% endif %}
<tr class="bg-white border-t hover:bg-gray-50 ">
<tr class="bg-white border-t hover:bg-gray-50">
<td class="py-4 px-6 bold">Fee Rate:</td>
<td>{{ w.fee_rate }}</td>
<td><b>Est Fee:</b> {{ w.est_fee }}</td>
@@ -313,7 +316,7 @@
<section class="bg-white p-6">
<div class="flex flex-wrap items-center">
<div class="w-full">
<h4 class="font-semibold text-black text-2xl">UTXO Groups</h4> </div>
<h4 class="font-semibold text-black text-2xl">UTXO Groups</h4></div>
</div>
</section>
<div class="container px-0 mx-auto mt-2">
@@ -343,7 +346,7 @@
</svg> Create UTXO </button>
</td>
<td>
<input placeholder="Amount" class="appearance-none bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block p-2.5" type="text" name="utxo_value" value="{{ w.utxo_value }}"> </td>
<input placeholder="Amount" class="appearance-none bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg outline-none focus:ring-blue-500 focus:border-blue-500 block p-2.5" type="text" name="utxo_value" value="{{ w.utxo_value }}"></td>
</tr>
</table>
</div>
@@ -387,7 +390,7 @@
{% endif %}
{% endif %}
<!-- havedata -->
<input type="hidden" name="formid" value="{{ form_id }}"> </form>
<input type="hidden" name="formid" value="{{ form_id }}"></form>
</div>
<script>
function confirmReseed() {