summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/contents
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/contents
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/contents')
-rwxr-xr-xabs/core/supplemental-web/contents/list_cardmap.py8
1 files changed, 8 insertions, 0 deletions
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>"