annotate web/views/top.tpl @ 501:236e5d131b3e

Add url link, improve atomicfile
author Matt Johnston <matt@ucc.asn.au>
date Sun, 30 Mar 2014 20:20:30 +0800
parents abe8c530812e
children ff1b772da5d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
3 <head>
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
4 <style type="text/css"><!--
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
5 span.no_selection {
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
6 -webkit-user-select: none; // webkit (safari, chrome) browsers
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
7 -moz-user-select: none; // mozilla browsers
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
8 -khtml-user-select: none; // webkit (konqueror) browsers
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
9 }
501
236e5d131b3e Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 384
diff changeset
10
236e5d131b3e Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 384
diff changeset
11 span.codelink {
236e5d131b3e Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 384
diff changeset
12 font-size: 70%;
236e5d131b3e Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 384
diff changeset
13 text-align: right;
236e5d131b3e Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 384
diff changeset
14 }
375
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
15 //-->
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
16 </style>
379
fed6738be1ab Get rid of axes labels, tidy html
Matt Johnston <matt@ucc.asn.au>
parents: 375
diff changeset
17 <title></title>
375
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
18 </head>
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
19
379
fed6738be1ab Get rid of axes labels, tidy html
Matt Johnston <matt@ucc.asn.au>
parents: 375
diff changeset
20 <!-- Click on the graph to zoom in, click on the Y axis labels to zoom out -->
fed6738be1ab Get rid of axes labels, tidy html
Matt Johnston <matt@ucc.asn.au>
parents: 375
diff changeset
21
333
298e502fdcd4 Add some web server handling
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
22 <body>
379
fed6738be1ab Get rid of axes labels, tidy html
Matt Johnston <matt@ucc.asn.au>
parents: 375
diff changeset
23 <form action="" method="get">
384
abe8c530812e ui tweaks
Matt Johnston <matt@ucc.asn.au>
parents: 379
diff changeset
24 <span class="no_selection"><input type="image" style="width: 1200px" src="graph.png?{{urlparams}}"/></span>
375
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
25 <input type="hidden" name="length" value="{{length}}"/>
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
26 <input type="hidden" name="end" value="{{end}}"/>
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
27 <input type="hidden" name="zoom" value="yeah"/>
f22427bcfda8 a bunch of web fiddli
Matt Johnston <matt@ucc.asn.au>
parents: 333
diff changeset
28 </form>
501
236e5d131b3e Add url link, improve atomicfile
Matt Johnston <matt@ucc.asn.au>
parents: 384
diff changeset
29 <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></span>
333
298e502fdcd4 Add some web server handling
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
30 </body>
298e502fdcd4 Add some web server handling
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
31 </html>