Mercurial > dottes
annotate dottes.html.tune @ 533:36d43edbd3f5
Correct web generation.
1. Subtitle and composer to be HTML not Latex.
2. Fix escaping of & in sed patterns.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Sun, 13 Dec 2015 17:50:23 +0000 |
parents | e16c20e63d9c |
children | afc031477784 |
rev | line source |
---|---|
197
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
1 <!DOCTYPE html> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
2 <html lang="en"> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
3 <head> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
4 <meta charset="utf-8" /> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
5 <title>Cry Havoc tunes - @TITLE@</title> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
6 <link rel="stylesheet" href="../css/reset.css" /> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
7 <link rel="stylesheet" href="../css/text.css" /> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
8 <link rel="stylesheet" href="../css/960.css" /> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
9 <link rel="stylesheet" href="../css/dottes.css" /> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
10 |
443
ae0836b5f4dd
Change main body font to Open Sans, to match the main Havoc website.
Jim Hague <jim.hague@acm.org>
parents:
430
diff
changeset
|
11 <link href='http://fonts.googleapis.com/css?family=Pirata+One|Open+Sans' |
197
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
12 rel='stylesheet' type='text/css'> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
13 </head> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
14 <body> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
15 <div class="container_12"> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
16 <a href="/"> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
17 <div class="grid_12 header-strip banner"> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
18 <h1>Ye Crie Havock Booke of Dottes</h1> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
19 </div> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
20 </a> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
21 |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
22 <div class="grid_12 dottes-body"> |
319
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
23 <div class="dottes-tune-display"> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
24 <div class="dottes-tune-header"> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
25 <div class="dottes-tune-header-row"> |
410
723aa1ff3b8b
Add link from dots page to learner page and vice-versa.
Jim Hague <jim.hague@acm.org>
parents:
382
diff
changeset
|
26 <div class="dottes-tune-header-left"> |
430
ab1b5b833a0c
Remove line between icons. It's a link underline.
Jim Hague <jim.hague@acm.org>
parents:
425
diff
changeset
|
27 <a class="dottes-tune-icon-link" href="learner-@TUNE@.html"> |
410
723aa1ff3b8b
Add link from dots page to learner page and vice-versa.
Jim Hague <jim.hague@acm.org>
parents:
382
diff
changeset
|
28 <img class="dottes-tune-table-image" src="../img/learner.png" |
723aa1ff3b8b
Add link from dots page to learner page and vice-versa.
Jim Hague <jim.hague@acm.org>
parents:
382
diff
changeset
|
29 alt="Learner"> |
723aa1ff3b8b
Add link from dots page to learner page and vice-versa.
Jim Hague <jim.hague@acm.org>
parents:
382
diff
changeset
|
30 </a> |
430
ab1b5b833a0c
Remove line between icons. It's a link underline.
Jim Hague <jim.hague@acm.org>
parents:
425
diff
changeset
|
31 <a class="dottes-tune-icon-link" href="index.html"> |
425
16ddd82b51bc
Add book icon to return from tune or learner page to tune index page.
Jim Hague <jim.hague@acm.org>
parents:
410
diff
changeset
|
32 <img class="dottes-tune-table-image" src="../img/book.png" |
16ddd82b51bc
Add book icon to return from tune or learner page to tune index page.
Jim Hague <jim.hague@acm.org>
parents:
410
diff
changeset
|
33 alt="Tune index"> |
16ddd82b51bc
Add book icon to return from tune or learner page to tune index page.
Jim Hague <jim.hague@acm.org>
parents:
410
diff
changeset
|
34 </a> |
410
723aa1ff3b8b
Add link from dots page to learner page and vice-versa.
Jim Hague <jim.hague@acm.org>
parents:
382
diff
changeset
|
35 </div> |
319
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
36 <div class="dottes-tune-header-middle"> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
37 <h1>@TITLE@</h1> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
38 <h2>@SUBTITLE@</h2> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
39 </div> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
40 <div class="dottes-tune-header-right"> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
41 <em>@COMPOSER@</em> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
42 </div> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
43 </div> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
44 </div> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
45 <img class="dottes-png" src="@TUNE@.png" alt="@TITLE@ dots"> |
326
27f29e8aafea
Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents:
319
diff
changeset
|
46 <div class="dottes-credit-@CREDITVISIBILITY@"> |
27f29e8aafea
Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents:
319
diff
changeset
|
47 From @CREDIT@. |
27f29e8aafea
Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents:
319
diff
changeset
|
48 </div> |
319
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
49 <div class="dottes-change-@CHANGEVISIBILITY@"> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
50 Change: <a class="dottes-change-link" |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
51 href="@CHANGETUNE@">@CHANGETITLE@</a> |
cbe9c10b5a3e
Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents:
229
diff
changeset
|
52 </div> |
355
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
53 <div class="dottes-tune-footer"> |
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
54 <div class="dottes-tune-footer-row"> |
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
55 <div class="dottes-tune-footer-left"> |
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
56 <ul class="tune-data-list"> |
488
e16c20e63d9c
Decide that all links for downloading things should get HTML5 download tags.
Jim Hague <jim.hague@acm.org>
parents:
486
diff
changeset
|
57 <li><a class="dottes-link-tune dottes-pdf" download |
355
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
58 href="@TUNE@.pdf">PDF</a></li> |
488
e16c20e63d9c
Decide that all links for downloading things should get HTML5 download tags.
Jim Hague <jim.hague@acm.org>
parents:
486
diff
changeset
|
59 <li><a class="dottes-link-tune dottes-midi" download |
355
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
60 href="../@MASTERBOOKE@/@TUNE@.mid">MIDI</a></li> |
488
e16c20e63d9c
Decide that all links for downloading things should get HTML5 download tags.
Jim Hague <jim.hague@acm.org>
parents:
486
diff
changeset
|
61 <li><a class="dottes-link-tune dottes-mp3" download |
355
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
62 href="../@MASTERBOOKE@/@TUNE@.mp3">MP3</a></li> |
488
e16c20e63d9c
Decide that all links for downloading things should get HTML5 download tags.
Jim Hague <jim.hague@acm.org>
parents:
486
diff
changeset
|
63 <li><a class="dottes-link-tune dottes-ogg" download |
369
e5f59f0e7dd5
Add audio player to tune web page.
Jim Hague <jim.hague@acm.org>
parents:
355
diff
changeset
|
64 href="../@MASTERBOOKE@/@TUNE@.ogg">OGG</a></li> |
486
e340218b9d11
Add HTML5 download tag to ABC and XML links in tune page.
Jim Hague <jim.hague@acm.org>
parents:
484
diff
changeset
|
65 <li><a class="dottes-link-tune dottes-abc" download |
355
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
66 href="@TUNE@.abc">ABC</a></li> |
486
e340218b9d11
Add HTML5 download tag to ABC and XML links in tune page.
Jim Hague <jim.hague@acm.org>
parents:
484
diff
changeset
|
67 <li><a class="dottes-link-tune dottes-xml" download |
484
4fab69a1027d
Add MusicXML conversion to tune pages.
Jim Hague <jim.hague@acm.org>
parents:
443
diff
changeset
|
68 href="@TUNE@.xml">XML</a></li> |
355
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
69 </ul> |
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
70 </div> |
369
e5f59f0e7dd5
Add audio player to tune web page.
Jim Hague <jim.hague@acm.org>
parents:
355
diff
changeset
|
71 <div class="dottes-tune-footer-centre"> |
e5f59f0e7dd5
Add audio player to tune web page.
Jim Hague <jim.hague@acm.org>
parents:
355
diff
changeset
|
72 <audio controls> |
372
0e8f58e33270
Correct location of audio files for audio player.
Jim Hague <jim.hague@acm.org>
parents:
369
diff
changeset
|
73 <source src="../@MASTERBOOKE@/@TUNE@.mp3" type="audio/mpeg" /> |
0e8f58e33270
Correct location of audio files for audio player.
Jim Hague <jim.hague@acm.org>
parents:
369
diff
changeset
|
74 <source src="../@MASTERBOOKE@/@TUNE@.ogg" type="audio/ogg" /> |
382 | 75 <object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95"> |
76 <param name="FileName" value="@TUNE@.mp3" /> | |
379
6c96275965d6
Attempt to allow IE8 to show audio controller to play files.
Jim Hague <jim.hague@acm.org>
parents:
372
diff
changeset
|
77 <param name="autoStart" value="false" /> |
6c96275965d6
Attempt to allow IE8 to show audio controller to play files.
Jim Hague <jim.hague@acm.org>
parents:
372
diff
changeset
|
78 <param name="autoplay" value="false" /> |
382 | 79 <object type="audio/mpeg" data="@TUNE@.mp3"> |
80 <param name="controller" value="true" /> | |
81 <param name="autoplay" value="false" /> | |
82 </object> | |
379
6c96275965d6
Attempt to allow IE8 to show audio controller to play files.
Jim Hague <jim.hague@acm.org>
parents:
372
diff
changeset
|
83 </object> |
369
e5f59f0e7dd5
Add audio player to tune web page.
Jim Hague <jim.hague@acm.org>
parents:
355
diff
changeset
|
84 </audio> |
e5f59f0e7dd5
Add audio player to tune web page.
Jim Hague <jim.hague@acm.org>
parents:
355
diff
changeset
|
85 </div> |
355
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
86 <div class="dottes-tune-footer-right"> |
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
87 Last changed @LASTCHANGED@ |
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
88 </div> |
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
89 </div> |
b233893b4c51
Add date of last change to bottom of web tune page.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
90 </div> |
229 | 91 </div> |
197
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
92 </div> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
93 |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
94 </div> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
95 </body> |
8f352063f277
Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
96 </html> |