aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-01-08 12:22:41 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-01-08 12:22:41 +0000
commit2fee8068c26773b3ff8ca1b822a5a363c6b639af (patch)
tree116ce9b8f55f8fb84c9d615b3c65313e050690f5
parent31d6fce5da571062bdceb9a755c3902520ae0785 (diff)
improved mobile
-rw-r--r--h-source/Application/Controllers/HardwareController.php2
-rw-r--r--h-source/Application/Controllers/HomeController.php2
-rw-r--r--h-source/Application/Views/Mobile/header.php4
-rw-r--r--h-source/Public/Css/mobile.css18
4 files changed, 17 insertions, 9 deletions
diff --git a/h-source/Application/Controllers/HardwareController.php b/h-source/Application/Controllers/HardwareController.php
index 721ed80..a75c4fe 100644
--- a/h-source/Application/Controllers/HardwareController.php
+++ b/h-source/Application/Controllers/HardwareController.php
@@ -26,7 +26,7 @@ class HardwareController extends BaseController
public function __construct($model, $controller, $queryString)
{
- $this->_topMenuClasses['hardware'] = " class='currentitem'";
+ $this->_topMenuClasses['hardware'] = " class='currentitem ui-btn-active'";
parent::__construct($model, $controller, $queryString);
diff --git a/h-source/Application/Controllers/HomeController.php b/h-source/Application/Controllers/HomeController.php
index eecb53f..3c47547 100644
--- a/h-source/Application/Controllers/HomeController.php
+++ b/h-source/Application/Controllers/HomeController.php
@@ -26,7 +26,7 @@ class HomeController extends BaseController
public function __construct($model, $controller, $queryString)
{
- $this->_topMenuClasses['home'] = " class='currentitem'";
+ $this->_topMenuClasses['home'] = " class='currentitem ui-btn-active'";
parent::__construct($model, $controller, $queryString);
diff --git a/h-source/Application/Views/Mobile/header.php b/h-source/Application/Views/Mobile/header.php
index aa6a9bb..e3340b0 100644
--- a/h-source/Application/Views/Mobile/header.php
+++ b/h-source/Application/Views/Mobile/header.php
@@ -82,8 +82,8 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index';
<div data-theme='b' data-role="navbar" data-iconpos="left">
<ul>
- <li><a href="<?php echo $this->baseUrl."/home/index/$lang";?>" class="ui-btn-active">Home</a></li>
- <li><a href="<?php echo $this->baseUrl."/hardware/catalogue/$lang";?>">Hardware</a></li>
+ <li><a <?php echo $tm['home']; ?> href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a></li>
+ <li><a <?php echo $tm['hardware']; ?> href="<?php echo $this->baseUrl."/hardware/catalogue/$lang";?>">Hardware</a></li>
<li><a data-icon="current-lang" data-rel="dialog" href="#language-dialog"><?php echo $langLabel;?></a></li>
</ul>
</div><!-- /navbar -->
diff --git a/h-source/Public/Css/mobile.css b/h-source/Public/Css/mobile.css
index df7a350..e351ffc 100644
--- a/h-source/Public/Css/mobile.css
+++ b/h-source/Public/Css/mobile.css
@@ -17,14 +17,18 @@ img
border:0px;
}
+#footer
+{
+ padding-bottom:5px;
+ padding-top:5px;
+}
#footer div
{
text-align:center;
}
#footer a
{
-/* text-decoration:none; */
-/* color:#FFF; */
+/* color: #DC143C; */
}
.navigation-bar
@@ -44,11 +48,15 @@ img
border-top:1px solid #DC143C;
border-bottom:1px solid #DC143C;
}
-.position_tree_box a, .position_tree_box a.ui-link:visited
+.position_tree_box a, .position_tree_box a.ui-link:visited, .position_tree_box .ui-link
{
text-decoration:none;
color:#DC143C;
}
+/*.ui-body-d .ui-link {
+ color:#DC143C;
+ font-weight: bold;
+}*/
.last_tree_element
{
font-weight:bold;
@@ -73,13 +81,13 @@ img
#hardware_list
{
- padding:0 15px;
+/* padding:0 15px; */
margin-top:20px;
margin-bottom:20px;
}
/*jquery mobile*/
-.ui-bar-a {
+.ui-header {
background: #B7F18C;
}