Michael Hoffmann 6 years ago
parent
commit
ca640c1580

+ 4 - 3
templates/Error/fatal_error.php

@@ -21,12 +21,13 @@ $this->start('subheading');
 ?>
     <strong>Error</strong>
     <?= h($error->getMessage()) ?>
-    <br/>
+    <br>
+    <br>
 
     <strong>File</strong>
     <?= h($error->getFile()) ?>
-    <br/>
-    <strong>Line: </strong>
+    <br><br>
+    <strong>Line</strong>
     <?= h($error->getLine()) ?>
 <?php $this->end() ?>
 

+ 1 - 1
templates/Error/missing_connection.php

@@ -20,7 +20,7 @@ $this->assign('title', 'Missing Database Connection');
 
 $this->start('subheading'); ?>
 A Database connection using was missing or unable to connect.
-<br/>
+<br>
 <?php
 if (isset($reason)):
     echo sprintf('The database server returned this error: %s', h($reason));

+ 1 - 8
templates/layout/dev_error.php

@@ -41,6 +41,7 @@
         background-color: #D33C47;
         color: #ffffff;
         padding: 10px;
+        height: 100px;
     }
     .header-title {
         font-size: 30px;
@@ -50,10 +51,6 @@
         display: block;
         font-size: 16px;
     }
-    .header-help {
-        float: right;
-        font-size: 12px;
-    }
     .header-help a {
         color: #fff;
     }
@@ -226,10 +223,6 @@
 </head>
 <body>
     <header>
-        <!-- <div class="header-help">
-            <a target="_blank" href="https://book.cakephp.org/3.0/">Documentation</a>
-            <a target="_blank" href="https://api.cakephp.org/">API</a>
-        </div> -->
         <h1 class="header-title">
             <?= h($this->fetch('title')) ?>
         </h1>