annotate web/views/top.tpl @ 244:2071d939e4ff

use base64 data, faster
author Matt Johnston <matt@ucc.asn.au>
date Thu, 21 May 2015 00:00:10 +0800
parents 01bbb8b93f77
children a19496c95be5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
69
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
3 <head>
224
Matt Johnston <matt@ucc.asn.au>
parents: 205
diff changeset
4 <title>Wort Temperature Log</title>
244
2071d939e4ff use base64 data, faster
Matt Johnston <matt@ucc.asn.au>
parents: 224
diff changeset
5 <meta name="viewport" content="width=device-width">
69
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
6 <style type="text/css"><!--
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
7 span.no_selection {
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
8 -webkit-user-select: none; // webkit (safari, chrome) browsers
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
9 -moz-user-select: none; // mozilla browsers
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
10 -khtml-user-select: none; // webkit (konqueror) browsers
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
11 }
202
6dd157a12035 Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 78
diff changeset
12
6dd157a12035 Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 78
diff changeset
13 span.codelink {
6dd157a12035 Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 78
diff changeset
14 font-size: 70%;
6dd157a12035 Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 78
diff changeset
15 text-align: right;
6dd157a12035 Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 78
diff changeset
16 }
69
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
17 //-->
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
18 </style>
73
0a8639039453 Get rid of axes labels, tidy html
Matt Johnston <matt@ucc.asn.au>
parents: 69
diff changeset
19 <title></title>
69
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
20 </head>
27
dbbd503119ba Add some web server handling
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
21 <body>
73
0a8639039453 Get rid of axes labels, tidy html
Matt Johnston <matt@ucc.asn.au>
parents: 69
diff changeset
22 <form action="" method="get">
244
2071d939e4ff use base64 data, faster
Matt Johnston <matt@ucc.asn.au>
parents: 224
diff changeset
23 <span class="no_selection"><input type="image" style="width: {{graphwidth}}" src="{{graphdata}}"/></span>
69
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
24 <input type="hidden" name="length" value="{{length}}"/>
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
25 <input type="hidden" name="end" value="{{end}}"/>
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
26 <input type="hidden" name="zoom" value="yeah"/>
a8ff20f15734 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 27
diff changeset
27 </form>
205
ff1b772da5d0 mention adjustment ui
Matt Johnston <matt@ucc.asn.au>
parents: 202
diff changeset
28 <span class="codelink">Click to zoom in, click the left axis to zoom out. <a href="https://secure.ucc.asn.au/hg/templog/file/tip">Source code</a> for the Raspberry Pi controller and this web interface</a>. <a href="set">Adjustments</a> by phone.</span>
27
dbbd503119ba Add some web server handling
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
29 </body>
dbbd503119ba Add some web server handling
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
30 </html>