diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-16 18:54:45 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-16 18:54:45 (GMT) |
commit | 4e0ed14b738b9989d4360be63f472323cfda3305 (patch) | |
tree | 39d7bf63bdac3c1cd76f4f1ae3041113911e782a /abs/core/supplemental-web/contents | |
parent | c7033cd90ab47e9c739e492bd2de1c50699e7516 (diff) | |
download | linhes_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-x | abs/core/supplemental-web/contents/list_cardmap.py | 8 |
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  %s" %(statictuner[1] ,statictuner[0]) print "</br>" print " static device node: %s" %statictuner[2] + + if hdhr_url: + print "</br>" + print ' device webpage: <a href="http://%s">http://%s</a> ' %(hdhr_url.strip(),hdhr_url.strip()) print "</br>" print "</br>" |