mirror of
https://git.wownero.com/wownero/YellWOWPages.git
synced 2024-08-15 01:03:25 +00:00
Rewrite to Quart web-framework, refactor code.
This commit is contained in:
parent
95b0569f7a
commit
df51c98e02
39 changed files with 656 additions and 980 deletions
40
yellow/templates/dashboard.html
Normal file
40
yellow/templates/dashboard.html
Normal file
|
@ -0,0 +1,40 @@
|
|||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<div style="display:none">
|
||||
{% block title %}YellWOWPages - Dashboard{% endblock %}
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
<article>
|
||||
<Header>Welcome back <em>{{user.username}}</em>!</Header>
|
||||
Current <u>WOW address</u>: <label>
|
||||
{% if user.address %}
|
||||
<mark>{{user.address}}</mark>
|
||||
{% else %}
|
||||
<mark>empty</mark>
|
||||
{% endif %}
|
||||
</label>
|
||||
<footer>
|
||||
Change <u>WOW address</u>:
|
||||
<form action="{{ url_for('bp_routes.dashboard_address_post') }}" method="POST">
|
||||
<input type="text" name="address">
|
||||
<button data-tooltip="Be sure it's correct">Submit</button>
|
||||
</form>
|
||||
</footer>
|
||||
|
||||
</article>
|
||||
</div>
|
||||
<style>
|
||||
|
||||
#main {
|
||||
width: 100%;
|
||||
height: 85vh;
|
||||
display: grid;
|
||||
place-content: center;
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
}
|
||||
</style>
|
||||
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue