summaryrefslogtreecommitdiff
path: root/nop/templates/nop_form.html
blob: e3b32e9cd7bdcdde4cece48e2eeb13066b51ff9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<html>
<head>
  <title>Now Playing &mdash; Radio Helsinki - Freies Radio Graz</title>
  <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js"></script>
  <script type="text/javascript" src="http://cdn.jquerytools.org/1.2.5/form/jquery.tools.min.js"></script>
  <script type="text/javascript" src="/nop/static/anytimec.js"></script>
  <script type="text/javascript" src="/nop/static/nowplaying_form.js"></script>
  <link rel="stylesheet" type="text/css" href="/nop/static/dateinput.css"/>
  <link rel="stylesheet" type="text/css" href="/nop/static/anytimec.css"/>
</head>
<body>

  <div id="content-main" class="show-detail">
    <form action="/nop" method="get">
      {{ form.as_table }}
      <input type="submit" value="senden" />
    </form>

    {% if nowplaying %}
    <ul>
      {% for track in nowplaying %}
      <li>
        {% if track.start or track.show %}
          <small>
            {% if track.start %}{{track.start}}{% endif %}
            {% if track.start and track.show %},{% endif %}
            {% if track.show %}Sendung {{track.show}}{% endif %}
            {% if track.artist or track.title or track.album %}:{% endif %}
          </small>
        {% endif %}
        {% if track.artist %}
          <strong>{{track.artist}}</strong>
        {% endif %}
        {% if track.artist and track.title or track.artist and track.album %}|{% endif %}
        {% if track.title %}{{track.title}}{% endif %}
        {% if track.title and track.album %}|{% endif %}
        {% if track.album %}{{track.album}}{% endif %}
      </li>
      {% endfor %}
    </ul>
    {% endif %}
  </div>

</body>
</html>