Mercurial > templog
diff 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 |
line wrap: on
line diff
--- a/web/views/top.tpl Tue May 19 23:56:56 2015 +0800 +++ b/web/views/top.tpl Thu May 21 00:00:10 2015 +0800 @@ -2,6 +2,7 @@ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> <head> <title>Wort Temperature Log</title> +<meta name="viewport" content="width=device-width"> <style type="text/css"><!-- span.no_selection { -webkit-user-select: none; // webkit (safari, chrome) browsers @@ -19,7 +20,7 @@ </head> <body> <form action="" method="get"> -<span class="no_selection"><input type="image" style="width: 1200px" src="graph.png?{{urlparams}}"/></span> +<span class="no_selection"><input type="image" style="width: {{graphwidth}}" src="{{graphdata}}"/></span> <input type="hidden" name="length" value="{{length}}"/> <input type="hidden" name="end" value="{{end}}"/> <input type="hidden" name="zoom" value="yeah"/>