Debian Codegraph @

mopidy_local/www/index.html

raw
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="UTF-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>Mopidy-Local</title>
7 <link rel="stylesheet" href="/mopidy/mopidy.css" type="text/css" media="screen, print">
8 <style>
9 #thumbnails {
10 display: grid;
11 grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
12 grid-gap: 2px;
13 line-height: 0%;
14 }
15 #thumbnails a {
16 border: none;
17 }
18 #thumbnails img {
19 border: none;
20 width: 100%;
21 aspect-ratio: 1;
22 }
23 </style>
24 </head>
25 <body>
26 <div class="box focus">
27 <h1>Mopidy-Local</h1>
28 <p>
29 This Web client is used to serve album art extracted from local
30 media files by the Mopidy-Local extension.
31 </p>
32 </div>
33 <div class="box">
34 <h2>Image cache</h2>
35 <p>Images extracted from local media files will automatically appear
36 here.</p>
37 <div id="thumbnails">
38 {% for image in images %}
39 <a href="{{image}}">
40 <img src="{{image}}" alt="Album art thumbnail" loading="lazy">
41 </a>
42 {% end %}
43 </div>
44 </div>
45 </body>
46 </html>