From 1c1b032d87e5b43ef19f5a88af97852cf37530a3 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Mon, 28 Dec 2020 22:54:36 -0800 Subject: [PATCH] save template updates --- wowstash/templates/meta/index.html | 6 +++++- wowstash/templates/navbar.html | 2 +- wowstash/templates/wallet/loading.html | 12 +++++------- wowstash/templates/wallet/setup.html | 4 +++- 4 files changed, 14 insertions(+), 10 deletions(-) diff --git a/wowstash/templates/meta/index.html b/wowstash/templates/meta/index.html index d849882..daf5d65 100644 --- a/wowstash/templates/meta/index.html +++ b/wowstash/templates/meta/index.html @@ -14,7 +14,11 @@

Manage your Wownero funds securely and anonymously.

{% if current_user.is_authenticated %} - {% if current_user.wallet_created %}Wallet Dashboard{% else %}Setup Wallet{% endif %} + {% if current_user.wallet_created %} + Wallet Dashboard + {% else %} + Setup Wallet + {% endif %} {% else %} Register Login diff --git a/wowstash/templates/navbar.html b/wowstash/templates/navbar.html index 79a632d..72eb101 100644 --- a/wowstash/templates/navbar.html +++ b/wowstash/templates/navbar.html @@ -19,7 +19,7 @@ {% endif %} {% if current_user.is_authenticated %} - + {% else %} diff --git a/wowstash/templates/wallet/loading.html b/wowstash/templates/wallet/loading.html index 0148065..3b9bdb5 100644 --- a/wowstash/templates/wallet/loading.html +++ b/wowstash/templates/wallet/loading.html @@ -50,18 +50,16 @@ {% endif %} {% if current_user.wallet_connected == False and current_user.wallet_created == False %} - document.addEventListener("DOMContentLoaded", function(){ - var xhr = new XMLHttpRequest(); - xhr.open('GET', '{{ url_for("wallet.create") }}'); - xhr.send(); - }); + // document.addEventListener("DOMContentLoaded", function(){ + // var xhr = new XMLHttpRequest(); + // xhr.open('GET', '{{ url_for("wallet.create") }}'); + // xhr.send(); + // }); {% endif %} window.setInterval(function(){ {% if current_user.wallet_connected == False and current_user.wallet_created == True %} check_wallet_status('connected'); - {% else %} - check_wallet_status('created'); {% endif %} }, 6000); diff --git a/wowstash/templates/wallet/setup.html b/wowstash/templates/wallet/setup.html index fbc2fa2..b3aa812 100644 --- a/wowstash/templates/wallet/setup.html +++ b/wowstash/templates/wallet/setup.html @@ -13,7 +13,9 @@

Pick An Option

Alrighty there hoss, pick an option below...

- Create new wallet +


+ + Create new wallet