aboutsummaryrefslogtreecommitdiff
path: root/template/relive.phtml
diff options
context:
space:
mode:
authorMaZderMind2014-12-27 20:56:20 +0100
committerMaZderMind2014-12-27 20:56:20 +0100
commitda15fd33e4b6d4bb4089c42591de3574d383f874 (patch)
treec3d11dac579fa87837fea90355ef0709c8a5f958 /template/relive.phtml
parentab0a2cfbf2b4be1d87376052a02ef2e67557bf0b (diff)
relive gui
Diffstat (limited to '')
-rw-r--r--template/relive.phtml49
1 files changed, 26 insertions, 23 deletions
diff --git a/template/relive.phtml b/template/relive.phtml
index 248056f..dc9b91b 100644
--- a/template/relive.phtml
+++ b/template/relive.phtml
@@ -1,29 +1,32 @@
<div class="container-fluid">
- <h1>Experimetal ReLive Recordings</h1>
+ <h1><?=h($title)?></h1>
- <div class="event-previews">
- <h2 class="loading">Loading…</h2>
+ <div class="event-previews relive">
- <a class="event-preview template" href="url.html">
- <img alt="Readable Title" class="video-thumbnail" src="">
- <div class="caption">
- <ul class="metadata">
- <li>
- <span class="fa fa-clock-o"></span>
- 36 min
- </li>
- <li>
- <span class="fa fa-calendar-o"></span>
- 2013-12-28
- </li>
- <li class="persons">
- <span class="fa fa-user"></span>
- C B
- </li>
- </ul>
- <h3>Readable Title</h3>
- </div>
- </a>
+ <? foreach ($talks as $talk): ?>
+ <a class="event-preview <?=h($talk['status'])?>" href="<?=h(link_vod($talk['id']))?>">
+ <img alt="<?=h($talk['title'])?>" class="video-thumbnail" src="http://vod.c3voc.de/relive/<?=h($talk['thumbnail'])?>">
+ <div class="caption">
+ <ul class="metadata">
+ <li>
+ <span class="fa fa-clock-o"></span>
+ <?=h(round($talk['duration']/60))?> min
+ </li>
+ <li>
+ <span class="fa fa-cogs"></span>
+ <?=h($talk['status'])?>
+ </li>
+ <li>
+ <span class="fa fa-sign-in"></span>
+ <?=h($talk['room'])?>
+ </li>
+ </ul>
+ <h3><?=h($talk['title'])?>
+ <? if($talk['status'] == 'live'): ?>&nbsp;(Currently Live!)<? endif ?>
+ </h3>
+ </div>
+ </a>
+ <? endforeach ?>
</div>
</div>