etiquette/templates/albums.html

35 lines
620 B
HTML

<!DOCTYPE html5>
<html>
<head>
{% import "header.html" as header %}
<title>Albums</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="/static/common.css">
<style>
#content_body
{
flex-direction: column;
}
</style>
</head>
<body>
{{header.make_header()}}
<div id="content_body">
{% for album in albums %}
{% if album["title"] %}
{% set title=album["id"] + " " + album["title"] %}
{% else %}
{% set title=album["id"] %}
{% endif %}
<a href="/album/{{album["id"]}}">{{title}}</a>
{% endfor %}
</div>
</body>
<script type="text/javascript">
</script>
</html>