home » zplus/freepost.git
Author zPlus <-> 2016-03-20 09:34:45
Committer zPlus <-> 2016-03-20 09:34:45
Commit 1354c80 (patch)
Tree 595694a
Parent(s)

Add LibrePlanet2016


commits diff: 0bfc2a6..1354c80
3 files changed, 30 insertions, 1 deletiondownload


Diffstat
-rw-r--r-- images/pulse.gif 0
-rw-r--r-- libreplanet.php 21
-rw-r--r-- template/index.twig 10

Diff options
View
Side
Whitespace
Context lines
Inter-hunk lines
+0/-0 A   images/pulse.gif
index 0000000..46967c0
old size: 0B - new size: 14K
new file mode: -rw-r--r--
Binary file

+21/-0 A   libreplanet.php
index 0000000..06162ac
old size: 0B - new size: 407B
new file mode: -rw-r--r--
@@ -0,0 +1,21 @@
1 + <?php
2 +
3 + if (!isset ($_GET['room']))
4 + exit ();
5 +
6 + if ($_GET['room'] == 123 || $_GET['room'] == 141 || $_GET['room'] == 144)
7 + $room = $_GET['room'];
8 +
9 + ?>
10 +
11 + <video
12 + autoplay="autoplay"
13 + controls="controls"
14 + preload="auto"
15 + width="100%"
16 + height="auto">
17 +
18 + <source src="https://live2.fsf.org/room<?= $room ?>_stream.webm"></source>
19 +
20 + Your browser doesn't support HTML5 video
21 + </video>
21 < \ No newline at end of file

+9/-1 M   template/index.twig
index e2b0f3e..8f21b16
old size: 2K - new size: 2K
@@ -1,7 +1,15 @@
1 1 {% include 'header.twig' %}
2 2
3 3 <div class="posts">
4 -
4 +
5 + <div class="bg-success" style="margin: 0 0 2em 0; padding: .5em;">
6 + <img alt="" title="" src="images/pulse.gif" style="height: 1em;" />
7 + LibrePlanet 2016 — Room
8 + <a href="libreplanet?room=123">123</a> •
9 + <a href="libreplanet?room=141">141</a> •
10 + <a href="libreplanet?room=144">144</a>
11 + </div>
12 +
5 13 {% for post in posts %}
6 14
7 15 <div class="post">