Mercurial > templog
annotate web/config.py @ 379:fed6738be1ab
Get rid of axes labels, tidy html
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sun, 01 Jul 2012 00:09:50 +0800 |
parents | f22427bcfda8 |
children | 959e88c0bdfa |
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 |
335 | 8 GRAPH_WIDTH = 800 |
337
f575ef538f5d
- Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents:
335
diff
changeset
|
9 GRAPH_HEIGHT = 400 |
335 | 10 |
11 LINE_WIDTH = 2 | |
12 | |
362 | 13 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort", |
367 | 14 'sensor_28 CC C1 1A 03 00 00 D4': "Board", |
15 'sensor_voltage': 'Voltage', | |
16 } | |
335 | 17 |
367 | 18 SENSOR_COLOURS = {'Wort': 'e49222', |
19 'Board': '028b3d', | |
20 'Voltage': '7db5d3aa', | |
21 } | |
22 | |
337
f575ef538f5d
- Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents:
335
diff
changeset
|
23 |
373 | 24 GRAPH_FONT = "Prociono" |
25 #GRAPH_FONT = "URW Gothic L" | |
375 | 26 |
27 # 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
|
28 GRAPH_LEFT_MARGIN = 63 |