default.ctp
3.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?php
/**
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
*
* Licensed under The MIT License
* For full copyright and license information, please see the LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
* @link http://cakephp.org CakePHP(tm) Project
* @since 0.10.0
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
$cakeDescription = 'Labinvent 2.0';
?>
<!DOCTYPE html>
<html>
<head>
<?= $this->Html->charset()?>
<meta name="viewport"
content="width=device-width, initial-scale=1.0">
<?= $this->Html->css('smoothness.css')?>
<?= $this->Html->script('jquery-1.5.2') ?>
<?= $this->Html->script('jquery-1.8.12') ?>
<?= $this->Html->script('DatepickerConfig') ?>
<title>
<?= $cakeDescription?>
</title>
<?= $this->Html->meta('icon')?>
<?= $this->Html->css('inventirap.css')?>
<?= $this->Html->css('font-awesome.css')?>
<?= $this->Html->script('jquery.min') ?>
<?= $this->fetch('meta')?>
<?= $this->fetch('css')?>
<?= $this->fetch('script')?>
</head>
<body>
<div id="container">
<div id="header">
<?= $this->Html->image('logo_software.jpg', ['alt' => 'Logo de l\'application', 'border' => '0', 'height' => '80px', 'url' => '/']) ?>
<div class="user">
<?php
$userName = $username;
if (isset($userName)) {
echo 'Bienvenue '.$userName.'<br/>';
echo $this->Html->link('Se déconnecter', ['controller' => 'Users', 'action' => 'logout']);
}
else {
echo 'Bienvenue invité<br/>';
echo $this->Html->link('Se connecter', ['controller' => 'Users', 'action' => 'login']);
}
?>
</div>
</div>
<?= $this->Flash->render()?>
<div class="content">
<?= $this->fetch('content')?>
<div class="actions">
<?php echo $this->element('menu') ?>
</div>
</div>
<div id="footer">
<table>
<tr>
<td>
<?= $this->Html->image('logo_entity.jpg', ['alt' => 'Logo du labo', 'border' => '0', 'height' => '50px']) ?>
</td>
<td><br /> <a href="http://cakephp.org">Baked with CAKEPHP</a></td>
<td id="bugreport"><i>
<p>
Merci de communiquer remarques et bugs à <a
href="mailto:usvn-repo_inventirap@irap.omp.eu">LABINVENT-MAILING-LIST</a>
</p>
<?php
echo '
<p>
(<a href="https://projects.irap.omp.eu/projects/inventirap/activity">Activité récente sur le projet</a>)
 
(<a href="https://projects.irap.omp.eu/projects/inventirap/roadmap?tracker_ids[]=1&tracker_ids[]=2&tracker_ids[]=4&tracker_ids[]=5&tracker_ids[]=6&tracker_ids[]=7&tracker_ids[]=8&tracker_ids[]=9#version_1.3">ROADMAP : Activité restant à réaliser</a>)
</p>
';
?>
</i></td>
<td id="version">
<!-- VERSION M.m.f.b (version (M)ajeure, version (m)ineure, numero de nouvelle (f)onctionnalite, numero de (b)ugfix) -->
<font color="black">VERSION 2.0.0 (22/04/2016)</font>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>