Deploy on 2026-06-05 17:47:27
This commit is contained in:
@@ -1,27 +1,31 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<html lang="ar" dir="rtl">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Server Error - ScoutIQ</title>
|
||||
<title>خطأ في النظام - ScoutIQ</title>
|
||||
<link rel="stylesheet" href="/assets/css/app.css">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
body { font-family: 'Tajawal', sans-serif; }
|
||||
</style>
|
||||
</head>
|
||||
<body style="align-items: center; justify-content: center; display: flex; padding: 20px; min-height: 100vh;">
|
||||
<div class="glass-panel" style="max-width: 500px; width: 100%; padding: 50px; text-align: center; display: flex; flex-direction: column; gap: 30px;">
|
||||
<span style="font-size: 5rem; font-weight: 800; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: 'Outfit';">500</span>
|
||||
<h1 style="font-size: 1.8rem; font-weight: 700;">System Server Error</h1>
|
||||
<p style="color: var(--text-muted); font-size: 1rem; line-height: 1.6;"><?= isset($message) ? htmlspecialchars($message, ENT_QUOTES, 'UTF-8') : 'A critical exception has occurred on the application server.' ?></p>
|
||||
<span style="font-size: 5rem; font-weight: 800; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-family: 'Tajawal';">500</span>
|
||||
<h1 style="font-size: 1.8rem; font-weight: 700;">خطأ داخلي في الخادم</h1>
|
||||
<p style="color: var(--text-muted); font-size: 1rem; line-height: 1.6;"><?= isset($message) ? htmlspecialchars($message, ENT_QUOTES, 'UTF-8') : 'حدث عطل غير متوقع في النظام الداخلي للخادم.' ?></p>
|
||||
<?php
|
||||
if (isset($exception)):
|
||||
?>
|
||||
<pre style="text-align: left; background: rgba(0,0,0,0.5); padding: 15px; border-radius: 8px; overflow-x: auto; font-family: monospace; font-size: 0.85rem; color: #ff6b6b; max-height: 250px; margin-top: 15px;">
|
||||
<pre style="direction: ltr; text-align: left; background: rgba(0,0,0,0.5); padding: 15px; border-radius: 8px; overflow-x: auto; font-family: monospace; font-size: 0.85rem; color: #ff6b6b; max-height: 250px; margin-top: 15px;">
|
||||
<?= htmlspecialchars($exception->getMessage(), ENT_QUOTES, 'UTF-8') ?>
|
||||
in <?= htmlspecialchars($exception->getFile(), ENT_QUOTES, 'UTF-8') ?>:<?= $exception->getLine() ?>
|
||||
|
||||
<?= htmlspecialchars($exception->getTraceAsString(), ENT_QUOTES, 'UTF-8') ?>
|
||||
</pre>
|
||||
<?php endif; ?>
|
||||
<a href="/" class="btn btn-primary" style="align-self: center;">Return Home</a>
|
||||
<a href="/" class="btn btn-primary" style="align-self: center;">العودة للرئيسية</a>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user