mirror of
https://github.com/lalanza808/monero.fail.git
synced 2025-08-19 12:17:45 -04:00
css and ui imprvements
This commit is contained in:
parent
352a5ead19
commit
cd1e587ee1
3 changed files with 104 additions and 14 deletions
|
@ -30,11 +30,11 @@ HEALTHY_BLOCK_DIFF = 500 # idc to config this. hardcode is fine.
|
|||
@app.route("/", methods=["GET", "POST"])
|
||||
def index():
|
||||
form = SubmitNode()
|
||||
nettype = request.args.get("nettype", "mainnet")
|
||||
crypto = request.args.get("crypto", "monero")
|
||||
nettype = request.args.get("network", "mainnet")
|
||||
crypto = request.args.get("chain", "monero")
|
||||
onion = request.args.get("onion", False)
|
||||
show_all = "true" == request.args.get("all", "false")
|
||||
web_compatible = request.args.get("web_compatible", False)
|
||||
web_compatible = request.args.get("cors", False)
|
||||
highest_block = get_highest_block(nettype, crypto)
|
||||
healthy_block = highest_block - HEALTHY_BLOCK_DIFF
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue