From 696066a2df58fa12bfbdac427a767efdb4fe00a4 Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Fri, 26 Dec 2014 01:47:21 +0100 Subject: more files --- assets/js/lustiges-relive-script.js | 14 ++++++++++++++ pages/relive.php | 11 +++++++++++ template/relive.phtml | 29 +++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 assets/js/lustiges-relive-script.js create mode 100644 pages/relive.php create mode 100644 template/relive.phtml diff --git a/assets/js/lustiges-relive-script.js b/assets/js/lustiges-relive-script.js new file mode 100644 index 0000000..fe2ead7 --- /dev/null +++ b/assets/js/lustiges-relive-script.js @@ -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(); + } + }); +}); \ No newline at end of file diff --git a/pages/relive.php b/pages/relive.php new file mode 100644 index 0000000..2d7f3d6 --- /dev/null +++ b/pages/relive.php @@ -0,0 +1,11 @@ +render(array( + 'page' => 'relive', + 'title' => 'Relive!', + 'extraScripts' => array( + 'assets/js/lustiges-relive-script.js', + ), +)); diff --git a/template/relive.phtml b/template/relive.phtml new file mode 100644 index 0000000..248056f --- /dev/null +++ b/template/relive.phtml @@ -0,0 +1,29 @@ +
+

Experimetal ReLive Recordings

+ +
+

Loading…

+ + + Readable Title +
+ +

Readable Title

+
+
+ +
+
-- cgit v1.2.3