annotate web/config.py @ 337:f575ef538f5d

- Various fixes for web server, kind of works
author Matt Johnston <matt@ucc.asn.au>
date Wed, 13 Jun 2012 23:41:05 +0800
parents 1e22eaf93620
children 024f5571df8c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
334
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 DATA_PATH = 'data'
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
335
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
6 GRAPH_WIDTH = 800
337
f575ef538f5d - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 335
diff changeset
7 GRAPH_HEIGHT = 400
335
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
8
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
9 LINE_WIDTH = 2
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
10
337
f575ef538f5d - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 335
diff changeset
11 SENSOR_NAMES = {'sensor_test1': "First Test"}
335
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
12
1e22eaf93620 work on web interface
Matt Johnston <matt@ucc.asn.au>
parents: 334
diff changeset
13 SENSOR_COLOURS = {}
337
f575ef538f5d - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 335
diff changeset
14
f575ef538f5d - Various fixes for web server, kind of works
Matt Johnston <matt@ucc.asn.au>
parents: 335
diff changeset
15 GRAPH_FONT = "Courier"