From cd407571675582eef2e561d31883a6884bc16e02 Mon Sep 17 00:00:00 2001
From: coldenMac <1119472557@qq.com>
Date: Sun, 22 Mar 2026 00:43:56 +0800
Subject: [PATCH] another
---
002/all.html | 37 +++++++++++++++++++------------------
004/all.html | 22 +++++++++++-----------
005/all.html | 26 +++++++++++++-------------
007/all.html | 29 +++++++++++++++++++----------
009/all.html | 27 ++++++++++++++-------------
010/all.html | 18 ++++++++++--------
6 files changed, 86 insertions(+), 73 deletions(-)
diff --git a/002/all.html b/002/all.html
index e6adb20..06f281d 100644
--- a/002/all.html
+++ b/002/all.html
@@ -183,9 +183,9 @@
GlobalGuard Audit V9.4
@@ -193,7 +193,7 @@
East China Audit Group
A
-
+
@@ -294,8 +294,8 @@
-
-
@@ -324,8 +324,8 @@
-
Batch Approve
-
Batch Reject
+
Batch Approve
+
Batch Reject
Showing 0 results / Total 0
@@ -372,8 +372,8 @@
@@ -393,8 +393,8 @@
- Cancel
- Confirm Reject
+ Cancel
+ Confirm Reject
@@ -406,8 +406,8 @@
Are you sure you want to log out? Unsaved changes will be lost.
- Cancel
- Confirm Logout
+ Cancel
+ Confirm Logout
@@ -600,9 +600,10 @@ const app = {
return '';
}).join('');
+ const safeId = order.id.replace(/[^a-zA-Z0-9\-_]/g, '-');
htmlBuffer += `
-
- |
+
+ |
${order.id}
${order.date}
@@ -616,13 +617,13 @@ const app = {
| ยฅ ${order.total.toLocaleString()} |
${order.score} / 100
- |
${statusBadge} |
-
+
|
diff --git a/004/all.html b/004/all.html
index bf8226c..4bd6ea7 100644
--- a/004/all.html
+++ b/004/all.html
@@ -215,7 +215,7 @@
- Register / Login
+ Register / Login
@@ -227,12 +227,12 @@
- ๐ Home
- ๐ฅ๏ธ Hardware
- ๐ฟ Software
- ๐ Off-topic
- ๐น Marketplace
- ๐ข Announcements
+ ๐ Home
+ ๐ฅ๏ธ Hardware
+ ๐ฟ Software
+ ๐ Off-topic
+ ๐น Marketplace
+ ๐ข Announcements
@@ -614,7 +614,7 @@
- Login
+ Login
@@ -638,8 +638,8 @@
- Cancel
- Post Thread
+ Cancel
+ Post Thread
@@ -841,7 +841,7 @@
Total ${data.length} threads
-
โ๏ธ New Thread
+
โ๏ธ New Thread
@@ -262,7 +262,7 @@
@@ -330,7 +330,7 @@
- Search
+ Search
@@ -917,13 +917,13 @@
const html = `
APA 7th:
-
${apa} Copy
+
${apa} Copy
MLA 9th:
-
${mla} Copy
+
${mla} Copy
BibTeX:
-
${bib} Copy
+
${bib} Copy
`;
document.getElementById('citation-body').innerHTML = html;
@@ -1121,8 +1121,8 @@
div.className = 'result-item';
div.innerHTML = `
-
- ${start + index + 1}. ${item.title}
+
+ ${start + index + 1}. ${item.title}
`;
container.appendChild(div);
@@ -1202,8 +1202,8 @@
? `
Download Full Text (PDF)`
: `
PDF Unauthorized Request Document Delivery`
}
-
Get Citation
-
Add to Shelf
+
Get Citation
+
Add to Shelf
`;
}
diff --git a/007/all.html b/007/all.html
index cd5b6ea..b61c513 100644
--- a/007/all.html
+++ b/007/all.html
@@ -202,20 +202,20 @@
-
๐
+
๐
@@ -476,11 +476,11 @@
How do you get news?
@@ -490,7 +490,7 @@
-
Global Summit Closes: "2030 Climate Action Declaration" Adopted
+
Global Summit Closes: "2030 Climate Action Declaration" Adopted
- - World Cup expands to 48 teams, more Asian slots
+ - World Cup expands to 48 teams, more Asian slots
- NBA Finals G6: Lakers vs Celtics at home
- F1 Monaco GP: Ferrari locks front row
- Wimbledon: Chinese youngster upsets champion to reach QF
@@ -1183,6 +1183,15 @@
});
console.log("Global Daily Portal Initialized. Version 2.4.0 (EN)");
+
+ // -------------------------------------------------------------------------
+ // Core: Theme Toggle
+ // -------------------------------------------------------------------------
+ window.toggleTheme = function() {
+ const body = document.body;
+ const isDark = body.getAttribute('data-theme') === 'dark';
+ body.setAttribute('data-theme', isDark ? '' : 'dark');
+ };
diff --git a/009/all.html b/009/all.html
index 059fbed..64454d9 100644
--- a/009/all.html
+++ b/009/all.html
@@ -297,29 +297,29 @@
@@ -591,6 +591,7 @@
filtered.forEach(email => {
const el = document.createElement('div');
+ el.id = `mail-item-${email.id}`;
el.className = `mail-item ${email.unread ? 'unread' : ''} ${selectedEmailId === email.id ? 'selected' : ''}`;
el.onclick = () => openEmail(email.id);
@@ -603,7 +604,7 @@
// Insert Checkbox in HTML
el.innerHTML = `
-
+
- โฉ๏ธ
- โก๏ธ
- ๐๏ธ
+ โฉ๏ธ
+ โก๏ธ
+ ๐๏ธ
diff --git a/010/all.html b/010/all.html
index b35241a..19ffa95 100644
--- a/010/all.html
+++ b/010/all.html
@@ -316,12 +316,12 @@
|
- Outpatient
- Inpatient
- Surgery
- Lab Results
- Pharmacy
- Order Admin
+ Outpatient
+ Inpatient
+ Surgery
+ Lab Results
+ Pharmacy
+ Order Admin
|
@@ -475,7 +475,7 @@
| Drug Name | Stock | Status | Action |
| Aspirin | 12,000 | Sufficient | - |
- | Insulin Inj | 50 | Low Stock | Request Restock |
+ | Insulin Inj | 50 | Low Stock | Request Restock |
| Cefradine | 340 | Normal | - |
@@ -732,6 +732,7 @@
PATIENTS.forEach(p => {
const tr = document.createElement('tr');
+ tr.id = `patient-row-${p.id}`;
tr.className = `patient-row ${currentPatientId === p.id ? 'active' : ''}`;
tr.onclick = () => selectPatient(p.id);
@@ -793,7 +794,8 @@
labList.innerHTML = 'No lab results';
} else {
p.labs.forEach(lab => {
- const linkPart = lab.link ? ` [View Image]` : '';
+ const safeLabName = lab.name.replace(/[^a-zA-Z0-9]/g, '-');
+ const linkPart = lab.link ? ` [View Image]` : '';
const li = document.createElement('li');
li.style.marginBottom = '5px';
li.innerHTML = `${lab.date}: ${lab.name} - ${lab.result} ${linkPart}`;