From e3d7c5cc86fedb458d9b091ca12245c01e7f285d Mon Sep 17 00:00:00 2001 From: root Date: Tue, 31 Mar 2015 04:39:50 +0200 Subject: Lots of TG15-changes (-: --- web/etc/apache2/nms-public.tg15.gathering.org | 2 +- web/etc/apache2/nms.tg15.gathering.org | 8 +- web/etc/apache2/stream.tg15.gathering.org | 4 +- web/stream.gathering.org/embed.pl | 5 +- web/stream.gathering.org/embed.tmpl | 10 +-- web/stream.gathering.org/index.tmpl | 27 ++++++- web/stream.gathering.org/resources/css/core.css | 82 +++++++++++++++++++-- .../resources/images/pixel-white.png | Bin 0 -> 2205 bytes .../resources/images/pixel_animation.gif | Bin 0 -> 5002 bytes web/streamlib/stream/config.pm | 32 +++++--- 10 files changed, 130 insertions(+), 40 deletions(-) mode change 100644 => 100755 web/stream.gathering.org/embed.pl create mode 100644 web/stream.gathering.org/resources/images/pixel-white.png create mode 100644 web/stream.gathering.org/resources/images/pixel_animation.gif (limited to 'web') diff --git a/web/etc/apache2/nms-public.tg15.gathering.org b/web/etc/apache2/nms-public.tg15.gathering.org index 4ebf79b..4c4798c 100644 --- a/web/etc/apache2/nms-public.tg15.gathering.org +++ b/web/etc/apache2/nms-public.tg15.gathering.org @@ -1,4 +1,4 @@ - + ServerAdmin drift@gathering.org ServerName nms-public.tg15.gathering.org diff --git a/web/etc/apache2/nms.tg15.gathering.org b/web/etc/apache2/nms.tg15.gathering.org index fc0cee4..e177d44 100644 --- a/web/etc/apache2/nms.tg15.gathering.org +++ b/web/etc/apache2/nms.tg15.gathering.org @@ -1,4 +1,4 @@ - + ServerAdmin drift@gathering.org ServerName nms.tg15.gathering.org ServerAlias einstein.tg15.gathering.org @@ -7,12 +7,6 @@ AllowOverride None Options Indexes FollowSymLinks ExecCGI MultiViews - Order allow,deny - Satisfy any - Allow from ::1 - Allow from 127.0.0.1 - Allow from 151.216.254.201/24 - Allow from 2a02:ed02:254::0/64 AddHandler cgi-script .cgi .sh .pl .py AddDefaultCharset UTF-8 diff --git a/web/etc/apache2/stream.tg15.gathering.org b/web/etc/apache2/stream.tg15.gathering.org index a7c0dda..52d879c 100644 --- a/web/etc/apache2/stream.tg15.gathering.org +++ b/web/etc/apache2/stream.tg15.gathering.org @@ -1,4 +1,4 @@ - + ServerAdmin drift@gathering.org ServerName stream.tg15.gathering.org ServerAlias krosus.tg15.gathering.org @@ -9,9 +9,9 @@ Options Indexes FollowSymLinks ExecCGI MultiViews Order allow,deny Allow from all + Require all granted AddHandler cgi-script .cgi .sh .pl .py AddDefaultCharset UTF-8 - ErrorLog /var/log/apache2/error-stream.tg15.gathering.org.log diff --git a/web/stream.gathering.org/embed.pl b/web/stream.gathering.org/embed.pl old mode 100644 new mode 100755 index e5f103c..38fbf9c --- a/web/stream.gathering.org/embed.pl +++ b/web/stream.gathering.org/embed.pl @@ -26,7 +26,7 @@ my $location = undef; print $client->header(); my $clip = $client->remote_addr(); -my $template = HTML::Template->new(filename => 'index.tmpl'); +my $template = HTML::Template->new(filename => 'embed.tmpl'); my $is_local = &is_ip_local($clip, $v4net, $v6net); my @streams = &html_local_test(); @@ -52,11 +52,8 @@ sub html_local_test() { my %hash = ( 'title_link' => $title_link, 'title' => $streams{$name}->{title}, - 'source' => $streams{$name}->{source}, 'quality' => $streams{$name}->{quality}, - 'location' => $streams{$name}->{location}, 'type' => $streams{$name}->{type}, - 'delivery' => $multicast_link, ); if ($multicast_link eq "multicast") { $hash{'is_multicast'} .= 1; diff --git a/web/stream.gathering.org/embed.tmpl b/web/stream.gathering.org/embed.tmpl index ef8b692..6b9581b 100644 --- a/web/stream.gathering.org/embed.tmpl +++ b/web/stream.gathering.org/embed.tmpl @@ -1,18 +1,18 @@ The Gathering <TMPL_VAR NAME=TG_FULL> Streams - - + +

The Gathering Streams

- + flashvars="stretching=exactfit&file=http://wat.gathering.org:9094/southcam.flv&autostart=true">

 

@@ -30,7 +30,7 @@
-

Problems with the non game streams? The easiest way to get hold of us is on IRC (EFNet); one of ViD or doxid should be available if there's too much traffic on #tg to be heard.

+

Problems with the non game streams? The easiest way to get a hold of us is on IRC (EFNet); Either of ViD or DoXiD should be available if there's too much traffic on #tg to be heard.

.gathering.org">http://stream.tg.gathering.org

diff --git a/web/stream.gathering.org/index.tmpl b/web/stream.gathering.org/index.tmpl index 8d007e9..c834da9 100644 --- a/web/stream.gathering.org/index.tmpl +++ b/web/stream.gathering.org/index.tmpl @@ -37,19 +37,44 @@ function swapVideo (url) { window.location = '/?url=' + window.btoa(url); } + + function float() { + $("#floater").animate({top: '-=20px'}, "slow"); + $("#floater").animate({top: '+=20px'}, "slow"); + float(); + } + + $(document).ready(function() { + float(); + }); + + +
+
-