diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2013-09-04 15:35:01 +0000 |
---|---|---|
committer | pad <pad@vm-pad-b.spline.inf.fu-berlin.de> | 2013-09-04 15:41:27 +0000 |
commit | 9fa4af9a1923df8bc352b5a1c5fe24e08bdf553f (patch) | |
tree | 824716f92f9cf1712ed8cba57458fcfd71943a06 /templates/index.html | |
parent | 6ef92894a3a0c693837f6152aee03a64d8d44659 (diff) | |
download | padlite-teams-9fa4af9a1923df8bc352b5a1c5fe24e08bdf553f.tar.gz padlite-teams-9fa4af9a1923df8bc352b5a1c5fe24e08bdf553f.tar.bz2 padlite-teams-9fa4af9a1923df8bc352b5a1c5fe24e08bdf553f.zip |
views: add simple index view
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..eef2f0c --- /dev/null +++ b/templates/index.html @@ -0,0 +1,20 @@ +{% extends "layout.html" %} +{% from "_formhelpers.html" import render_field %} + +{% block head %}Hello {{user.username}}!{% endblock %} + +{% block content %} +<div class="panel panel-default"> + <div class="panel-heading"> + <h3 class="panel-title">Your groups</h3> + </div> + + <div class="list-group"> + {% for group in groups %} + <li class="list-group-item">{{group}}</li> + {% endfor %} + </div> +</div> + +<a class="btn btn-default btn-block" href="{{ url_for('auth.logout') }}">Logout</a> +{% endblock %} |