comparison 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
comparison
equal deleted inserted replaced
13:63b9f41c3008 14:3a9cb396905f
76 # if False, the dashboard will not show a top-bar 76 # if False, the dashboard will not show a top-bar
77 # default: True 77 # default: True
78 # hint: the top-bar has got a height of 5%! 78 # hint: the top-bar has got a height of 5%!
79 79
80 [settings] 80 [settings]
81 show_top_bar=True 81 show_top_bar=False
82 82
83 # Tiles: 83 # Tiles:
84 # example: 84 # example:
85 # -------------------- 85 # --------------------
86 # [tile1] 86 # [tile1]
101 # default: none 101 # default: none
102 # 102 #
103 # status: (up / down) [required] 103 # status: (up / down) [required]
104 # ONLY FOR DEBUGGING PURPOSE - WILL BE REMOVED LATER 104 # ONLY FOR DEBUGGING PURPOSE - WILL BE REMOVED LATER
105 # simulates up and down events for mon-type-tiles 105 # simulates up and down events for mon-type-tiles
106 #
107 # div_name: (identifier) [required for d3js-types]
108 #
109 # script: (name of a script without extension) [required for d3js-types0]
110 #
111
106 112
107 [tile1] 113 [tile1]
108 type=mon 114 type=mon
109 source=192.168.0.2 115 source=192.168.0.2
110 status=up 116 status=down
111 117
112 [tile2] 118 [tile2]
113 type=mon 119 type=mon
114 source=192.168.2.3 120 source=192.168.2.3
115 status=down 121 status=up
116 122
117 [tile3] 123 [tile3]
118 type=mon 124 type=mon
119 source=192.168.4.3 125 source=192.168.4.3
120 status=up 126 status=up
121 127
122 [tile4] 128 [tile4]
123 type=mon 129 type=d3js
124 source=192.168.4.3 130 div_name=techintern
125 status=down 131 script=display_issues_techintern
126 132
127 """) 133 """)
128 file.close() 134 file.close()
129 135
130 ##Bottle 136 ##Bottle
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)