New: jQuery mobile is best and more compatible with different smartphone

This commit is contained in:
Regis Houssin 2010-10-22 20:17:10 +00:00
parent 49878a2376
commit fabc0705b9
3 changed files with 9 additions and 7 deletions

View File

@ -41,4 +41,8 @@ else header('Cache-Control: no-cache');
?>
.ui-mobile #dol-homeheader { text-align: center }
.ui-mobile #dol-home { background: #e5e5e5 url(../images/jqm-sitebg.png) top center repeat-x; }
.ui-mobile #dol-homeheader { padding: 5px 5px 0; text-align: center }
.ui-mobile #dol-homeheader h1 { margin: 0 0 10px; }
.ui-mobile #dol-homeheader p { margin: 0; }

View File

@ -67,14 +67,14 @@ $smartphone->smartheader();
<?php if ($forgetpasslink) { ?>
<li>
<img alt="tools" class="ui-li-icon" src="<?php echo $dol_url_root.'/theme/phones/smartphone/theme/'.$smartphone->theme.'/thumbs/tools.png'; ?>" />
<a href="<?php echo 'user/passwordforgotten.php'; ?>" data-icon="gear"><?php echo $langs->trans('PasswordForgotten'); ?></a>
<a href="<?php echo 'user/passwordforgotten.php'; ?>"><?php echo $langs->trans('PasswordForgotten'); ?></a>
</li>
<?php } ?>
<?php if ($helpcenterlink) { ?>
<li>
<img alt="support" class="ui-li-icon" src="<?php echo $dol_url_root.'/theme/phones/smartphone/theme/'.$smartphone->theme.'/thumbs/support.png'; ?>" />
<a href="<?php echo 'support/index.php'; ?>" data-icon="gear"><?php echo $langs->trans('NeedHelpCenter'); ?></a>
<a href="<?php echo 'support/index.php'; ?>"><?php echo $langs->trans('NeedHelpCenter'); ?></a>
</li>
<?php } ?>
</ul>

View File

@ -24,10 +24,8 @@ $smartphone->smartheader();
<div data-role="page" id="dol-home" data-theme="b">
<div data-role="header" data-theme="b">
<div id="dol-homeheader">
<img src="<?php echo $dol_url_root.'/theme/phones/smartphone/theme/'.$smartphone->theme.'/thumbs/dolibarr.png'; ?>">
</div>
<div data-role="header" data-theme="b" data-position="inline">
<h1><?php echo $langs->trans('Identification'); ?></h1>
</div>
<div data-role="content">