2014-04-24 15:10:08 +02:00
|
|
|
<!DOCTYPE html>
|
2011-11-26 10:45:31 +01:00
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
2013-08-02 11:53:17 +02:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
2011-11-26 10:45:31 +01:00
|
|
|
<?php echo $this->Html->charset(); ?>
|
|
|
|
<title>
|
2014-02-05 15:01:26 +01:00
|
|
|
<?php echo $title_for_layout, ' - ', Configure::read('MISP.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');
|
2014-01-02 15:51:41 +01:00
|
|
|
echo $this->Html->css('bootstrap-timepicker');
|
2014-01-23 12:25:04 +01:00
|
|
|
echo $this->Html->css('bootstrap-colorpicker.min');
|
2013-05-30 11:14:00 +02:00
|
|
|
echo $this->Html->css('main');
|
2014-02-28 14:40:20 +01:00
|
|
|
echo $this->Html->css('print', 'stylesheet', array('media' => 'print'));
|
2013-05-30 11:14:00 +02:00
|
|
|
|
|
|
|
// 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
|
|
|
|
2014-02-11 15:54:46 +01:00
|
|
|
echo $this->Html->script('jquery-2.1.0.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>
|
2014-05-02 14:29:15 +02:00
|
|
|
<div id="gray_out" class="gray_out"></div>
|
2011-11-26 10:45:31 +01:00
|
|
|
<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 {
|
|
|
|
?>
|
2014-03-06 17:21:57 +01:00
|
|
|
<div class="container-fluid debugOn" style="padding-top:10px;width:98%;">
|
2013-07-04 11:25:48 +02:00
|
|
|
<?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
|
2014-03-06 17:21:57 +01:00
|
|
|
if (Configure::read('debug') == 0) echo 'class="topGap"';
|
2013-07-04 11:25:48 +02:00
|
|
|
?>
|
2013-09-10 14:54:11 +02:00
|
|
|
>
|
2012-03-15 15:06:45 +01:00
|
|
|
<?php echo $this->fetch('content'); ?>
|
2013-07-02 16:59:02 +02:00
|
|
|
</div>
|
2014-04-24 15:10:08 +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-11-15 15:39:34 +01:00
|
|
|
echo $this->element('sql_dump');
|
2013-06-01 11:05:15 +02:00
|
|
|
echo $this->Html->script('bootstrap');
|
2013-07-02 15:41:11 +02:00
|
|
|
// echo $this->Html->script('bootstrap.min');
|
2014-01-02 15:51:41 +01:00
|
|
|
echo $this->Html->script('bootstrap-timepicker');
|
2013-06-01 11:05:15 +02:00
|
|
|
echo $this->Html->script('bootstrap-datepicker');
|
2014-01-23 12:25:04 +01:00
|
|
|
echo $this->Html->script('bootstrap-colorpicker.min');
|
2013-06-01 11:05:15 +02:00
|
|
|
echo $this->Html->script('main');
|
2014-07-10 17:02:19 +02:00
|
|
|
echo $this->Html->script('ajaxification');
|
2013-06-01 11:05:15 +02:00
|
|
|
?>
|
2013-07-02 15:41:11 +02:00
|
|
|
</div>
|
2014-05-02 14:29:15 +02:00
|
|
|
<div id = "ajax_success_container" class="ajax_container">
|
|
|
|
<div id="ajax_success" class="ajax_result ajax_success"></div>
|
|
|
|
</div>
|
|
|
|
<div id = "ajax_fail_container" class="ajax_container">
|
|
|
|
<div id="ajax_fail" class="ajax_result ajax_fail"></div>
|
|
|
|
</div>
|
2013-08-19 17:26:06 +02:00
|
|
|
<div class="loading">
|
|
|
|
<div class="spinner"></div>
|
|
|
|
<div class="loadingText">Loading</div>
|
|
|
|
</div>
|
2014-03-06 09:20:05 +01:00
|
|
|
<?php
|
|
|
|
if ($debugMode == 'debugOff'):
|
|
|
|
?>
|
2013-11-06 10:52:18 +01:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(window).scroll(function(e) {
|
|
|
|
$('.actions').css('left',-$(window).scrollLeft());
|
|
|
|
});
|
|
|
|
</script>
|
2014-03-06 09:20:05 +01:00
|
|
|
<?php
|
|
|
|
endif;
|
|
|
|
?>
|
2011-11-26 10:45:31 +01:00
|
|
|
</body>
|
|
|
|
</html>
|