RĂ©alisation de galerie/index avec Ajax/Datatable
[zf2.biz/galerie.git] / module / Application / view / layout / layout.phtml
1 <?php echo $this->doctype(); ?>
2
3 <html lang="en">
4     <head>
5         <meta charset="utf-8">
6         <?php echo $this->headTitle('ZF2 '. $this->translate('Skeleton Application'))->setSeparator(' - ')->setAutoEscape(false) ?>
7
8         <?php echo $this->headMeta()->appendName('viewport', 'width=device-width, initial-scale=1.0') ?>
9
10         <!-- Le styles -->
11         <?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/images/favicon.ico'))
12                         ->prependStylesheet($this->basePath() . '/css/bootstrap-responsive.min.css')
13                         ->prependStylesheet($this->basePath() . '/css/style.css')
14                         ->prependStylesheet($this->basePath() . '/css/bootstrap.min.css')
15                         ->prependStylesheet($this->basePath() . '/css/jquery-dataTables.css') ?>
16
17         <!-- Scripts -->
18         <?php echo $this->headScript()->prependFile($this->basePath() . '/js/html5.js', 'text/javascript', array('conditional' => 'lt IE 9',))
19                                       ->prependFile($this->basePath() . '/js/bootstrap.min.js')
20                                       ->prependFile($this->basePath() . '/js/perso.js')
21                                       ->prependFile($this->basePath() . '/js/jquery-dataTables.js')
22                                       ->prependFile($this->basePath() . '/js/jquery.min.js') ?>
23
24     </head>
25     <body>
26         <div class="navbar navbar-inverse navbar-fixed-top">
27             <div class="navbar-inner">
28                 <div class="container">
29                     <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
30                         <span class="icon-bar"></span>
31                         <span class="icon-bar"></span>
32                         <span class="icon-bar"></span>
33                     </a>
34                     <a class="brand" href="<?php echo $this->url('home') ?>"><?php echo $this->translate('Skeleton Application') ?></a>
35                     <div class="nav-collapse collapse">
36                         <ul class="nav">
37                             <li class="active"><a href="<?php echo $this->url('home') ?>"><?php echo $this->translate('Home') ?></a></li>
38                         </ul>
39                     </div><!--/.nav-collapse -->
40                 </div>
41             </div>
42         </div>
43         <div class="container">
44             <?php echo $this->content; ?>
45             <hr>
46             <footer>
47                 <p>&copy; 2005 - 2012 by Zend Technologies Ltd. <?php echo $this->translate('All rights reserved.') ?></p>
48             </footer>
49         </div> <!-- /container -->
50         <?php echo $this->inlineScript() ?>
51     </body>
52 </html>