Got mobile view working on Opera Mobile, Safari and Android

This commit is contained in:
Jochen Wierum 2011-08-23 18:52:23 +02:00 committed by Andrew Dolgov
parent b9fca8678b
commit 9abc671546
3 changed files with 12 additions and 5 deletions

View File

@ -240,7 +240,8 @@ body > .dialog {
color: #999999;
}
input:not(input[type|=radio]):not(input[type|=checkbox]) {
/*input:not(input[type|=radio]):not(input[type|=checkbox]) {*/
input[type|=text], input[type|=password] {
box-sizing: border-box;
-webkit-box-sizing: border-box;
width: 100%;
@ -284,14 +285,15 @@ fieldset > .row:last-child {
border-bottom: none !important;
}
.row > input:not(input[type|=radio]):not(input[type|=checkbox]) {
/*.row > input:not(input[type|=radio]):not(input[type|=checkbox]) {*/
.row > input[type|=text], .row > input[type|=password] {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
margin: 0;
border: none;
padding: 12px 10px 0 110px;
height: 42px;
/* height: 42px;*/
background: none;
}
.row > input[type|=radio], .row > input[type|=checkbox] {

View File

@ -373,7 +373,12 @@ function updatePage(page, fromPage)
backButton.style.display = "inline";
backButton.innerHTML = label;
backButton.href = page.getAttribute("myBackHref");
backButton.target = page.getAttribute("myBackTarget");
//backButton.target = page.getAttribute("myBackTarget");
target = page.getAttribute("myBackTarget");
if (target == null)
backButton.target = '';
else
backButton.target = target;
backButton.setAttribute("backwards", "true");
}
else

View File

@ -491,7 +491,7 @@
//print "<div class=\"row\">";
//print "<label id='updated'>Updated:</label>";
//print "<input enabled='false' name='updated' disabled value='$updated_fmt'/>";
//print "<input type='text' enabled='false' name='updated' disabled value='$updated_fmt'/>";
//print "</div>";
// print "</fieldset>";