diff dash.py @ 14:3a9cb396905f

made a template how to use the web_view module
author sean
date Wed, 05 Aug 2015 13:24:25 +0200
parents d71f39618d6f
children 82d66f4488cd
line wrap: on
line diff
--- a/dash.py	Wed Aug 05 12:37:33 2015 +0200
+++ b/dash.py	Wed Aug 05 13:24:25 2015 +0200
@@ -78,7 +78,7 @@
 #   hint: the top-bar has got a height of 5%!
 
 [settings]
-show_top_bar=True
+show_top_bar=False
 
 # Tiles:
 # example:
@@ -103,16 +103,22 @@
 #   status: (up / down) [required]
 #     ONLY FOR DEBUGGING PURPOSE - WILL BE REMOVED LATER
 #     simulates up and down events for mon-type-tiles
+#
+#   div_name: (identifier) [required for d3js-types]
+#
+#   script: (name of a script without extension) [required for d3js-types0]
+#
+
 
 [tile1]
 type=mon
 source=192.168.0.2
-status=up
+status=down
 
 [tile2]
 type=mon
 source=192.168.2.3
-status=down
+status=up
 
 [tile3]
 type=mon
@@ -120,9 +126,9 @@
 status=up
 
 [tile4]
-type=mon
-source=192.168.4.3
-status=down
+type=d3js
+div_name=techintern
+script=display_issues_techintern
 
 """)
     file.close()
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)