Mercurial > templog
annotate web/config.py @ 384:abe8c530812e
ui tweaks
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 07 Jul 2012 23:32:02 +0800 |
parents | a032051475fe |
children | 0f7c005b3f87 |
rev | line source |
---|---|
334 | 1 |
344
ea1779d27641
- Getting there, update has problems
Matt Johnston <matt@ucc.asn.au>
parents:
339
diff
changeset
|
2 DATA_PATH = '/home/matt/templog/web/data' |
334 | 3 |
4 HMAC_KEY = 'a hmac key' | |
5 | |
339
449272fc63a3
- Debug log file for server
Matt Johnston <matt@ucc.asn.au>
parents:
337
diff
changeset
|
6 UPDATE_URL = 'https://evil.ucc.asn.au/~matt/templog/update' |
449272fc63a3
- Debug log file for server
Matt Johnston <matt@ucc.asn.au>
parents:
337
diff
changeset
|
7 |
384 | 8 GRAPH_WIDTH = 1200 |
9 GRAPH_HEIGHT = 600 | |
10 ZOOM = 1 | |
335 | 11 |
12 LINE_WIDTH = 2 | |
13 | |
362 | 14 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort", |
384 | 15 'sensor_28 CC C1 1A 03 00 00 D4': "Ambient", |
16 'sensor_28 49 BC 1A 03 00 00 54': "Other", | |
367 | 17 'sensor_voltage': 'Voltage', |
18 } | |
335 | 19 |
367 | 20 SENSOR_COLOURS = {'Wort': 'e49222', |
384 | 21 'Ambient': '028b3d', |
367 | 22 'Voltage': '7db5d3aa', |
384 | 23 'Other': '78000c', |
367 | 24 } |
25 | |
337
f575ef538f5d
- Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents:
335
diff
changeset
|
26 |
373 | 27 GRAPH_FONT = "Prociono" |
28 #GRAPH_FONT = "URW Gothic L" | |
375 | 29 |
30 # determine by zooming in an image viewer | |
379
fed6738be1ab
Get rid of axes labels, tidy html
Matt Johnston <matt@ucc.asn.au>
parents:
375
diff
changeset
|
31 GRAPH_LEFT_MARGIN = 63 |