view dottes.html.tune @ 229:1e4443d58177

Modify Change tune handling. Change all change notes to reference the filename of the tune to change to. Modify web and document generators to pull the change note out of the abc and generate an appropiate bit of content. This is now, in both cases, a hyperlink. In the process, remove the tune-specific .tex facility. It wasn't being used. I could really do with a proper templating system, and using some sort of templating in the LaTeX generation.
author Jim Hague <jim.hague@acm.org>
date Sat, 23 Feb 2013 13:10:58 +0000
parents 0ef955669a9a
children cbe9c10b5a3e
line wrap: on
line source

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8" />
  <title>Cry Havoc tunes - @TITLE@</title>
  <link rel="stylesheet" href="../css/reset.css" />
  <link rel="stylesheet" href="../css/text.css" />
  <link rel="stylesheet" href="../css/960.css" />
  <link rel="stylesheet" href="../css/dottes.css" />

  <link href='http://fonts.googleapis.com/css?family=Pirata+One|Oswald'
        rel='stylesheet' type='text/css'>
</head>
<body>
  <div class="container_12">
    <a href="/">
      <div class="grid_12 header-strip banner">
        <h1>Ye Crie Havock Booke of Dottes</h1>
      </div>
    </a>

    <div class="grid_12 dottes-body">
      <h1>@TITLE@</h1>
      <img class="dottes-png" src="@TUNE@.png" alt="@TITLE@ dots">
      <div class="dottes-change-@CHANGEVISIBILITY@">
        Change: <a class="dottes-change-link"
                   href="@CHANGETUNE@">@CHANGETITLE@</a>
      </div>
      <ul class="tune-data-list">
        <li><a class="dottes-link-tune dottes-pdf"
               href="@TUNE@.pdf">PDF</a></li>
        <li><a class="dottes-link-tune dottes-midi"
               href="../@MASTERBOOKE@/@TUNE@.mid">MIDI</a></li>
        <li><a class="dottes-link-tune dottes-mp3"
               href="../@MASTERBOOKE@/@TUNE@.mp3">MP3</a></li>
        <li><a class="dottes-link-tune dottes-abc"
               href="@TUNE@.abc">ABC</a></li>
      </ul>
    </div>

  </div>
</body>
</html>