Style exception template

This commit is contained in:
billz 2023-12-27 16:47:39 +00:00
parent ee29a4fa0a
commit 939092d673

View file

@ -2,19 +2,24 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo _("RaspAP Exception"); ?></title>
<link href="dist/bootstrap/css/bootstrap.css" rel="stylesheet">
<link href="dist/sb-admin-2/css/sb-admin-2.min.css" rel="stylesheet">
<link rel="shortcut icon" type="image/png" href="app/icons/favicon.png?ver=2.0">
</head>
<body id="page-top">
<div id="wrapper">
<div id="content-wrapper" class="d-flex flex-column">
<div id="content">
<div class="container-fluid">
<div class="row">
<div class="col-lg-12">
<h3 class="mt-3"><?php echo _("An exception occurred"); ?></h3>
<pre><?php print_r($trace); ?></pre>
<p class="text-light bg-danger pl-3 p-1">RaspAP Exception</p>
</div>
<div class="col-lg-12 ml-3">
<h3 class="mt-2"><?php echo _("An exception occurred"); ?></h3>
<h5>Stack trace:</h5>
<pre><?php print_r($trace); ?></pre>
</div>
</div>
</div>