what2watch/templates/index.html

27 lines
584 B
HTML
Raw Permalink Normal View History

{% extends "base.html" %}
2024-04-12 05:15:34 +00:00
{% block title %}Welcome to What 2 Watch, Buddy{% endblock %}
{% block content %}
2023-07-09 04:26:28 +00:00
<h1>Welcome to What 2 Watch</h1>
{% match user %}
2023-12-30 20:18:08 +00:00
{% when Some with (usr) %}
<p>
Hello, {{ usr.username }}! It's nice to see you. <a href="watches">Let's get watchin'!</a>
</p>
</br>
<p>
2023-12-30 20:18:08 +00:00
<form action="/logout" enctype="application/x-www-form-urlencoded" method="post">
<input type="submit" value="sign out?">
2023-12-30 20:18:08 +00:00
</form>
</p>
2023-12-30 20:18:08 +00:00
{% when None %}
<p>
2023-12-30 20:18:08 +00:00
Heya, why don't you <a href="/login">log in</a> or <a href="/signup">sign up</a>?
</p>
{% endmatch %}
{% endblock %}