streaming-website/template/relive.phtml

78 lines
1.9 KiB
PHTML
Raw Normal View History

2015-03-02 06:35:42 +00:00
<div class="container">
2014-12-27 19:56:20 +00:00
<h1><?=h($title)?></h1>
2015-03-02 13:55:37 +00:00
<div class="row">
2015-03-02 15:38:50 +00:00
<div class="col-xs-12">
<div class="alert alert-info" role="alert">
<p>
This service provides automated stream dumps and time shifting.
</p>
<p>
All recordings start/stop automatically 15 minutes before/after the talk begins/ends.
</p>
2017-08-11 10:19:20 +00:00
<p>
2018-10-30 20:35:01 +00:00
Please <b>do not link</b> to the individual ReLive recordings, they're going to disappear after the conference.
2017-08-11 10:19:20 +00:00
</p>
2015-03-02 15:38:50 +00:00
</div>
2015-03-02 13:55:37 +00:00
</div>
</div>
2014-12-26 00:47:21 +00:00
2015-03-02 15:38:50 +00:00
<div class="row">
2015-03-02 16:20:22 +00:00
<? if(!$talks): ?>
<div class="col-xs-10 col-xs-offset-1">
<div class="alert alert-warning" role="alert">
<i class="fa fa-bug"></i>
2016-11-26 09:42:54 +00:00
No ReLive talks available (yet).
2015-03-02 15:38:50 +00:00
</div>
2015-03-02 16:20:22 +00:00
</div>
<? else: ?>
<? foreach ($talks as $talk): ?>
<div class="col-xs-12 recording">
<div class="panel <? if($talk['status'] == 'live'): ?>panel-warning<? else: ?>panel-default<? endif ?>">
2015-03-02 16:20:22 +00:00
<div class="panel-heading">
<h3 class="panel-title">
<a href="<?=h($talk['url'])?>">
2015-03-02 16:20:22 +00:00
<?=h($talk['title'])?>
</a>
</h3>
</div>
<div class="panel-body">
<a href="<?=h($talk['url'])?>">
2015-03-02 16:20:22 +00:00
<img class="preview" alt="<?=h($talk['title'])?>" class="video-thumbnail" src="<?=h($talk['thumbnail'])?>" width="213" height="120" />
</a>
2015-03-02 15:38:50 +00:00
2015-03-02 16:20:22 +00:00
<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>
<? if(isset($talk['roomlink'])): ?>
<a href="<?=h($talk['roomlink'])?>"><?=h($talk['room'])?></a>
<? else: ?>
<?=h($talk['room'])?>
<? endif ?>
2015-03-02 16:20:22 +00:00
</li>
</ul>
2015-03-02 15:38:50 +00:00
2015-03-02 16:20:22 +00:00
</div>
</div>
2014-12-27 19:56:20 +00:00
</div>
2015-03-02 16:20:22 +00:00
<? endforeach ?>
<? endif ?>
</div>
2014-12-26 00:47:21 +00:00
</div>