mirror of https://github.com/MISP/MISP
Some UI fixes related to the debug/nondebug alignment
parent
32510b4f29
commit
1f411c74cf
|
@ -130,7 +130,7 @@ class AppController extends Controller {
|
||||||
$this->set('isAclAudit', false);
|
$this->set('isAclAudit', false);
|
||||||
$this->set('isAclAuth', false);
|
$this->set('isAclAuth', false);
|
||||||
}
|
}
|
||||||
if (Configure::read('debug')) {
|
if (Configure::read('debug') > 0) {
|
||||||
$this->debugMode = 'debugOn';
|
$this->debugMode = 'debugOn';
|
||||||
} else {
|
} else {
|
||||||
$this->debugMode = 'debugOff';
|
$this->debugMode = 'debugOff';
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="container">
|
<div id="container">
|
||||||
<?php echo $this->element('global_menu');
|
<?php echo $this->element('global_menu');
|
||||||
if (!$debugMode) {
|
if ($debugMode == 'debugOff') {
|
||||||
?>
|
?>
|
||||||
<div class="container-fluid debugOff" style="padding-top:50px;width:98%;">
|
<div class="container-fluid debugOff" style="padding-top:50px;width:98%;">
|
||||||
<?php
|
<?php
|
||||||
|
@ -44,10 +44,9 @@
|
||||||
echo $this->Session->flash();
|
echo $this->Session->flash();
|
||||||
echo $this->Session->flash('email'); ?>
|
echo $this->Session->flash('email'); ?>
|
||||||
</div>
|
</div>
|
||||||
<br/><br />
|
|
||||||
<div
|
<div
|
||||||
<?php
|
<?php
|
||||||
if (Configure::read('debug') == 0) echo "style=\"margin-top:50px;\"";
|
if (Configure::read('debug') == 0) echo "style=\"padding-top:100px;\"";
|
||||||
?>
|
?>
|
||||||
>
|
>
|
||||||
<?php echo $this->fetch('content'); ?>
|
<?php echo $this->fetch('content'); ?>
|
||||||
|
|
Loading…
Reference in New Issue