From 0c76a1a830e8492622ce8e58971fbeae18dd8574 Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Mon, 20 Feb 2023 23:42:29 -0500
Subject: linhes-web: header.html: add Plex link

---
 linhes/linhes-web/PKGBUILD                     |  4 ++--
 linhes/linhes-web/website/contents/header.html | 32 +++++---------------------
 2 files changed, 8 insertions(+), 28 deletions(-)

diff --git a/linhes/linhes-web/PKGBUILD b/linhes/linhes-web/PKGBUILD
index 8dfb500..2e7a0a3 100644
--- a/linhes/linhes-web/PKGBUILD
+++ b/linhes/linhes-web/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=linhes-web
 pkgver=9.0.0
-pkgrel=5
+pkgrel=6
 conflicts=()
 pkgdesc="LinHES local website"
 depends=('lighttpd' 'php-cgi')
@@ -9,7 +9,7 @@ arch=('x86_64')
 license=('GPL')
 source=('linhes-web.conf' 'website.tar.gz')
 sha256sums=('e39ce02bde5eb3d359f1286b41751aa715961cf2b2d9a1243c7f01d20ed9c993'
-            '37124fccf3fe1a69a52a62ffc88a6cc748eaefde9725e8fa315cc2b29f68cf8b')
+            'e07032ddbb61c88e929ebf5d80447707e5d330d2fb1e46307765cdce996cfce5')
 
 package() {
     mkdir -p $pkgdir/data/srv/httpd/htdocs/
diff --git a/linhes/linhes-web/website/contents/header.html b/linhes/linhes-web/website/contents/header.html
index cb15bbf..e255810 100644
--- a/linhes/linhes-web/website/contents/header.html
+++ b/linhes/linhes-web/website/contents/header.html
@@ -2,31 +2,13 @@
 <!--<style type="text/css">@import "mv.css";</style>-->
 <link rel="stylesheet" type="text/css" href="skeleton.css" />
 <head>
-
 <script type="text/javascript">
-function r()
-{
-    current_hostname=parent.location.hostname
-    top.frames["content"].location.href = ( "http://" + current_hostname + ":6544" ) ;
-}
-
-function express()
-{
-    current_hostname=parent.location.hostname
-    top.frames["content"].location.href = ( "http://" + current_hostname + ":6565" ) ;
-}
-
-function remyth()
-{
-    current_hostname=parent.location.hostname
-    top.frames["content"].location.href = ( "http://" + current_hostname + ":8088" ) ;
-}
 
 function beStatus()
 {
     document.getElementById('modify-me').href = "http://" + window.location.hostname + ":6544";
+    document.getElementById('plexmodify-me').href = "http://" + window.location.hostname + ":32400/web/";
 }
-
 </script>
 </head>
 
@@ -52,19 +34,17 @@ function beStatus()
     </ul>
 </li>
 
-<li><a href="fe_status_load.shtml">MythFrontend Status</a></li>
+<!--<li><a href="fe_status_load.shtml">MythFrontend Status</a></li>-->
 
 <li><a href="" id="modify-me" target="_blank">MythTV WebFrontend</a></li>
-<!--
-<li><a href="xymon/">Health & Maintenance</a></li>
--->
+<li><a href="" id="plexmodify-me" target="_blank">Plex</a></li>
+
 <li><a href="/logs/" >System &#187;</a>
     <ul>
-    <!--    <li><a href="/xymon"  >Health</a></li>-->
         <li><a href="/logs/"  >Logs</a></li>
         <li><a href="/exports.shtml"  >File Shares</a></li>
-        <li><a href="/cardmap.shtml"  >Tuners</a></li>
-        <li><a href="/shell/"  >Terminal</a></li>
+    <!--    <li><a href="/cardmap.shtml"  >Tuners</a></li>-->
+    <!--    <li><a href="/shell/"  >Terminal</a></li>-->
     </ul>
 </li>
 <!--
-- 
cgit v0.12

