distribusi-verse/verse/templates/index.html
2022-01-05 15:10:18 +01:00

46 lines
1.0 KiB
HTML

{% extends "base.html" %}
{% block main %}
<section 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 %}
</section>
{% if current_user.is_authenticated %}
<h2> Hi {{ current_user.email }}! </h2>
{% endif %}
<!-- a section with all the distribusis listed in the distribusiverse -->
<section id="distribusiverse">
<h2>List of distribusis</h2>
<ul>
<li>CCL</li>
<li>Crunk</li>
<li>CMOS4010</li>
<li>CMOS4046</li>
<li>Other Names</li>
<li>List of stuff</li>
</ul>
</section>
{% endblock %}