Files
kontor/bottle/views/comic_template.tpl
T
2025-01-14 15:35:53 +01:00

52 lines
1.3 KiB
Smarty

<!DOCTYPE html>
<html>
<head>
<title>Kontor</title>
<link rel="stylesheet" href="/css/kontor.css">
</head>
<body>
<header>Kontor</header>
<nav><ul>
<li><a href="/">Kontor</a></li>
<li><a href="/comics">Comics</a></li>
<ul>
<li><a href="/comics/artist">Artists</a></li>
<li><a href="/comics/publisher">Publishers</a></li>
</ul>
<li><a href="/library">B&uuml;cher</a></li>
<li><a href="/medien">Medien</a></li>
<li><a href="/tradingcards">Trading Cards</a></li>
</ul></nav>
<main role="main">
<details>
<form action="/comics/comic/create" method="POST">
{{errors}}
<h2>Title</h2>
<input type="hidden" name="id", value="{{id}}">
<input type="text" name="title" size="60" value="{{title}}"><br>
<p>
<label>
<input type="checkbox" name="current_order" size="60" value="{{current_order}}">
Current Order
</label>
<label>
<input type="checkbox" name="completed" size="60" value="{{completed}}">
Completed
</label>
<p>
<input type="submit" value="Submit">
</form>
</details>
</main>
<footer>
%if (username == None):
<a href="/login">Login</a>
%end
%if (username != None):
<a href="/logout">{{username}}</a>
%end
<p>Ingenieurb&uuml;ro Thomas Peetz</p>
</footer>
</body>
</html>