aboutsummaryrefslogtreecommitdiff
path: root/app/templates/index.html
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-03-18 17:43:30 +0000
committerrubenwardy <rw@rubenwardy.com>2018-03-18 17:43:30 +0000
commit366a2302d092c12f388f0eb8efb4faaa3acd3303 (patch)
tree070f3ef21b04bd716b9136a827d9fe7b90c32e2c /app/templates/index.html
downloadcheatdb-366a2302d092c12f388f0eb8efb4faaa3acd3303.tar.xz
Initial commit
Diffstat (limited to 'app/templates/index.html')
-rw-r--r--app/templates/index.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/app/templates/index.html b/app/templates/index.html
new file mode 100644
index 0000000..541b230
--- /dev/null
+++ b/app/templates/index.html
@@ -0,0 +1,35 @@
+{% extends "base.html" %}
+
+{% block title %}
+Dashboard
+{% endblock %}
+
+{% block content %}
+ <div class="box box_grey">
+ <h2>{{ self.title() }}</h2>
+
+ {% if current_user.is_authenticated %}
+ <p>
+ Hello user!
+ </p>
+ {% else %}
+ <p>
+ Please login!
+ </p>
+ {% endif %}
+ </div>
+
+ <div class="2box">
+ <div class="box box_grey">
+ <h2>Top Mods</h2>
+ </div>
+ <div class="box box_grey">
+ <h2>Statistics</h2>
+ <ul>
+ <li>Total mods: 543</li>
+ <li>Missing mods: 1020</li>
+ <li>Downloads/day: 200</li>
+ </ul>
+ </div>
+ </div>
+{% endblock %}