getting subs visible and ready to process
parent
3da8c9951d
commit
25c16e5e72
@ -0,0 +1,16 @@
|
|||||||
|
# Platform Sub
|
||||||
|
|
||||||
|
### Good one
|
||||||
|
tx_id: c50b4c2c2ca26691ac6205c67d72052a882aa0d71d71b18bdfe0dd887d8b75aa
|
||||||
|
tx_key: aaf3d3b81e57b2c874f0428a50428cf38ba5369c2ad06df7d4d7e7e7bb43e308
|
||||||
|
|
||||||
|
### Bad one
|
||||||
|
tx_id: 7fd5111343a0cc9c44705a03cddb4115027a2671855806f0a0dffddc7cc889ab
|
||||||
|
tx_key: c7f1c8266a6109ea547c7c5d04d226f68faa5f5a4cf1eb7ad6077cdb2bbb830e
|
||||||
|
|
||||||
|
|
||||||
|
# Content Sub
|
||||||
|
|
||||||
|
tx_id: 1127feb964a2f35ea819454fc8dd17f23f374f829364704a7a51cbec676e09a5
|
||||||
|
tx_key: 12ca27135e6dfc1bb5f2b6dc6334a84e3e9c09003db4204061a553a49452f505
|
||||||
|
address: 75gXGUPpyqb1Hhxv6wSZ9218x1QBjBNo3dvYX6FnVMRPCWXoAX52DZnCkAe9LwjRjaGB1A6CGUr5c5hUTqdqywxN9jsutNP
|
@ -1,48 +1,11 @@
|
|||||||
<!DOCTYPE HTML>
|
{% extends 'includes/base.html' %}
|
||||||
<html>
|
|
||||||
|
|
||||||
{% include 'includes/head.html' %}
|
{% block content %}
|
||||||
|
|
||||||
<body class="is-preload landing">
|
<h2>Challenge</h2>
|
||||||
<div id="page-wrapper">
|
<p>Handle: {{ user.handle }}</p>
|
||||||
|
<p>Challenge: {{ user.challenge }}</p>
|
||||||
|
<p>Wallet Address: {{ user.wallet_address }}</p>
|
||||||
|
{% include 'includes/form.html' %}
|
||||||
|
|
||||||
{% include 'includes/header.html' %}
|
{% endblock %}
|
||||||
|
|
||||||
<section id="banner">
|
|
||||||
<div class="content">
|
|
||||||
<header>
|
|
||||||
<h2>Challenge</h2>
|
|
||||||
<p>Handle: {{ user.handle }}</p>
|
|
||||||
<p>Challenge: {{ user.challenge }}</p>
|
|
||||||
<p>Wallet Address: {{ user.wallet_address }}</p>
|
|
||||||
<form method="POST" action="">
|
|
||||||
|
|
||||||
{% for f in form %}
|
|
||||||
{% if f.name == 'csrf_token' %}
|
|
||||||
{{ f }}
|
|
||||||
{% else %}
|
|
||||||
<div class="form-group">
|
|
||||||
{{ f.label }}
|
|
||||||
{{ f }}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
<ul>
|
|
||||||
{% for field, errors in form.errors.items() %}
|
|
||||||
<li>{{ form[field].label }}: {{ ', '.join(errors) }}</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
<input type="submit" value="Login" class="btn btn-link btn-outline btn-xl">
|
|
||||||
</form>
|
|
||||||
</header>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
{% include 'includes/footer.html' %}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% include 'includes/scripts.html' %}
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
@ -1,45 +1,8 @@
|
|||||||
<!DOCTYPE HTML>
|
{% extends 'includes/base.html' %}
|
||||||
<html>
|
|
||||||
|
|
||||||
{% include 'includes/head.html' %}
|
{% block content %}
|
||||||
|
|
||||||
<body class="is-preload landing">
|
<h2>Login</h2>
|
||||||
<div id="page-wrapper">
|
{% include 'includes/form.html' %}
|
||||||
|
|
||||||
{% include 'includes/header.html' %}
|
{% endblock %}
|
||||||
|
|
||||||
<section id="banner">
|
|
||||||
<div class="content">
|
|
||||||
<header>
|
|
||||||
<h2>Login</h2>
|
|
||||||
<form method="POST" action="{{ url_for('auth.login') }}">
|
|
||||||
|
|
||||||
{% for f in form %}
|
|
||||||
{% if f.name == 'csrf_token' %}
|
|
||||||
{{ f }}
|
|
||||||
{% else %}
|
|
||||||
<div class="form-group">
|
|
||||||
{{ f.label }}
|
|
||||||
{{ f }}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
<ul>
|
|
||||||
{% for field, errors in form.errors.items() %}
|
|
||||||
<li>{{ form[field].label }}: {{ ', '.join(errors) }}</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
<input type="submit" value="Login" class="btn btn-link btn-outline btn-xl">
|
|
||||||
</form>
|
|
||||||
</header>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
{% include 'includes/footer.html' %}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% include 'includes/scripts.html' %}
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
@ -1,45 +1,8 @@
|
|||||||
<!DOCTYPE HTML>
|
{% extends 'includes/base.html' %}
|
||||||
<html>
|
|
||||||
|
|
||||||
{% include 'includes/head.html' %}
|
{% block content %}
|
||||||
|
|
||||||
<body class="is-preload landing">
|
<h2>Register</h2>
|
||||||
<div id="page-wrapper">
|
{% include 'includes/form.html' %}
|
||||||
|
|
||||||
{% include 'includes/header.html' %}
|
{% endblock %}
|
||||||
|
|
||||||
<section id="banner">
|
|
||||||
<div class="content">
|
|
||||||
<header>
|
|
||||||
<h2>Register</h2>
|
|
||||||
<form method="POST" action="{{ url_for('auth.register') }}">
|
|
||||||
|
|
||||||
{% for f in form %}
|
|
||||||
{% if f.name == 'csrf_token' %}
|
|
||||||
{{ f }}
|
|
||||||
{% else %}
|
|
||||||
<div class="form-group">
|
|
||||||
{{ f.label }}
|
|
||||||
{{ f }}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
<ul>
|
|
||||||
{% for field, errors in form.errors.items() %}
|
|
||||||
<li>{{ form[field].label }}: {{ ', '.join(errors) }}</li>
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
<input type="submit" value="Register" class="btn btn-link btn-outline btn-xl">
|
|
||||||
</form>
|
|
||||||
</header>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
{% include 'includes/footer.html' %}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{% include 'includes/scripts.html' %}
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
@ -1,10 +1,19 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<html>
|
<html>
|
||||||
{% include 'includes/head.html' %}
|
{% include 'includes/head.html' %}
|
||||||
<body>
|
<body style="background-color: black; color: white;">
|
||||||
{% include 'includes/header.html' %}
|
{% include 'includes/header.html' %}
|
||||||
{% block content %}{% endblock %}
|
{% block content %}{% endblock %}
|
||||||
{% include 'includes/debug.html' %}
|
{% include 'includes/debug.html' %}
|
||||||
{% include 'includes/scripts.html' %}
|
{% include 'includes/scripts.html' %}
|
||||||
|
<style>
|
||||||
|
body {
|
||||||
|
background-color: black;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
a, a:visited {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,11 +1,9 @@
|
|||||||
<hr>
|
|
||||||
|
|
||||||
{% if config.DEBUG and current_user.is_authenticated %}
|
{% if config.DEBUG and current_user.is_authenticated %}
|
||||||
|
<hr>
|
||||||
<h2>Debug</h2>
|
<h2>Debug</h2>
|
||||||
<p>
|
<p>
|
||||||
Authenticated: {{ current_user.is_authenticated }} <br>
|
|
||||||
Username: {{ current_user.handle }} <br>
|
Username: {{ current_user.handle }} <br>
|
||||||
Email: {{ current_user.email }} <br>
|
{% if current_user.email %}Email: {{ current_user.email }} <br>{% endif %}
|
||||||
Wallet Address: {{ current_user.wallet_address }} <br>
|
Wallet Address: {{ current_user.wallet_address }} <br>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
Reference in New Issue