etiquette/templates/albums.html

36 lines
660 B
HTML
Raw Normal View History

2016-09-18 08:33:46 +00:00
<!DOCTYPE html5>
<html>
<head>
{% import "header.html" as header %}
<title>Albums</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="/static/common.css">
2016-11-27 09:06:11 +00:00
2016-09-18 08:33:46 +00:00
<style>
#content_body
{
flex-direction: column;
}
</style>
2016-11-27 09:06:11 +00:00
</head>
2016-09-18 08:33:46 +00:00
<body>
{{header.make_header()}}
<div id="content_body">
{% for album in albums %}
2016-11-06 04:24:43 +00:00
{% if album["title"] %}
{% set title=album["id"] + " " + album["title"] %}
2016-09-18 08:33:46 +00:00
{% else %}
2016-11-06 04:24:43 +00:00
{% set title=album["id"] %}
2016-09-18 08:33:46 +00:00
{% endif %}
2016-12-14 21:26:42 +00:00
<div><a href="/album/{{album["id"]}}">{{album["id"] + " " + album["title"]}}</a></div>
2016-09-18 08:33:46 +00:00
{% endfor %}
</div>
</body>
<script type="text/javascript">
2016-11-27 09:06:11 +00:00
</script>
</html>