mirror of
https://github.com/sigmasternchen/Diary
synced 2025-03-15 15:18:57 +00:00
24 lines
692 B
HTML
24 lines
692 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Diary</title>
|
|
<link rel="stylesheet" href="{{ url_for('static',filename='style.css') }}"/>
|
|
<script src="{{ url_for('static',filename='script.js') }}"></script>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
<a href="{{ url_for('logout') }}">Logout</a>
|
|
<form method="post" action="{{ url_for('newdiary')}}">
|
|
New diary: <input type="text" name="name" placeholder="name of diary"><input type="submit">
|
|
</form>
|
|
</p>
|
|
<ul>
|
|
{% for d in diaries %}
|
|
<li>
|
|
<a href="{{ url_for('diary',name=d.name) }}">{{ d.name }}</a>
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</body>
|
|
</html>
|