Deploy on 2026-06-05 17:32:29

This commit is contained in:
Hamza-Ayed
2026-06-05 17:32:29 +03:00
parent 0657296c38
commit e5074451af
6 changed files with 25 additions and 119 deletions

View File

@@ -86,13 +86,6 @@
</nav>
<div class="nav-menu">
<!-- Language Toggle -->
<li class="nav-item">
<a href="/admin/lang/<?= ($lang ?? 'en') === 'ar' ? 'en' : 'ar' ?>" style="color: var(--accent);">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>
<span><?= ($lang ?? 'en') === 'ar' ? 'English' : 'العربية' ?></span>
</a>
</li>
<li class="nav-item">
<a href="/logout" style="color: var(--error);">
<svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"></path><polyline points="16 17 21 12 16 7"></polyline><line x1="21" y1="12" x2="9" y2="12"></line></svg>

View File

@@ -1,10 +1,18 @@
<!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><?= $this->escape($title ?? 'Auth') ?> - 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; text-align: right; }
.form-group { text-align: right; }
.form-label { text-align: right; display: block; }
.form-control { text-align: right; }
.alert { text-align: right; flex-direction: row-reverse; }
</style>
</head>
<body>
<div style="flex: 1; display: flex; align-items: center; justify-content: center; padding: 20px;">