mirror of
https://github.com/LukeHagar/pypistats.org.git
synced 2025-12-09 20:57:48 +00:00
adjust logout position; add api note data updates; modify chart titles
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
<li>All download stats exclude known mirrors (such as
|
<li>All download stats exclude known mirrors (such as
|
||||||
<a href="{{ url_for('general.package', package='bandersnatch')}}">bandersnatch</a>) unless noted otherwise.</li>
|
<a href="{{ url_for('general.package', package='bandersnatch')}}">bandersnatch</a>) unless noted otherwise.</li>
|
||||||
<li>Time series data is retained only for 30 days.</li>
|
<li>Time series data is retained only for 30 days.</li>
|
||||||
|
<li>All download data is updated once daily.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
<h2>Endpoints</h2>
|
<h2>Endpoints</h2>
|
||||||
|
|||||||
@@ -62,6 +62,7 @@
|
|||||||
<a href="{{ url_for('user.user')}}">My Packages</a>
|
<a href="{{ url_for('user.user')}}">My Packages</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<br>
|
<br>
|
||||||
|
<br>
|
||||||
<a href="{{ url_for('user.logout') }}">Logout</a>
|
<a href="{{ url_for('user.logout') }}">Logout</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ def package(package):
|
|||||||
data.append(base)
|
data.append(base)
|
||||||
plot["data"] = data
|
plot["data"] = data
|
||||||
plot["layout"]["title"] = \
|
plot["layout"]["title"] = \
|
||||||
f"Downloads by {model['name'].title().replace('_', ' ')}"
|
f"Downloads of {package} package - {model['name'].title().replace('_', ' ')}" # noqa
|
||||||
plots.append(plot)
|
plots.append(plot)
|
||||||
|
|
||||||
# Recent download stats
|
# Recent download stats
|
||||||
|
|||||||
Reference in New Issue
Block a user