summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2013-01-16 18:54:45 (GMT)
committerJames Meyer <james.meyer@operamail.com>2013-01-16 18:54:45 (GMT)
commit4e0ed14b738b9989d4360be63f472323cfda3305 (patch)
tree39d7bf63bdac3c1cd76f4f1ae3041113911e782a /abs/core/supplemental-web
parentc7033cd90ab47e9c739e492bd2de1c50699e7516 (diff)
downloadlinhes_pkgbuild-4e0ed14b738b9989d4360be63f472323cfda3305.zip
linhes_pkgbuild-4e0ed14b738b9989d4360be63f472323cfda3305.tar.gz
linhes_pkgbuild-4e0ed14b738b9989d4360be63f472323cfda3305.tar.bz2
linhes-config: list the ip of network tuners, and provide a link on the supplemental webpage
refs #898
Diffstat (limited to 'abs/core/supplemental-web')
-rw-r--r--abs/core/supplemental-web/PKGBUILD2
-rwxr-xr-xabs/core/supplemental-web/contents/list_cardmap.py8
2 files changed, 9 insertions, 1 deletions
diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD
index 4d8d984..3cd3196 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=1.0
-pkgrel=40
+pkgrel=41
arch=('i686' 'x86_64')
backup=('extra.cfg.txt')
diff --git a/abs/core/supplemental-web/contents/list_cardmap.py b/abs/core/supplemental-web/contents/list_cardmap.py
index 0c28e0e..16349b7 100755
--- a/abs/core/supplemental-web/contents/list_cardmap.py
+++ b/abs/core/supplemental-web/contents/list_cardmap.py
@@ -98,13 +98,21 @@ print '''
'''
for statictuner in mbelist:
+ hdhr_url = None
if statictuner[1].find("notfound") > -1 :
print "Couldn't open tuner map"
print "</br>"
else:
+ if statictuner[0] == "hdhr":
+ hdhr_url = statictuner[1].split("-")[-1]
+
print "<li> %s&nbsp;&nbsp;&nbsp%s" %(statictuner[1] ,statictuner[0])
print "</br>"
print "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;static device node: %s" %statictuner[2]
+
+ if hdhr_url:
+ print "</br>"
+ print '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;device webpage: <a href="http://%s">http://%s</a> ' %(hdhr_url.strip(),hdhr_url.strip())
print "</br>"
print "</br>"