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