aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Views/Mobile/header.php
diff options
context:
space:
mode:
authorAntonio Gallo <tonicucoz@gmail.com>2012-01-22 17:33:41 +0000
committerAntonio Gallo <tonicucoz@gmail.com>2012-01-22 17:33:41 +0000
commitb4b66007baf1304aefe1ea74a62a967fd96addcc (patch)
tree257057124b3145d19afbd75fd284528da4138dfe /h-source/Application/Views/Mobile/header.php
parent7f6e4376f546a6f9ebcee4f85a09efa914907f0e (diff)
mobile version: added device detail page and some icons
Diffstat (limited to 'h-source/Application/Views/Mobile/header.php')
-rw-r--r--h-source/Application/Views/Mobile/header.php14
1 files changed, 12 insertions, 2 deletions
diff --git a/h-source/Application/Views/Mobile/header.php b/h-source/Application/Views/Mobile/header.php
index e3340b0..deb1782 100644
--- a/h-source/Application/Views/Mobile/header.php
+++ b/h-source/Application/Views/Mobile/header.php
@@ -56,6 +56,16 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index';
background-image: url(<?php echo $this->baseUrl;?>/Public/Img/Famfamfam/<?php echo $langIcon;?>);
background-position:1px 4px;
}
+ .ui-icon-go-to-hardware
+ {
+ background-image: url(<?php echo $this->baseUrl;?>/Public/Img/Crystal/hardware.png);
+ background-position:1px 0px;
+ }
+ .ui-icon-go-to-home
+ {
+ background-image: url(<?php echo $this->baseUrl;?>/Public/Img/Crystal/home.png);
+ background-position:1px 1px;
+ }
</style>
<script type="text/javascript">
@@ -82,8 +92,8 @@ $currPos = $querySanitized ? $this->controller."/".$this->action : 'home/index';
<div data-theme='b' data-role="navbar" data-iconpos="left">
<ul>
- <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="go-to-home" <?php echo $tm['home']; ?> href="<?php echo $this->baseUrl."/home/index/$lang";?>">Home</a></li>
+ <li><a data-icon="go-to-hardware" <?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 -->