diff options
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 %} |