X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=web%2FMonitorWeb%2Fmonitorweb%2Ftemplates%2Fpculist.kid;h=d37be12e78266df34684deb9d3b81b2dd08c7f45;hb=8e65cdcaaf08982f5f744297c009359ec74d31b5;hp=1ca6e36c299e9752f3a7cc1a8788efada5403014;hpb=3c41124c02dca2a6cf55bcd065f2b5d2af9635d6;p=monitor.git
diff --git a/web/MonitorWeb/monitorweb/templates/pculist.kid b/web/MonitorWeb/monitorweb/templates/pculist.kid
index 1ca6e36..d37be12 100644
--- a/web/MonitorWeb/monitorweb/templates/pculist.kid
+++ b/web/MonitorWeb/monitorweb/templates/pculist.kid
@@ -5,14 +5,15 @@ from pcucontrol.reboot import pcu_name, model_to_object
from monitor import config
def plc_site_link(pcu):
- return "https://" + config.MONITOR_HOSTNAME + "/db/sites/index.php?id=" + str(pcu['site_id'])
+ return "https://" + config.PLC_WEB_HOSTNAME + "/db/sites/index.php?id=" + str(pcu['site_id'])
def pcu_link(pcu):
- return "https://" + config.MONITOR_HOSTNAME + "/db/sites/pcu.php?id=" + str(pcu['pcu_id'])
+ return "https://" + config.PLC_WEB_HOSTNAME + "/db/sites/pcu.php?id=" + str(pcu['pcu_id'])
?>
+ xmlns:py="http://purl.org/kid/ns#"
+ xmlns:mochi="http://www.mochi.org">
@@ -28,10 +29,11 @@ def pcu_link(pcu):
- |