Fix Android viewport zoom
--- a/css/local.css.php
+++ b/css/local.css.php
@@ -83,9 +83,10 @@
position:static;
width:auto;
height:auto;
-}
-
-
+}';
+
+//if (false)
+ echo '
// adaptive layout from jQuery Mobile docs site
.type-interior .content-secondary {
border-right: 0;
@@ -112,7 +113,7 @@
padding:0;
margin: 0;
}
-@media all and (min-width: 969px){
+@media all and (min-width: 650px){
.content-secondary {
text-align: left;
float: left;
@@ -167,7 +168,8 @@
margin: 0;
padding: 0;
}
-
+}
+@media all and (min-width: 750px){
.type-home .ui-content,
.type-interior .ui-content {
background-position: 39%;
@@ -211,3 +213,4 @@
}';
ob_end_flush();
?>
+
--- a/dotcloud/postinstall
+++ b/dotcloud/postinstall
@@ -3,8 +3,8 @@
curl http://s3-ap-southeast-1.amazonaws.com/busresources/cbrfeed.zip \
-o /home/dotcloud/current/cbrfeed.zip
-wget http://s3-ap-southeast-1.amazonaws.com/busresources/Graph.obj \
--O /tmp/Graph.obj
+curl http://s3-ap-southeast-1.amazonaws.com/busresources/Graph.obj \
+-o /tmp/Graph.obj
#db setup
#curl https://github.com/maxious/ACTBus-ui/raw/master/transitdata.cbrfeed.sql.gz -o transitdata.cbrfeed.sql.gz
--- a/include/common-template.inc.php
+++ b/include/common-template.inc.php
@@ -32,7 +32,8 @@
<html lang="en">
<head>
<meta charset="UTF-8">
- <title>' . $pageTitle . '</title>
+<meta name="viewport" content="width=device-width, initial-scale=1">
+<title>' . $pageTitle . '</title>
<meta name="google-site-verification"
content="-53T5Qn4TB_de1NyfR_ZZkEVdUNcNFSaYKSFkWKx-sY" />
<link rel="stylesheet" href="'.$labsPath.'css/jquery-ui-1.8.12.custom.css" />';