MISP/app/View/Layouts/default.ctp

75 lines
2.1 KiB
PHP
Executable File

<!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>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<?php echo $this->Html->charset(); ?>
<title>
<?php echo $title_for_layout, ' - ', Configure::read('CyDefSIG.name')?>:
</title>
<?php
echo $this->Html->meta('icon');
// echo $this->Html->css('cake.generic');
echo $this->Html->css('roboto');
echo $this->Html->css('bootstrap'); // see http://twitter.github.io/bootstrap/base-css.html
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'));
echo $this->fetch('meta');
echo $this->fetch('css');
echo $this->fetch('script');
echo $this->Html->script('jquery-1.9.1.min'); // Include jQuery library
?>
<!--?php echo $scripts_for_layout; ?-->
</head>
<body>
<div id="container">
<?php echo $this->element('global_menu');
if ($debugMode == 'debugOff') {
?>
<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'); ?>
</div>
<div
<?php
if (Configure::read('debug') == 0) echo "style=\"padding-top:100px;\"";
?>
>
<?php
// Add locations here that should not have a breadrumb displayed
// If we get an error, also, we don't want the breadcrumbs shown
if ($this->params['action'] !== 'login' && $this->response->statusCode() < '400'):
?>
<?php
endif;
?>
<?php echo $this->fetch('content'); ?>
</div>
<?php
echo $this->element('footer');
echo $this->element('sql_dump');
echo $this->Html->script('bootstrap');
// echo $this->Html->script('bootstrap.min');
echo $this->Html->script('bootstrap-datepicker');
echo $this->Html->script('main');
?>
</div>
</body>
</html>