annotate web/config.py @ 42:26c8ab2ba3f1

mostly works
author Matt Johnston <matt@ucc.asn.au>
date Sat, 23 Jun 2012 23:36:00 +0800
parents 8da0fdadc8d7
children 79761ee67134
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
28
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
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
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4 HMAC_KEY = 'a hmac key'
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
5
33
024f5571df8c - Debug log file for server
Matt Johnston <matt@ucc.asn.au>
parents: 31
diff changeset
6 UPDATE_URL = 'https://evil.ucc.asn.au/~matt/templog/update'
024f5571df8c - Debug log file for server
Matt Johnston <matt@ucc.asn.au>
parents: 31
diff changeset
7
29
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 28
diff changeset
8 GRAPH_WIDTH = 800
31
5e75e08d20ac - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 29
diff changeset
9 GRAPH_HEIGHT = 400
29
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 28
diff changeset
10
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 28
diff changeset
11 LINE_WIDTH = 2
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 28
diff changeset
12
31
5e75e08d20ac - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 29
diff changeset
13 SENSOR_NAMES = {'sensor_test1': "First Test"}
29
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 28
diff changeset
14
048143905092 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 28
diff changeset
15 SENSOR_COLOURS = {}
31
5e75e08d20ac - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 29
diff changeset
16
5e75e08d20ac - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 29
diff changeset
17 GRAPH_FONT = "Courier"