etiquette/templates/albums.html

36 lines
654 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(session=session)}}
2016-09-18 08:33:46 +00:00
<div id="content_body">
{% for album in albums %}
{% if album.title %}
{% set title=album.id + " " + album.title %}
2016-09-18 08:33:46 +00:00
{% else %}
{% set title=album.id %}
2016-09-18 08:33:46 +00:00
{% endif %}
<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>