initial commit (it has come late tho 🙁)
This commit is contained in:
commit
c2bf966dac
27 changed files with 1618 additions and 0 deletions
15
templates/stats.html
Normal file
15
templates/stats.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Statistics - {{ app_name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h1>Statistics</h1>
|
||||
|
||||
<ul>
|
||||
<li>Number of pages: <strong>{{ notes_count }}</strong></li>
|
||||
<li>Number of pages with URL set: <strong>{{ notes_with_url }}</strong></li>
|
||||
<li>Number of uploads: <strong>{{ upload_count }}</strong></li>
|
||||
<li>Number of revisions: <strong>{{ revision_count }}</strong></li>
|
||||
<li>Average revisions per page: <strong>{{ (revision_count / notes_count)|round(2) }}</strong></li>
|
||||
</ul>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue