forked from rDrama/rDrama
better page title
parent
a11c7172c0
commit
23274536cd
|
@ -137,7 +137,7 @@ def sidebar(v):
|
||||||
def participation_stats(v):
|
def participation_stats(v):
|
||||||
stats = cache.get('stats') or {}
|
stats = cache.get('stats') or {}
|
||||||
if v.client: return stats
|
if v.client: return stats
|
||||||
return render_template("stats.html", v=v, title="Content Statistics", data=stats)
|
return render_template("stats.html", v=v, title="Statistics", data=stats)
|
||||||
|
|
||||||
@app.get("/chart")
|
@app.get("/chart")
|
||||||
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)
|
@limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400)
|
||||||
|
|
|
@ -117,7 +117,7 @@
|
||||||
|
|
||||||
<h4>Statistics</h4>
|
<h4>Statistics</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="/stats">Content Stats</a></li>
|
<li><a href="/stats">Statistics</a></li>
|
||||||
<li><a href="/weekly_chart">Weekly Stat Chart</a></li>
|
<li><a href="/weekly_chart">Weekly Stat Chart</a></li>
|
||||||
<li><a href="/daily_chart">Daily Stat Chart</a></li>
|
<li><a href="/daily_chart">Daily Stat Chart</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{% extends "default.html" %}
|
{% extends "default.html" %}
|
||||||
{% block pagetitle %}Content Statistics{% endblock %}
|
{% block pagetitle %}Statistics{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="overflow-x-auto mt-1">
|
<div class="overflow-x-auto mt-1">
|
||||||
<table class="table table-striped mb-5">
|
<table class="table table-striped mb-5">
|
||||||
|
|
Loading…
Reference in New Issue