mirror of
https://github.com/voc/streaming-website
synced 2024-11-10 06:34:17 +00:00
more files
This commit is contained in:
parent
d41452b307
commit
696066a2df
3 changed files with 54 additions and 0 deletions
14
assets/js/lustiges-relive-script.js
Normal file
14
assets/js/lustiges-relive-script.js
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
$(function() {
|
||||||
|
var
|
||||||
|
$parent = $('.event-previews'),
|
||||||
|
$loading = $parent,
|
||||||
|
$tpl = $parent.find('.template').detach().removeClass('template');
|
||||||
|
|
||||||
|
$.ajax({
|
||||||
|
url: '/~peter/relive.json',
|
||||||
|
success: function(els) {
|
||||||
|
console.log(els);
|
||||||
|
$loading.hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
11
pages/relive.php
Normal file
11
pages/relive.php
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
require_once('lib/bootstrap.php');
|
||||||
|
|
||||||
|
echo $tpl->render(array(
|
||||||
|
'page' => 'relive',
|
||||||
|
'title' => 'Relive!',
|
||||||
|
'extraScripts' => array(
|
||||||
|
'assets/js/lustiges-relive-script.js',
|
||||||
|
),
|
||||||
|
));
|
29
template/relive.phtml
Normal file
29
template/relive.phtml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
<div class="container-fluid">
|
||||||
|
<h1>Experimetal ReLive Recordings</h1>
|
||||||
|
|
||||||
|
<div class="event-previews">
|
||||||
|
<h2 class="loading">Loading…</h2>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in a new issue