2023-05-29 21:25:50 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
2023-07-09 04:26:28 +00:00
|
|
|
{% block title %}Welcome to What 2 Watch, Bish{% endblock %}
|
2023-05-29 21:25:50 +00:00
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
2023-07-09 04:26:28 +00:00
|
|
|
<h1>Welcome to What 2 Watch</h1>
|
2023-05-29 21:25:50 +00:00
|
|
|
|
|
|
|
{% match user %}
|
2023-12-30 20:18:08 +00:00
|
|
|
{% when Some with (usr) %}
|
2023-05-29 21:25:50 +00:00
|
|
|
<p>
|
2023-06-08 22:45:34 +00:00
|
|
|
Hello, {{ usr.username }}! It's nice to see you. <a href="watches">Let's get watchin'!</a>
|
2023-05-29 21:25:50 +00:00
|
|
|
</p>
|
|
|
|
</br>
|
|
|
|
<p>
|
2023-12-30 20:18:08 +00:00
|
|
|
<form action="/logout" enctype="application/x-www-form-urlencoded" method="post">
|
2023-05-29 21:25:50 +00:00
|
|
|
<input type="submit" value="sign out?">
|
2023-12-30 20:18:08 +00:00
|
|
|
</form>
|
2023-05-29 21:25:50 +00:00
|
|
|
</p>
|
2023-12-30 20:18:08 +00:00
|
|
|
{% when None %}
|
2023-05-29 21:25:50 +00:00
|
|
|
<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>?
|
2023-05-29 21:25:50 +00:00
|
|
|
</p>
|
|
|
|
{% endmatch %}
|
|
|
|
|
|
|
|
{% endblock %}
|