feat: Add install instructions and update login to have a dropdown

This commit is contained in:
2024-01-29 15:19:38 +11:00
parent 86e4f1f2b9
commit 735bd68302
5 changed files with 41 additions and 4 deletions

10
main.py
View File

@@ -881,12 +881,16 @@ def settings_action(action):
#region Account
@app.route('/login')
def login():
wallets = account_module.listWallets()
wallets = render.wallets(wallets)
if 'message' in request.args:
return render_template("login.html", sync=account_module.getNodeSync(),
error=request.args.get("message"))
error=request.args.get("message"),wallets=wallets)
return render_template("login.html")
return render_template("login.html", sync=account_module.getNodeSync(),
wallets=wallets)
@app.route('/login', methods=["POST"])
def login_post():