comparison web/config.py @ 77:959e88c0bdfa

ui tweaks
author Matt Johnston <matt@ucc.asn.au>
date Wed, 04 Jul 2012 22:36:52 +0800
parents 0a8639039453
children c7b6da1adb47
comparison
equal deleted inserted replaced
76:6e47a61edc47 77:959e88c0bdfa
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 = 800
9 GRAPH_HEIGHT = 400 9 GRAPH_HEIGHT = 400
10 ZOOM = 1.5
10 11
11 LINE_WIDTH = 2 12 LINE_WIDTH = 2
12 13
13 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",
14 'sensor_28 CC C1 1A 03 00 00 D4': "Board", 15 'sensor_28 CC C1 1A 03 00 00 D4': "Lid",
15 'sensor_voltage': 'Voltage', 16 'sensor_voltage': 'Voltage',
16 } 17 }
17 18
18 SENSOR_COLOURS = {'Wort': 'e49222', 19 SENSOR_COLOURS = {'Wort': 'e49222',
19 'Board': '028b3d', 20 'Lid': '028b3d',
20 'Voltage': '7db5d3aa', 21 'Voltage': '7db5d3aa',
21 } 22 }
22 23
23 24
24 GRAPH_FONT = "Prociono" 25 GRAPH_FONT = "Prociono"