From 7f8352160c45b572d55776d85b3b0260851059bf Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Wed, 8 Oct 2014 23:35:00 +0000
Subject: supplemental-web: fe_status: a few tweaks to redirect

---
 abs/core/supplemental-web/PKGBUILD                      | 2 +-
 abs/core/supplemental-web/contents/fe_status.shtml      | 2 +-
 abs/core/supplemental-web/contents/fe_status_load.shtml | 6 +++++-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD
index 2dd59c8..d4a6513 100644
--- a/abs/core/supplemental-web/PKGBUILD
+++ b/abs/core/supplemental-web/PKGBUILD
@@ -1,7 +1,7 @@
 pkgbase=supplemental-web
 pkgname=('supplemental-web' 'supplemental-web-slave')
 pkgver=8.2
-pkgrel=3
+pkgrel=4
 arch=('i686' 'x86_64')
 license=('GPL')
 backup=('data/srv/httpd/cgi/extra.cfg.txt')
diff --git a/abs/core/supplemental-web/contents/fe_status.shtml b/abs/core/supplemental-web/contents/fe_status.shtml
index 41ad117..8fda3df 100644
--- a/abs/core/supplemental-web/contents/fe_status.shtml
+++ b/abs/core/supplemental-web/contents/fe_status.shtml
@@ -6,7 +6,7 @@
         <meta http-equiv="expires" content="0" />
         <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
         <meta http-equiv="pragma" content="no-cache" />
-        <meta http-equiv="refresh" content="60">
+        <meta http-equiv="refresh" content="30">
     </head>
 
     <body>
diff --git a/abs/core/supplemental-web/contents/fe_status_load.shtml b/abs/core/supplemental-web/contents/fe_status_load.shtml
index 4476cd1..b83c13f 100755
--- a/abs/core/supplemental-web/contents/fe_status_load.shtml
+++ b/abs/core/supplemental-web/contents/fe_status_load.shtml
@@ -8,9 +8,13 @@
         <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT">
         <meta http-equiv="pragma" content="no-cache">
         <meta http-equiv="refresh" content="0; url=/fe_status.shtml">
+        <script language="javascript">
+            function redirect() {
+            window.location.replace("/fe_status.shtml");}
+        </script>
     </head>
 
-    <body>
+    <body onload="redirect()">
         <div id="header">
             <h1>MythFrontend Status</h1>
         </div>
-- 
cgit v0.12

