Spaces:
Running
Running
| <html lang="ar" dir="rtl"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width,initial-scale=1" /> | |
| <meta name="theme-color" content="#4137A8" /> | |
| <title>منصة معالجة التذاكر</title> | |
| <link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap" rel="stylesheet"> | |
| <link rel="stylesheet" href="./style.css" /> | |
| <!-- مكتبة Excel --> | |
| <script src="https://cdn.jsdelivr.net/npm/xlsx@0.18.5/dist/xlsx.full.min.js"></script> | |
| <!-- منطق التطبيق --> | |
| <script src="./app.js?v=12" defer></script> | |
| </head> | |
| <body> | |
| <div class="container"> | |
| <header class="hero center"> | |
| <h1>منصة معالجة التذاكر</h1> | |
| <p class="sub"> | |
| <span class="role">تطوير وإعداد الدعم الفني</span> | |
| <span class="sep">—</span> | |
| <bdi class="name">نوف الناصر</bdi> | |
| </p> | |
| </header> | |
| <section class="card center"> | |
| <label class="label" for="raw">الصق التذاكر هنا</label> | |
| <textarea id="raw" class="paste" placeholder="الصق/ي نص التذاكر كما هو… افصل/ي بين التذاكر بسطر فارغ أو 🔴🔴🔴 أو ---"></textarea> | |
| <div class="hint">خطوات سريعة: 1) حلّل/ي التذاكر 2) صدّر/ي إلى Excel 3) امسح/ي المدخلات.</div> | |
| <div class="btn-row"> | |
| <button type="button" id="btn-parse" class="btn btn-primary" data-step="1"> | |
| تحليل التذاكر <span id="countBadge" class="badge badge-right" hidden>0</span> | |
| </button> | |
| <button type="button" id="btn-export" class="btn btn-success" data-step="2" disabled>تصدير/مشاركة Excel</button> | |
| <button type="button" id="btn-copy" class="btn btn-info" disabled>نسخ إلى الحافظة (Excel)</button> | |
| <button type="button" id="btn-clear" class="btn btn-danger" data-step="3">مسح الكل</button> | |
| <input id="fname" class="fname" value="Ticket" aria-label="اسم ملف التصدير" /> | |
| <button type="button" id="btn-sample" class="btn btn-light">إدراج المثال</button> | |
| </div> | |
| <div class="table-wrap"> | |
| <table id="resultTable" class="table"> | |
| <thead><tr id="theadRow"></tr></thead> | |
| <tbody id="tbody"></tbody> | |
| </table> | |
| </div> | |
| </section> | |
| <footer class="footer"> | |
| © جميع الحقوق محفوظة — | |
| <span class="role">تطوير وإعداد الدعم الفني</span> | |
| <span class="sep">—</span> | |
| <bdi class="name">نوف الناصر</bdi> | |
| </footer> | |
| </div> | |
| <div id="toast" class="toast" hidden></div> | |
| </body> | |
| </html> | |