summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2023-02-21 04:42:29 (GMT)
committerBritney Fransen <brfransen@gmail.com>2023-02-21 04:42:29 (GMT)
commit0c76a1a830e8492622ce8e58971fbeae18dd8574 (patch)
tree6d4c72b77b77ba0077c4d42d9044580af0fce5d1
parent62edd0d8966eeccbc1ebd4520dfac40e23e068db (diff)
downloadlinhes_pkgbuild-0c76a1a830e8492622ce8e58971fbeae18dd8574.zip
linhes_pkgbuild-0c76a1a830e8492622ce8e58971fbeae18dd8574.tar.gz
linhes_pkgbuild-0c76a1a830e8492622ce8e58971fbeae18dd8574.tar.bz2
linhes-web: header.html: add Plex link
-rw-r--r--linhes/linhes-web/PKGBUILD4
-rw-r--r--linhes/linhes-web/website/contents/header.html32
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>
<!--