crunk
3 years ago
7 changed files with 86 additions and 10 deletions
@ -0,0 +1,50 @@ |
|||||
|
{% 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 %} |
||||
|
{% if adminuser %} |
||||
|
<div class="admin"> |
||||
|
<a href="/admin"> |
||||
|
<input type="button" name="button" value="Admin"></input> |
||||
|
</a> |
||||
|
</div> |
||||
|
{% endif %} |
||||
|
</div> |
||||
|
{% if current_user.is_authenticated %} |
||||
|
<h2 id="fancyboi"> Hi {{ current_user.email }}!</h2> |
||||
|
{% else %} |
||||
|
<h2 id="fancyboi"> Welcome to distribusi-verse</h2> |
||||
|
{% endif %} |
||||
|
<div class="maincontent"> |
||||
|
<h2>Distribusi-verse</h2> |
||||
|
<h3>Zipfiles become websites</h3> |
||||
|
<h3>Folders become links and pages</h3> |
||||
|
<h3>Media files become visible</h3> |
||||
|
<h3>Text files become readable</h3> |
||||
|
<h3>Use Css to style your page</h3> |
||||
|
</div> |
||||
|
<!-- a div with all the distribusis listed in the distribusiverse --> |
||||
|
|
||||
|
{% endblock %} |
Loading…
Reference in new issue