index.html 577 Bytes
Newer Older
1
2
3
4
5
6
7
8
{% extends 'layout.html' %}

{% block title %} Home {% endblock %}

{% block content %}

<div class="row">
	<div class="col-md-6 col-md-offset-3">
9
		<h2> Welcome, {{session['name']}}! </h2>
10
		{% if session['name'] %}
11
		<h4> Explore your applications or create a new one. </h4>
12
		<ol>
13
			{% for app in apps %}
Vladislav Rykov's avatar
Vladislav Rykov committed
14
			<li><a href="/app?appkey={{ app[1] }}"> {{ app[0] }} </a></li>
15
			{% endfor %}
16
		</ol>
17
		<a href="/new-app"><button class="btn btn-primary" type="submit">New Application</button></a>
18
19
20
21
22
23
24
		{% else %}
		<p>Log in, please</p>
		{% endif %}
	</div>
</div>

{% endblock %}