Spaces:
Running
Running
Update index.html
Browse files- index.html +47 -3
index.html
CHANGED
|
@@ -1,3 +1,47 @@
|
|
| 1 |
-
<!doctype html
|
| 2 |
-
<
|
| 3 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
+
<title>منصة معالجة التذاكر</title>
|
| 7 |
+
<link href="https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap" rel="stylesheet">
|
| 8 |
+
<link rel="stylesheet" href="./style.css" />
|
| 9 |
+
<!-- SheetJS لتوليد ملف Excel -->
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/xlsx@0.18.5/dist/xlsx.full.min.js"></script>
|
| 11 |
+
</head>
|
| 12 |
+
<body>
|
| 13 |
+
<div class="container">
|
| 14 |
+
<header class="hero center">
|
| 15 |
+
<h1>منصة معالجة التذاكر</h1>
|
| 16 |
+
<p class="sub">تطوير وإعداد — <b>نوف الناصر</b></p>
|
| 17 |
+
</header>
|
| 18 |
+
|
| 19 |
+
<section class="card center">
|
| 20 |
+
<label class="label" for="raw">الصق التذاكر هنا</label>
|
| 21 |
+
<textarea id="raw" class="paste" placeholder="الصق/ي نص التذاكر كما هو… افصل/ي بين التذاكر بسطر فارغ أو 🔴🔴🔴 أو ---"></textarea>
|
| 22 |
+
<div class="hint">خطوات سريعة: 1) حلّل/ي التذاكر 2) صدّر/ي إلى Excel 3) امسح/ي المدخلات.</div>
|
| 23 |
+
|
| 24 |
+
<div class="btn-row">
|
| 25 |
+
<button id="btn-parse" class="btn btn-secondary" data-step="1">تحليل التذاكر</button>
|
| 26 |
+
<button id="btn-export" class="btn btn-primary" data-step="2">تصدير Excel</button>
|
| 27 |
+
<button id="btn-clear" class="btn btn-secondary" data-step="3">مسح الكل</button>
|
| 28 |
+
<input id="fname" class="fname" value="Ticket" aria-label="اسم ملف التصدير" />
|
| 29 |
+
<button id="btn-sample" class="btn btn-light">إدراج مثال</button>
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
<div class="table-wrap">
|
| 33 |
+
<table id="resultTable" class="table">
|
| 34 |
+
<thead>
|
| 35 |
+
<tr id="theadRow"></tr>
|
| 36 |
+
</thead>
|
| 37 |
+
<tbody id="tbody"></tbody>
|
| 38 |
+
</table>
|
| 39 |
+
</div>
|
| 40 |
+
</section>
|
| 41 |
+
|
| 42 |
+
<footer class="footer">© جميع الحقوق محفوظة — <b>نوف الناصر</b></footer>
|
| 43 |
+
</div>
|
| 44 |
+
|
| 45 |
+
<script src="./app.js"></script>
|
| 46 |
+
</body>
|
| 47 |
+
</html>
|