Spaces:
Running
Running
Update index.html
Browse files- index.html +11 -7
index.html
CHANGED
|
@@ -11,8 +11,9 @@
|
|
| 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 |
-
|
| 15 |
-
<script src="
|
|
|
|
| 16 |
</head>
|
| 17 |
<body>
|
| 18 |
<div class="container">
|
|
@@ -20,18 +21,18 @@
|
|
| 20 |
<h1>منصة معالجة التذاكر</h1>
|
| 21 |
<p class="sub">
|
| 22 |
<span class="role">تطوير وإعداد الدعم الفني</span>
|
| 23 |
-
|
| 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="الصق/ي نص التذاكر كما هو… افصل/ي بين التذاكر بسطر فارغ أو 🔴🔴🔴 أو
|
| 31 |
|
| 32 |
<div class="filters">
|
| 33 |
<input id="agentName" class="control"
|
| 34 |
-
placeholder="
|
| 35 |
aria-label="اسم الدعم الفني (اختياري)" />
|
| 36 |
<select id="regionDefault" class="control" aria-label="المنطقة الافتراضية (تُطبَّق على جميع التذاكر)">
|
| 37 |
<option value="">— المنطقة الافتراضية (اختياري) —</option>
|
|
@@ -51,15 +52,18 @@
|
|
| 51 |
</select>
|
| 52 |
</div>
|
| 53 |
|
| 54 |
-
<div class="hint">خطوات سريعة: 1) حلّل/ي التذاكر
|
| 55 |
|
| 56 |
<div class="btn-row">
|
|
|
|
|
|
|
| 57 |
<button type="button" id="btn-parse" class="btn btn-primary" data-step="1">
|
| 58 |
تحليل التذاكر <span id="countBadge" class="badge badge-right" 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 |
<input id="fname" class="control" value="Ticket" aria-label="اسم ملف التصدير" />
|
| 64 |
<button type="button" id="btn-sample" class="btn btn-light">إدراج المثال</button>
|
| 65 |
</div>
|
|
@@ -75,7 +79,7 @@
|
|
| 75 |
<footer class="footer">
|
| 76 |
© جميع الحقوق محفوظة —
|
| 77 |
<span class="role">تطوير وإعداد الدعم الفني</span>
|
| 78 |
-
|
| 79 |
<bdi class="name">نوف الناصر</bdi>
|
| 80 |
</footer>
|
| 81 |
</div>
|
|
|
|
| 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 |
+
<!-- ExcelJS لتنسيق الإكسل -->
|
| 15 |
+
<script src="https://cdn.jsdelivr.net/npm/exceljs@4.4.0/dist/exceljs.min.js"></script>
|
| 16 |
+
<script src="./app.js?v=31" defer></script>
|
| 17 |
</head>
|
| 18 |
<body>
|
| 19 |
<div class="container">
|
|
|
|
| 21 |
<h1>منصة معالجة التذاكر</h1>
|
| 22 |
<p class="sub">
|
| 23 |
<span class="role">تطوير وإعداد الدعم الفني</span>
|
| 24 |
+
<span class="sep">—</span>
|
| 25 |
<bdi class="name">نوف الناصر</bdi>
|
| 26 |
</p>
|
| 27 |
</header>
|
| 28 |
|
| 29 |
<section class="card center">
|
| 30 |
<label class="label" for="raw">الصق التذاكر هنا</label>
|
| 31 |
+
<textarea id="raw" class="paste" placeholder="الصق/ي نص التذاكر كما هو… افصل/ي بين التذاكر بسطر فارغ أو 🔴🔴🔴 أو اتركيها وسنكتشفها تلقائيًا."></textarea>
|
| 32 |
|
| 33 |
<div class="filters">
|
| 34 |
<input id="agentName" class="control"
|
| 35 |
+
placeholder="ضع اسمك (اختياري) — سيظهر في عمود «اسم الدعم الفني»"
|
| 36 |
aria-label="اسم الدعم الفني (اختياري)" />
|
| 37 |
<select id="regionDefault" class="control" aria-label="المنطقة الافتراضية (تُطبَّق على جميع التذاكر)">
|
| 38 |
<option value="">— المنطقة الافتراضية (اختياري) —</option>
|
|
|
|
| 52 |
</select>
|
| 53 |
</div>
|
| 54 |
|
| 55 |
+
<div class="hint">خطوات سريعة: 1) لصق مُنظَّم (اختياري) 2) حلّل/ي التذاكر 3) صدّر/ي إلى Excel 4) امسح/ي الكل.</div>
|
| 56 |
|
| 57 |
<div class="btn-row">
|
| 58 |
+
<button type="button" id="btn-smartpaste" class="btn btn-light">لصق مُنظَّم</button>
|
| 59 |
+
|
| 60 |
<button type="button" id="btn-parse" class="btn btn-primary" data-step="1">
|
| 61 |
تحليل التذاكر <span id="countBadge" class="badge badge-right" hidden>0</span>
|
| 62 |
</button>
|
| 63 |
<button type="button" id="btn-export" class="btn btn-success" data-step="2" disabled>تصدير/مشاركة Excel</button>
|
| 64 |
<button type="button" id="btn-copy" class="btn btn-info" disabled>نسخ إلى الحافظة (Excel)</button>
|
| 65 |
<button type="button" id="btn-clear" class="btn btn-danger" data-step="3">مسح الكل</button>
|
| 66 |
+
|
| 67 |
<input id="fname" class="control" value="Ticket" aria-label="اسم ملف التصدير" />
|
| 68 |
<button type="button" id="btn-sample" class="btn btn-light">إدراج المثال</button>
|
| 69 |
</div>
|
|
|
|
| 79 |
<footer class="footer">
|
| 80 |
© جميع الحقوق محفوظة —
|
| 81 |
<span class="role">تطوير وإعداد الدعم الفني</span>
|
| 82 |
+
<span class="sep">—</span>
|
| 83 |
<bdi class="name">نوف الناصر</bdi>
|
| 84 |
</footer>
|
| 85 |
</div>
|