2011-11-26 10:45:31 +01:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
|
|
|
<?php echo $this->Html->charset(); ?>
|
|
|
|
<title>
|
2013-05-30 11:14:00 +02:00
|
|
|
<?php echo $title_for_layout, ' - ', Configure::read('CyDefSIG.name')?>:
|
2011-11-26 10:45:31 +01:00
|
|
|
</title>
|
|
|
|
<?php
|
|
|
|
echo $this->Html->meta('icon');
|
|
|
|
|
2013-05-30 16:40:47 +02:00
|
|
|
// echo $this->Html->css('cake.generic');
|
2013-05-30 11:14:00 +02:00
|
|
|
echo $this->Html->css('roboto');
|
2013-05-31 11:35:27 +02:00
|
|
|
echo $this->Html->css('bootstrap'); // see http://twitter.github.io/bootstrap/base-css.html
|
2013-05-30 11:14:00 +02:00
|
|
|
echo $this->Html->css('datepicker');
|
|
|
|
echo $this->Html->css('main');
|
|
|
|
|
|
|
|
// FIXME chri: re-add print stylesheet
|
|
|
|
//echo $this->Html->css(array('print'), 'stylesheet', array('media' => 'print'));
|
2012-03-25 16:25:16 +02:00
|
|
|
|
2012-03-15 15:06:45 +01:00
|
|
|
echo $this->fetch('meta');
|
|
|
|
echo $this->fetch('css');
|
|
|
|
echo $this->fetch('script');
|
2012-04-01 14:49:28 +02:00
|
|
|
|
2013-05-30 11:14:00 +02:00
|
|
|
echo $this->Html->script('jquery-1.9.1.min'); // Include jQuery library
|
2011-11-26 10:45:31 +01:00
|
|
|
?>
|
2012-06-28 17:24:12 +02:00
|
|
|
|
|
|
|
<!--?php echo $scripts_for_layout; ?-->
|
2011-11-26 10:45:31 +01:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container">
|
2013-07-04 11:25:48 +02:00
|
|
|
<?php echo $this->element('global_menu');
|
2013-07-09 10:05:19 +02:00
|
|
|
if ($debugMode == 'debugOff') {
|
2013-07-04 11:25:48 +02:00
|
|
|
?>
|
|
|
|
<div class="container-fluid debugOff" style="padding-top:50px;width:98%;">
|
|
|
|
<?php
|
|
|
|
} else {
|
|
|
|
?>
|
|
|
|
<div class="container-fluid debugOn" style="width:98%;">
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
echo $this->Session->flash('auth');
|
|
|
|
echo $this->Session->flash('error');
|
|
|
|
echo $this->Session->flash('gpg');
|
|
|
|
echo $this->Session->flash();
|
|
|
|
echo $this->Session->flash('email'); ?>
|
2013-06-03 15:59:22 +02:00
|
|
|
</div>
|
2013-07-04 11:25:48 +02:00
|
|
|
<div
|
|
|
|
<?php
|
2013-07-09 10:05:19 +02:00
|
|
|
if (Configure::read('debug') == 0) echo "style=\"padding-top:100px;\"";
|
2013-07-04 11:25:48 +02:00
|
|
|
?>
|
|
|
|
>
|
2013-07-31 15:37:56 +02:00
|
|
|
<?php
|
|
|
|
// Add locations here that should not have a breadrumb displayed
|
2013-08-01 10:21:11 +02:00
|
|
|
// If we get an error, also, we don't want the breadcrumbs shown
|
|
|
|
if ($this->params['action'] !== 'login' && $this->response->statusCode() < '400'):
|
2013-07-31 15:37:56 +02:00
|
|
|
?>
|
|
|
|
<div class="breadcrumb <?php echo $debugMode; ?>">
|
|
|
|
<?php echo $this->Html->getCrumbs(' > ', 'Home');?>
|
|
|
|
</div>
|
|
|
|
<?php
|
|
|
|
endif;
|
|
|
|
?>
|
|
|
|
|
2012-03-15 15:06:45 +01:00
|
|
|
<?php echo $this->fetch('content'); ?>
|
2013-07-02 16:59:02 +02:00
|
|
|
</div>
|
2013-06-01 11:05:15 +02:00
|
|
|
<?php
|
2013-07-02 15:41:11 +02:00
|
|
|
echo $this->element('footer');
|
2013-06-01 11:05:15 +02:00
|
|
|
echo $this->element('sql_dump');
|
|
|
|
echo $this->Html->script('bootstrap');
|
2013-07-02 15:41:11 +02:00
|
|
|
// echo $this->Html->script('bootstrap.min');
|
2013-06-01 11:05:15 +02:00
|
|
|
echo $this->Html->script('bootstrap-datepicker');
|
|
|
|
echo $this->Html->script('main');
|
|
|
|
?>
|
2013-07-02 15:41:11 +02:00
|
|
|
</div>
|
2011-11-26 10:45:31 +01:00
|
|
|
</body>
|
|
|
|
</html>
|