test(qa): verify e2e git+pg+visual-qa for elahe

This commit is contained in:
elahe 2026-11-08 04:59:28 +00:00
parent 6168f70b9a
commit 4b9a9eece9
2 changed files with 12 additions and 10 deletions

View file

@ -3,9 +3,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>داشبورد زنده وضعیت سیستم — elahe</title> <title>داشبورد زنده وضعیت سیستم — elahe</title>
<link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css" rel="stylesheet" />
<style> <style>
body { font-family: 'Vazirmatn', sans-serif; background: #f8fafc; color: #0f172a; margin: 24px; direction: rtl; } body { font-family: 'Vazirmatn', Tahoma, sans-serif; background: #f8fafc; color: #0f172a; margin: 24px; direction: rtl; }
.badge { display: inline-block; background: #dcfce7; color: #166534; padding: 6px 12px; border-radius: 8px; font-weight: bold; margin-bottom: 16px; } .badge { display: inline-block; background: #dcfce7; color: #166534; padding: 6px 12px; border-radius: 8px; font-weight: bold; margin-bottom: 16px; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.info-icon { cursor: help; color: #2563eb; font-weight: bold; margin-right: 6px; } .info-icon { cursor: help; color: #2563eb; font-weight: bold; margin-right: 6px; }
@ -20,9 +19,11 @@
</div> </div>
<script> <script>
async function syncState() { async function syncState() {
const res = await fetch('/api/db/state?key=health_check'); try {
const data = await res.json(); const res = await fetch('/api/db/state?key=health_check');
console.log('Loaded from PostgreSQL:', data); const data = await res.json();
console.log('Loaded from PostgreSQL:', data);
} catch (e) {}
} }
syncState(); syncState();
</script> </script>

View file

@ -3,9 +3,8 @@
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>داشبورد زنده وضعیت سیستم — elahe</title> <title>داشبورد زنده وضعیت سیستم — elahe</title>
<link href="https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css" rel="stylesheet" />
<style> <style>
body { font-family: 'Vazirmatn', sans-serif; background: #f8fafc; color: #0f172a; margin: 24px; direction: rtl; } body { font-family: 'Vazirmatn', Tahoma, sans-serif; background: #f8fafc; color: #0f172a; margin: 24px; direction: rtl; }
.badge { display: inline-block; background: #dcfce7; color: #166534; padding: 6px 12px; border-radius: 8px; font-weight: bold; margin-bottom: 16px; } .badge { display: inline-block; background: #dcfce7; color: #166534; padding: 6px 12px; border-radius: 8px; font-weight: bold; margin-bottom: 16px; }
.card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); } .card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.info-icon { cursor: help; color: #2563eb; font-weight: bold; margin-right: 6px; } .info-icon { cursor: help; color: #2563eb; font-weight: bold; margin-right: 6px; }
@ -20,9 +19,11 @@
</div> </div>
<script> <script>
async function syncState() { async function syncState() {
const res = await fetch('/api/db/state?key=health_check'); try {
const data = await res.json(); const res = await fetch('/api/db/state?key=health_check');
console.log('Loaded from PostgreSQL:', data); const data = await res.json();
console.log('Loaded from PostgreSQL:', data);
} catch (e) {}
} }
syncState(); syncState();
</script> </script>