forked from crunk/distribusi-verse
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.0 KiB
42 lines
1.0 KiB
{% extends "base.html" %}
|
|
{% block main %}
|
|
<div id="buttons">
|
|
{% if not current_user.is_authenticated %}
|
|
<div class="signin">
|
|
<a href="/login">
|
|
<input type="button" name="button" value="Sign in"></input>
|
|
</a>
|
|
</div>
|
|
<div class="signin">
|
|
<a href="/register">
|
|
<input type="button" name="button" value="Register"></input>
|
|
</a>
|
|
</div>
|
|
{% else %}
|
|
<div class="distribusi">
|
|
<a href="/distribusi">
|
|
<input type="button" name="button" value="Distribusi"></input>
|
|
</a>
|
|
</div>
|
|
<div class="logout">
|
|
<a href="/logout">
|
|
<input type="button" name="button" value="Logout"></input>
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
{% if current_user.is_authenticated %}
|
|
<h2> Hi {{ current_user.email }}! </h2>
|
|
{% endif %}
|
|
|
|
<!-- a div with all the distribusis listed in the distribusiverse -->
|
|
<div id="distribusiverse">
|
|
<h2>List of distribusis</h2>
|
|
<ul>
|
|
{% for distribusiname in distribusinames %}
|
|
<li><a href="stash/{{distribusiname}}/index.html">{{distribusiname}}</a></li>
|
|
{% endfor%}
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|
|
|