more files

This commit is contained in:
MaZderMind 2014-12-26 01:47:21 +01:00
parent d41452b307
commit 696066a2df
3 changed files with 54 additions and 0 deletions

View 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
View 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
View 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>