Permalink
Browse files

responsive website (bigger on mobile phone) with <meta name="viewport…

…" content="width=device-width, initial-scale=1.0">

html5 corrections as missing <!DOCTYPE html>, lang="en", <meta charset='utf-8'>, </script> before </body>
  • Loading branch information...
debrunner committed Jan 3, 2017
1 parent 55c3012 commit 7a6d2e66c8b4c7aa6bbe89a2c84b818e9d0c1a2f
Showing with 5 additions and 2 deletions.
  1. +5 −2 wfrender/templates/default/main.html
@@ -6,8 +6,11 @@
$u
#end if
#end def
<html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather Dashboard - wfrog $version</title>
#if $getVar('http', False)
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js"></script>
@@ -856,7 +859,6 @@
</div>
</div>
<div style="width:100%;clear:both;"><br></div>
</body>
<script type="text/javascript">
// Highlight the correct tab according to the url
@@ -882,4 +884,5 @@
move_forward = function() { move(12, 'h') }
}
</script>
</body>
</html>

0 comments on commit 7a6d2e6

Please sign in to comment.