|
1 | 1 | <!DOCTYPE html>
|
2 |
| -<html> |
| 2 | +<html lang="en"> |
3 | 3 | <head>
|
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | + <meta name="description" content="the music geek’s media organizer"> |
| 7 | + <meta name="keywords" |
| 8 | + content="beets, media, music, library, metadata, player, tagger, grep, transcoder, organizer"> |
4 | 9 | <title>beets</title>
|
5 |
| - |
6 | 10 | <link rel="stylesheet"
|
7 |
| - href="{{ url_for('static', filename='beets.css') }}" type="text/css"> |
8 |
| - |
| 11 | + href="{{ url_for('static', filename='beets.css') }}" |
| 12 | + type="text/css"> |
9 | 13 | <script src="{{ url_for('static', filename='jquery.js') }}"></script>
|
10 |
| - <script src="{{ url_for('static', filename='underscore.js') }}"> |
11 |
| - </script> |
| 14 | + <script src="{{ url_for('static', filename='underscore.js') }}"></script> |
12 | 15 | <script src="{{ url_for('static', filename='backbone.js') }}"></script>
|
13 | 16 | <script src="{{ url_for('static', filename='beets.js') }}"></script>
|
14 | 17 | </head>
|
|
17 | 20 | <h1>beets</h1>
|
18 | 21 | <div id="player">
|
19 | 22 | <audio></audio>
|
20 |
| - |
21 | 23 | <button class="disabled">▶</button>
|
22 | 24 | <button class="play">▶</button>
|
23 | 25 | <button class="pause" style="letter-spacing: 1px;">❙❙</button>
|
24 |
| - |
25 | 26 | <span class="times">
|
26 |
| - <span class="currentTime"> |
27 |
| - </span> |
| 27 | + <span class="currentTime"></span> |
28 | 28 | </span>
|
29 | 29 | </div>
|
30 | 30 | </div>
|
31 |
| - |
32 | 31 | <div id="entities">
|
33 | 32 | <form id="queryForm">
|
34 | 33 | <input type="search" id="query" placeholder="Query">
|
35 | 34 | </form>
|
36 | 35 | <ul id="results">
|
37 | 36 | </ul>
|
38 | 37 | </div>
|
39 |
| - |
40 |
| - <div id="main-detail"> |
41 |
| - </div> |
42 |
| - |
43 |
| - <div id="extra-detail"> |
44 |
| - </div> |
45 |
| - |
| 38 | + <div id="main-detail"></div> |
| 39 | + <div id="extra-detail"></div> |
46 | 40 | <!-- Templates. -->
|
47 | 41 | <script type="text/template" id="item-entry-template">
|
| 42 | + <% if (artist) { %><%= artist %><% } %> |
| 43 | + <% if (artist && album) { %> – <% } %> |
| 44 | + <% if (album) { %><%= album %><% } %> |
| 45 | + <% if ((artist || album) && title) { %> – <% } %> |
48 | 46 | <%= title %>
|
49 | 47 | <span class="playing">▶</span>
|
50 | 48 | </script>
|
|
0 commit comments