CHORE: Updated styling on stats page and fixed test failure
This commit is contained in:
parent
cc9aaff6e1
commit
7f77dcdd02
@ -18,4 +18,4 @@ def main_admin():
|
||||
@blueprint.route('/users/')
|
||||
def admin_users():
|
||||
""" Endpoint responsible for managing a users permissions """
|
||||
return "Hello, Worlds"
|
||||
return "Hello, Worlds"
|
||||
|
@ -24,6 +24,7 @@ h2 {
|
||||
.input-form-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-evenly;
|
||||
gap: 1em 1em;
|
||||
}
|
||||
|
||||
|
@ -6,16 +6,11 @@
|
||||
<div>
|
||||
<canvas id="myChart" width="800px" height="500px"></canvas>
|
||||
<br >
|
||||
<form method="GET" action='' id="timeframe_form">
|
||||
<div class="input-form-row">
|
||||
<input type="radio" class="hidden" id="7days" name='prev_days' value=7>
|
||||
<label for="7days">1 Week</label><br>
|
||||
<input type="radio" class="hidden" id="14days" name="prev_days" value=14>
|
||||
<label for="14days">2 Weeks</label><br>
|
||||
<input type="radio" class="hidden" id="1month" name="prev_days" value=31>
|
||||
<label for="1month">1 Month</label>
|
||||
</div>
|
||||
</form>
|
||||
<div class="input-form-row">
|
||||
<a href="?prev_days=7">1 Week</a>
|
||||
<a href="?prev_days=14">2 Weeks</a>
|
||||
<a href="?prev_days=31">1 Month</a>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<p><b>Age:</b> {{data['age']}}</p>
|
||||
|
Loading…
Reference in New Issue
Block a user