35 lines
		
	
	
	
		
			675 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
	
		
			675 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(session=session)}}
 | |
| <div id="content_body">
 | |
|     {% for album in albums %}
 | |
|     {% if album["title"] %}
 | |
|     {% set title=album["id"] + " " + album["title"] %}
 | |
|     {% else %}
 | |
|     {% set title=album["id"] %}
 | |
|     {% endif %}
 | |
|     <div><a href="/album/{{album["id"]}}">{{album["id"] + " " + album["title"]}}</a></div>
 | |
|     {% endfor %}
 | |
| </div>
 | |
| </body>
 | |
| 
 | |
| 
 | |
| <script type="text/javascript">
 | |
| </script>
 | |
| </html>
 |