X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=web%2FMonitorWeb%2Fmonitorweb%2Ftemplates%2Fpculist.kid;h=d37be12e78266df34684deb9d3b81b2dd08c7f45;hb=8e65cdcaaf08982f5f744297c009359ec74d31b5;hp=fc1b8358f4ecfe2fbca057ddccc59b1a5e12abd8;hpb=c7af7beec47fba7545ec649035a3ebf20f2ad3ee;p=monitor.git diff --git a/web/MonitorWeb/monitorweb/templates/pculist.kid b/web/MonitorWeb/monitorweb/templates/pculist.kid index fc1b835..d37be12 100644 --- a/web/MonitorWeb/monitorweb/templates/pculist.kid +++ b/web/MonitorWeb/monitorweb/templates/pculist.kid @@ -5,17 +5,18 @@ 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):
Ok(${fc['ok']})
- +
- + + @@ -43,7 +45,8 @@ def pcu_link(pcu): - + + @@ -52,7 +55,7 @@ def pcu_link(pcu): 80 - +
SiteSite PCU Name Missing Fields DNS Status
sitename${node.loginbase} ${pcu_name(node.plc_pcu_stats)}