]> git.wh0rd.org - tt-rss.git/commitdiff
Got mobile view working on Opera Mobile, Safari and Android
authorJochen Wierum <jochen@jowisoftware.de>
Tue, 23 Aug 2011 16:52:23 +0000 (18:52 +0200)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 9 Sep 2011 10:41:19 +0000 (14:41 +0400)
lib/iui/iui.css
lib/iui/iui.js
mobile/functions.php

index 1b2c58433b8b36151ad990e49c641bb044d3ed1f..b72b2dc6b1791567ed862cbd109e9962cd1495a0 100644 (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] {
index 6b7b16b4e63b98a75e566f7e9976d3641c072afc..0937afe054b0d79988bb4c70c215b57b718f925d 100644 (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
index e84be93429137afea429a0039c44d6d59860d11c..1063fca18a0b5dca8fed5527969ae2038be452d4 100644 (file)
 
                        //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>";