issue #0001627 : Update librairies for mobile version JQuery Mobile version 1.4.2

This commit is contained in:
Michael RICOIS 2014-03-27 13:41:42 +00:00
parent 9f3aebeb07
commit e468efba37
210 changed files with 93 additions and 62 deletions

View File

@ -8,20 +8,21 @@
<?=$this->headScript()?>
</head>
<body>
<div data-role="page" data-theme="b">
<div data-role="header">
<a href="<?=$this->url(array('controller'=>'index'), null, true)?>" data-role="button"
data-icon="home" data-iconpos="notext">Menu</a>
<h1><?=$this->headTitle()?></h1>
<a href="<?=$this->url(array('controller'=>'index'), null, true)?>" data-role="button"
data-icon="search" data-iconpos="notext">Recherche</a>
</div>
<div data-role="content">
<div data-role="page">
<div data-role="header" role="banner">
<h2 class="ui-title" role="heading" aria-level="1">Extranet</h2>
<a href="#" data-role="button" role="button">Menu</a>
<a href="#" data-role="button" role="button">Search</a>
</div><!-- /header -->
<div role="main" class="ui-content">
<?=$this->layout()->content?>
</div>
</div><!-- /content -->
<div data-role="footer" data-position="fixed">
<h4>Menu</h4>
</div>
</div>
<h4>Scores & Decisions</h4>
</div><!-- /footer -->
</div><!-- /page -->
</body>
</html>

View File

@ -1,27 +0,0 @@
<?=$this->doctype()?>
<html>
<head>
<?=$this->headMeta()?>
<?=$this->headTitle()?>
<?=$this->headStyle()?>
<?=$this->headLink()?>
<?=$this->headScript()?>
</head>
<body>
<div data-role="page" data-theme="b">
<div data-role="header">
<a href="<?=$this->url(array('controller'=>'index'), null, true)?>" data-role="button"
data-icon="home" data-iconpos="notext">Menu</a>
<h1><?=$this->headTitle()?></h1>
<a href="<?=$this->url(array('controller'=>'index'), null, true)?>" data-role="button"
data-icon="search" data-iconpos="notext">Recherche</a>
</div>
<div data-role="content">
<?=$this->layout()->content?>
</div>
<div data-role="footer" data-position="fixed">
<h4>Menu</h4>
</div>
</div>
</body>
</html>

View File

@ -0,0 +1,36 @@
<?=$this->doctype()?>
<html>
<head>
<?=$this->headMeta()?>
<?=$this->headTitle()?>
<?=$this->headStyle()?>
<?=$this->headLink()?>
<?=$this->headScript()?>
</head>
<body>
<div data-role="page">
<div data-role="header" role="banner">
<h2 class="ui-title" role="heading" aria-level="1">Extranet</h2>
</div><!-- /header -->
<div role="main" class="ui-content">
<form method="post" action="<?=$this->url(array('controller'=>'user', 'action'=>'login'),null, true)?>">
<label for="user" class="ui-hidden-accessible">Identifiant</label>
<input name="login" id="user" placeholder="Identifiant" value="" type="text" required>
<label for="password" class="ui-hidden-accessible">Mot de passe</label>
<input name="pass" id="password" placeholder="Mot de passe" value="" type="password" required>
<input value="Connexion" data-icon="user" type="button">
</form>
</div><!-- /content -->
<div data-role="footer" data-position="fixed">
<h4>Scores & Décisions SAS</h4>
</div><!-- /footer -->
</div><!-- /page -->
</body>
</html>

View File

@ -4,7 +4,7 @@ class Application_Controller_Plugin_Theme extends Zend_Controller_Plugin_Abstrac
public function routeShutdown(Zend_Controller_Request_Abstract $request)
{
$auth = Zend_Auth::getInstance();
$theme = 'default';
$theme = 'default'; //$theme = 'default';
if ( $auth->hasIdentity() ) {
$theme = !empty($auth->getIdentity()->theme) ? $auth->getIdentity()->theme : 'default';
}
@ -187,20 +187,38 @@ class Application_Controller_Plugin_Theme extends Zend_Controller_Plugin_Abstrac
case 'mobile': //@todo
$view->doctype('HTML5');
$view->doctype('HTML5');
$view->headMeta()
->appendName('charset', 'utf-8')
->appendName('viewport', 'width=device-width, initial-scale=1');
$view->headMeta()
->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8')
->appendHttpEquiv('Content-Language', 'fr-FR')
->appendName('viewport', 'width=device-width, initial-scale=1');
//Favicon - Touch icon for iOS 2.0+ and Android 2.1+
$view->headLink()->headLink(array(
'rel' => 'apple-touch-icon-precomposed',
'href' => '/favicon-152.png'
));
//Favicon - targeted to any additional png size
$view->headLink()->headLink(array(
'rel' => 'icon',
'type' => 'image/png',
'href' => '/favicon-32.png'
));
$view->headLink()->headLink(array(
'rel' => 'shortcut icon',
'type' => 'image/x-icon',
'href' => '/favicon.ico')
);
//Style
$view->headLink()
->appendStylesheet('/libs/mobile/1.4.0/jquery.mobile-1.4.0.min.css', 'all');
->appendStylesheet('/libs/mobile/1.4.2/jquery.mobile-1.4.2.min.css', 'all');
//JavaScript
$view->headScript()
->appendFile('/libs/jquery/jquery-1.11.0.min.js', 'text/javascript')
->appendFile('/libs/mobile/1.4.0/jquery.mobile-1.4.0.min.js', 'text/javascript')
->appendFile('/libs/jquery/jquery-2.1.0.min.js', 'text/javascript')
->appendFile('/libs/mobile/1.4.2/jquery.mobile-1.4.2.min.js', 'text/javascript')
->appendFile($paramsTheme->pathScript.'/script.js', 'text/javascript');
break;

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 123 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 109 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 122 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 260 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 94 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 173 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 195 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 93 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 92 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 105 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 125 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 126 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 192 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 223 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 228 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 200 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 179 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 160 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 85 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 86 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 229 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 225 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 119 B

Some files were not shown because too many files have changed in this diff Show More