comparison 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
comparison
equal deleted inserted replaced
77:959e88c0bdfa 78:c7b6da1adb47
3 3
4 HMAC_KEY = 'a hmac key' 4 HMAC_KEY = 'a hmac key'
5 5
6 UPDATE_URL = 'https://evil.ucc.asn.au/~matt/templog/update' 6 UPDATE_URL = 'https://evil.ucc.asn.au/~matt/templog/update'
7 7
8 GRAPH_WIDTH = 800 8 GRAPH_WIDTH = 1200
9 GRAPH_HEIGHT = 400 9 GRAPH_HEIGHT = 600
10 ZOOM = 1.5 10 ZOOM = 1
11 11
12 LINE_WIDTH = 2 12 LINE_WIDTH = 2
13 13
14 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort", 14 SENSOR_NAMES = {'sensor_28 CE B2 1A 03 00 00 99': "Wort",
15 'sensor_28 CC C1 1A 03 00 00 D4': "Lid", 15 'sensor_28 CC C1 1A 03 00 00 D4': "Ambient",
16 'sensor_28 49 BC 1A 03 00 00 54': "Other",
16 'sensor_voltage': 'Voltage', 17 'sensor_voltage': 'Voltage',
17 } 18 }
18 19
19 SENSOR_COLOURS = {'Wort': 'e49222', 20 SENSOR_COLOURS = {'Wort': 'e49222',
20 'Lid': '028b3d', 21 'Ambient': '028b3d',
21 'Voltage': '7db5d3aa', 22 'Voltage': '7db5d3aa',
23 'Other': '78000c',
22 } 24 }
23 25
24 26
25 GRAPH_FONT = "Prociono" 27 GRAPH_FONT = "Prociono"
26 #GRAPH_FONT = "URW Gothic L" 28 #GRAPH_FONT = "URW Gothic L"