Mercurial > code > home > repos > light9
annotate light9/ascoltami/index.html @ 2364:1d9a0a304dc7
rm dead features
author | drewp@bigasterisk.com |
---|---|
date | Sat, 03 Jun 2023 18:31:35 -0700 |
parents | 7f30a35f3bf5 |
children |
rev | line source |
---|---|
2050
7ed414bdaab9
wip porting asco to TS and not-jquery
drewp@bigasterisk.com
parents:
1928
diff
changeset
|
1 <!DOCTYPE html> |
7ed414bdaab9
wip porting asco to TS and not-jquery
drewp@bigasterisk.com
parents:
1928
diff
changeset
|
2 <html> |
529 | 3 <head> |
1928
1cb63991eb19
asco use cyclone templating instead of genshi
Drew Perttula <drewp@bigasterisk.com>
parents:
1845
diff
changeset
|
4 <title>ascoltami on {{host}}</title> |
2111 | 5 <link rel="stylesheet" href="./style.css" /> |
1844 | 6 <style> |
2066 | 7 #cmd-go { |
8 min-width: 5em; | |
9 } | |
10 .song-name { | |
11 padding-left: 0.4em; | |
12 } | |
2131 | 13 .dimStalled #currentTime { |
2361 | 14 font-size: 20px; |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
15 background: green; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
16 color: black; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
17 padding: 3px; |
2131 | 18 } |
19 .dimStalled { | |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
20 font-size: 90%; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
21 } |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
22 body { |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
23 margin: 0; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
24 padding: 0; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
25 overflow: hidden; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
26 min-height: 100vh; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
27 } |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
28 #page { |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
29 width: 100%; |
2361 | 30 height: 100vh; /* my phone was losing the bottom :( */ |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
31 display: flex; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
32 flex-direction: column; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
33 } |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
34 #page > div, |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
35 #page > p { |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
36 flex: 0 1 auto; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
37 margin: 0; |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
38 } |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
39 light9-ascoltami-ui { |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
40 flex: 1 1 auto; |
2131 | 41 } |
1844 | 42 </style> |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
43 <meta |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
44 name="viewport" |
2312
3f0b889c8fa9
don't let phone users click on song uris by mistake
drewp@bigasterisk.com
parents:
2135
diff
changeset
|
45 content="user-scalable=no, width=device-width, initial-scale=.7" |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
46 /> |
2122 | 47 <script type="module" src="../ascoltami/Light9AscoltamiUi"></script> |
529 | 48 </head> |
49 <body> | |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
50 <div id="page"> |
2361 | 51 <h1>ascoltami on {{host}}</h1> |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
52 <div class="songs" style="display: none"></div> |
529 | 53 |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
54 <div class="dimStalled"> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
55 <table> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
56 <tr> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
57 <td colspan="3"> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
58 <strong>Song:</strong> <span id="currentSong"></span> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
59 </td> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
60 </tr> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
61 <tr> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
62 <td><strong>Time:</strong> <span id="currentTime"></span></td> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
63 <td><strong>Left:</strong> <span id="leftTime"></span></td> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
64 <td> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
65 <strong>Until autostop:</strong> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
66 <span id="leftAutoStopTime"></span> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
67 </td> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
68 </tr> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
69 <tr> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
70 <td colspan="3"> |
2364 | 71 <span id="states"></span> |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
72 </td> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
73 </tr> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
74 </table> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
75 </div> |
2066 | 76 |
2135
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
77 <hr /> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
78 <light9-ascoltami-ui></light9-ascoltami-ui> |
197a4ec877a7
acso relayout so only the song list scrolls
drewp@bigasterisk.com
parents:
2131
diff
changeset
|
79 <p><a href="">reload</a></p> |
529 | 80 </div> |
2123 | 81 <script type="module" src="../ascoltami/main.ts"></script> |
529 | 82 </body> |
788 | 83 </html> |