From 2b9d891098b157d290460c7d013ccf4fdb844673 Mon Sep 17 00:00:00 2001 From: "Nicolas A. Tonne" Date: Sat, 6 Jun 2015 01:31:56 +0200 Subject: [PATCH] Awesome qr shit and fucks --- .htaccess | 3 +++ php/controller.php | 42 ++++++++++++++++++++++------------- php/footer.php | 34 ++++++++++++++-------------- php/header.php | 8 +++---- php/panel.php | 6 +++++ static/css/style.css | 37 +++++------------------------- static/js/hostcontroller.js | 6 ++++- static/js/remotecontroller.js | 11 +++++---- 8 files changed, 75 insertions(+), 72 deletions(-) diff --git a/.htaccess b/.htaccess index 92adca9c..03ec17c7 100755 --- a/.htaccess +++ b/.htaccess @@ -4,6 +4,9 @@ RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ http://%1/$1 [R=301,L] +RewriteRule ^remote/(.*) php/controller.php?id=$1 [L] +RewriteRule ^remote php/controller.php [L] + RewriteCond %{REQUEST_URI} !(/$|\.) RewriteRule (.*) %{REQUEST_URI}/ [R=301,L] diff --git a/php/controller.php b/php/controller.php index 564f65b4..3757bc33 100644 --- a/php/controller.php +++ b/php/controller.php @@ -1,13 +1,14 @@ - + Zöff Remote +
+
+

+
@@ -65,18 +69,26 @@ maxlength="8" autocomplete length="8" + value="" /> - -
- +

+ +

@@ -102,19 +114,19 @@
  • - + - +