summaryrefslogtreecommitdiff
path: root/src/templates/apps/room/recordings.html
blob: 76507b34e3b473eaf72787f9c9e956705824e840 (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
47
48
49
50
51
52
53
54
55
{% extends "base.html" %}
{% load prefix %}
{% load datehumanize %}
{% load roomurl %}
{% load tagging_tags %}
{% block widgets %}
    $("#recordings").accordion({
   		header: 'h3',
        active: false,
        event: "click", 
   		collapsible: true,
   		navigation: true,
   		animated: true,
   		autoHeight: false
   	});
{% endblock %}
{% block meta %}
<link rel="alternate" type="application/rss+xml" title="{{title}} recordings (RSS 2.0)" href="{% prefix %}/room/{{room.id}}/recordings.rss" />
<link rel="alternate" type="application/atom+xml" title="{{title}} recordings (ATOM 1.0)" href="{% prefix %}/room/{{room.id}}/recordings.atom" />
{% endblock %}
{% block content %}
	<h1>Recordings in '{{room.name}}'</h1>
	{% if recordings %}
	<div id="recordings">
		{% for r in recordings %}
		<div id="{{r.sco_id}}">
		   <h3 class="listheader">{{r.name}}</h3>
		   <div>
		      <p><a target="_connect" href="{{r.url}}">{{r.url}}<span style="vertical-align: bottom;" class="ui-icon ui-icon-extlink"></span></a></p>
		   	  <p class="infopanel ui-widget ui-corner-all ui-state-highlight">{% if r.description %}{{r.description|safe}}{% else %}<em>No description available...</em>{% endif %}</p>
		   	  <ul class="nlist square" style="padding-left: 2px;">
		          <li>&raquo;&nbsp;Created {{r.date_created|datehumanize}}.</li>
		          <li>&raquo;&nbsp;Modified {{r.date_modified|datehumanize}}.</li>
		  	      <li>&raquo;&nbsp;Hosted on {{room.acc.name}}</li>
		  	   </ul>
		   	  <br/>
		   	  <ul class="ilist">
			   <li class="button"><a target="_connect" href="{{r.url}}">Play Recording</a></li>
			</ul>
		   </div>
		</div>
		{% endfor %}
	</div>
	{% else %}
	<p>No recordings right now...</p>
	{% endif %}
	<br/>
	<ul class="ilist">
	   <li class="button"><a href="{%prefix%}/room#{{room.id}}">Back to '{{room.name}}'</a></li>
	</ul>
{% endblock %}
{% block validators %}
<a href="http://feed1.w3.org/check.cgi?url={% prefix %}/room/{{room.id}}/recordings.atom"><img src="{% prefix %}/site-media/img/valid-atom.png" alt="[Valid Atom 1.0]" title="Validate my Atom 1.0 feed" /></a>
<a href="http://feed1.w3.org/check.cgi?url={% prefix %}/room/{{room.id}}/recordings.rss"><img src="{% prefix %}/site-media/img/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" /></a>
{% endblock %}