diff options
author | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-21 21:26:35 (GMT) |
---|---|---|
committer | Ernesto Rico-Schmidt <e.rico.schmidt@gmail.com> | 2011-03-21 21:26:35 (GMT) |
commit | da7a48b7014613636b5e4a84866b6e0da3797d1a (patch) | |
tree | af943a2a70ba2460df6e2b1a70cb2985f3405250 | |
parent | 0479a170a2198fe3af68a9d175de58b18e51ed67 (diff) |
added templates for current & dav/today views.
-rw-r--r-- | templates/program/current.html | 14 | ||||
-rw-r--r-- | templates/program/day_schedule.html | 48 | ||||
-rw-r--r-- | templates/program/today_schedule.html | 48 |
3 files changed, 110 insertions, 0 deletions
diff --git a/templates/program/current.html b/templates/program/current.html new file mode 100644 index 0000000..fd53d45 --- /dev/null +++ b/templates/program/current.html @@ -0,0 +1,14 @@ + +<div id="program-now"> + <div id="current-show"> + {{ current }} + </div> + + <div id="next-show"> + {{ next }} + </div> + + <div id="after-next-show"> + {{ after_next }} + </div> +</div>
\ No newline at end of file diff --git a/templates/program/day_schedule.html b/templates/program/day_schedule.html new file mode 100644 index 0000000..cb32ae8 --- /dev/null +++ b/templates/program/day_schedule.html @@ -0,0 +1,48 @@ + + +<div id="calendar"> +</div> + +<div id="recommendations"> + {% for recommendation in recommendations %} + <div>{{ recommendation.timeslot.start|date:"H:i" }}</div> + <div>{{ recommendation.timeslot.programslot.show.name }}</div> + <div><a href="{% url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></div> + {% endfor %} +</div> + +<div> + {% for timeslot in timeslots %} + <div> + <span class="time">{{ timeslot.start|date:"H:i" }}</span> + <span class="abbrev"> + {% for showinformation in timeslot.programslot.show.showinformation.all %} + {{ showinformation.abbrev }} + {% endfor %} + </span> + <span class="abbrev"> + {% for showtopic in timeslot.programslot.show.showtopic.all %} + {{ showtopic.abbrev }} + {% endfor %} + </span> + <span class="abbrev"> + {% for musicfocus in timeslot.programslot.show.musicfocus.all %} + {{ musicfocus.abbrev }} + {% endfor %} + </span> + <span class="timeslot"> + <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show }}</a> + {% if timeslot.note %} + <span>Heute: {{ timeslot.note.title }}</span> + {% endif %} + </span> + {% endfor %} +</div> + +<div> + {% for broadcastformat in broadcastformats %} + <div> + {{ broadcastformat }} + </div> + {% endfor %} +</div>
\ No newline at end of file diff --git a/templates/program/today_schedule.html b/templates/program/today_schedule.html new file mode 100644 index 0000000..cb32ae8 --- /dev/null +++ b/templates/program/today_schedule.html @@ -0,0 +1,48 @@ + + +<div id="calendar"> +</div> + +<div id="recommendations"> + {% for recommendation in recommendations %} + <div>{{ recommendation.timeslot.start|date:"H:i" }}</div> + <div>{{ recommendation.timeslot.programslot.show.name }}</div> + <div><a href="{% url timeslot-detail recommendation.timeslot.id %}">{{ recommendation.title }}</a></div> + {% endfor %} +</div> + +<div> + {% for timeslot in timeslots %} + <div> + <span class="time">{{ timeslot.start|date:"H:i" }}</span> + <span class="abbrev"> + {% for showinformation in timeslot.programslot.show.showinformation.all %} + {{ showinformation.abbrev }} + {% endfor %} + </span> + <span class="abbrev"> + {% for showtopic in timeslot.programslot.show.showtopic.all %} + {{ showtopic.abbrev }} + {% endfor %} + </span> + <span class="abbrev"> + {% for musicfocus in timeslot.programslot.show.musicfocus.all %} + {{ musicfocus.abbrev }} + {% endfor %} + </span> + <span class="timeslot"> + <a href="{% url timeslot-detail timeslot.id %}">{{ timeslot.show }}</a> + {% if timeslot.note %} + <span>Heute: {{ timeslot.note.title }}</span> + {% endif %} + </span> + {% endfor %} +</div> + +<div> + {% for broadcastformat in broadcastformats %} + <div> + {{ broadcastformat }} + </div> + {% endfor %} +</div>
\ No newline at end of file |