]> git.0d.be Git - earwig.git/blob - earwig/templates/earwig/home.html
add cover and title to player
[earwig.git] / earwig / templates / earwig / home.html
1 {% extends "earwig/base_public.html" %}
2 {% load i18n %}
3
4 {% block body %}
5
6 <header class="hidden">
7 <div id="cover">
8 </div>
9 <div>
10   <span id="title">&nbsp;</span>
11   <audio controls></audio>
12 </div>
13 </header>
14
15 <form id="filter">
16 <input type="search"> <button>{% trans "Search" %}</button>
17 </form>
18
19 <div id="content">
20 {% for sound in object_list|slice:":50" %}
21 <div class="tile" style="background-image: url({% url 'sound-image' pk=sound.pk %})">
22   <a href="#" data-sound-uri="{{ sound.sound_url }}">
23     <span class="channel">{{ sound.channel.title }}</span>
24     <span class="sound">{{ sound.title }}</span>
25   </a>
26 </div>
27 {% endfor %}
28 </div>
29
30 {% endblock %}