Spaces:
Running
Running
Update index.html
Browse files- index.html +84 -35
index.html
CHANGED
|
@@ -1,45 +1,94 @@
|
|
| 1 |
-
<!
|
| 2 |
<html lang="ar" dir="rtl">
|
| 3 |
<head>
|
| 4 |
-
<meta charset="
|
| 5 |
-
<meta name="viewport" content="width=device-width,
|
| 6 |
-
<
|
| 7 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
</head>
|
| 9 |
<body>
|
| 10 |
-
<
|
| 11 |
-
<
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
</div>
|
| 21 |
-
<div id="counter" class="counter">عدد التذاكر: 0</div>
|
| 22 |
-
</section>
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
</section>
|
| 41 |
-
</main>
|
| 42 |
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
</body>
|
| 45 |
</html>
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
<html lang="ar" dir="rtl">
|
| 3 |
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
| 6 |
+
<meta name="theme-color" content="#4137A8" />
|
| 7 |
+
<title>منصة معالجة التذاكر</title>
|
| 8 |
+
|
| 9 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 10 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 11 |
+
<link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap" rel="stylesheet">
|
| 12 |
+
<link rel="stylesheet" href="./style.css" />
|
| 13 |
+
|
| 14 |
+
<script src="https://cdn.jsdelivr.net/npm/exceljs@4.4.0/dist/exceljs.min.js"></script>
|
| 15 |
+
<script src="./app.js?v=38" defer></script>
|
| 16 |
</head>
|
| 17 |
<body>
|
| 18 |
+
<div class="container">
|
| 19 |
+
<header class="hero center">
|
| 20 |
+
<h1>منصة معالجة التذاكر</h1>
|
| 21 |
+
<p class="sub">
|
| 22 |
+
<span class="role">تطوير وإعداد الدعم الفني</span>
|
| 23 |
+
<span class="sep">—</span>
|
| 24 |
+
<bdi class="name">نوف الناصر</bdi>
|
| 25 |
+
</p>
|
| 26 |
+
</header>
|
| 27 |
+
|
| 28 |
+
<section class="card center">
|
| 29 |
+
<label class="label" for="raw">الصق التذاكر هنا</label>
|
| 30 |
+
<textarea id="raw" class="paste" placeholder="الصق/ي نص التذاكر كما هو… حتى لو بدون فواصل."></textarea>
|
| 31 |
+
|
| 32 |
+
<div class="filters">
|
| 33 |
+
<input id="agentName" class="control" placeholder="ضع اسمك (اختياري) — يظهر في عمود «اسم الدعم الفني»" />
|
| 34 |
+
<select id="regionDefault" class="control">
|
| 35 |
+
<option value="">— المنطقة الافتراضية (اختياري) —</option>
|
| 36 |
+
<option>1. الرياض</option>
|
| 37 |
+
<option>2. مكة المكرمة</option>
|
| 38 |
+
<option>3. المدينة المنورة</option>
|
| 39 |
+
<option>4. الشرقية</option>
|
| 40 |
+
<option>5. عسير</option>
|
| 41 |
+
<option>6. تبوك</option>
|
| 42 |
+
<option>7. حائل</option>
|
| 43 |
+
<option>8. الجوف</option>
|
| 44 |
+
<option>9. الحدود الشمالية</option>
|
| 45 |
+
<option>10. الباحة</option>
|
| 46 |
+
<option>11. جازان</option>
|
| 47 |
+
<option>12. نجران</option>
|
| 48 |
+
<option>13. القصيم</option>
|
| 49 |
+
</select>
|
| 50 |
</div>
|
|
|
|
|
|
|
| 51 |
|
| 52 |
+
<div class="hint">خطوات سريعة: 1) لصق مُنظَّم 2) تحليل 3) تصدير 4) مسح.</div>
|
| 53 |
+
|
| 54 |
+
<div class="btn-row">
|
| 55 |
+
<button type="button" id="btn-smartpaste" class="btn btn-light">لصق مُنظَّم</button>
|
| 56 |
+
|
| 57 |
+
<button type="button" id="btn-parse" class="btn btn-primary" data-step="1">
|
| 58 |
+
تحليل التذاكر <span id="countBadge" class="badge" hidden>0</span>
|
| 59 |
+
</button>
|
| 60 |
+
<button type="button" id="btn-export" class="btn btn-success" data-step="2" disabled>تصدير/مشاركة Excel</button>
|
| 61 |
+
<button type="button" id="btn-copy" class="btn btn-info" disabled>نسخ إلى الحافظة (Excel)</button>
|
| 62 |
+
<button type="button" id="btn-clear" class="btn btn-danger" data-step="3">مسح الكل</button>
|
| 63 |
+
|
| 64 |
+
<input id="fname" class="control" value="Ticket" />
|
| 65 |
+
<button type="button" id="btn-sample" class="btn btn-light">إدراج المثال</button>
|
| 66 |
+
</div>
|
| 67 |
+
|
| 68 |
+
<div class="table-wrap">
|
| 69 |
+
<table id="resultTable" class="table">
|
| 70 |
+
<thead><tr id="theadRow"></tr></thead>
|
| 71 |
+
<tbody id="tbody"></tbody>
|
| 72 |
+
</table>
|
| 73 |
+
</div>
|
| 74 |
</section>
|
|
|
|
| 75 |
|
| 76 |
+
<footer class="footer">
|
| 77 |
+
© جميع الحقوق محفوظة — <span class="role">تطوير وإعداد الدعم الفني</span> — <bdi class="name">نوف الناصر</bdi>
|
| 78 |
+
</footer>
|
| 79 |
+
</div>
|
| 80 |
+
|
| 81 |
+
<div id="toast" class="toast" hidden></div>
|
| 82 |
+
|
| 83 |
+
<div id="pasteModal" class="modal" hidden>
|
| 84 |
+
<div class="modal-card">
|
| 85 |
+
<div class="modal-head">لصق يدوي</div>
|
| 86 |
+
<textarea id="pasteInput" class="paste modal-textarea" placeholder="ألصق النص هنا ثم اضغطي إضافة."></textarea>
|
| 87 |
+
<div class="modal-actions">
|
| 88 |
+
<button type="button" id="pasteAdd" class="btn btn-primary">إضافة</button>
|
| 89 |
+
<button type="button" id="pasteCancel" class="btn btn-light">إلغاء</button>
|
| 90 |
+
</div>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
</body>
|
| 94 |
</html>
|