another
This commit is contained in:
29
007/all.html
29
007/all.html
@@ -202,20 +202,20 @@
|
||||
</head>
|
||||
<body bgcolor="#ffffff" text="#000000" link="#0000EE" vlink="#551A8B" alink="#FF0000">
|
||||
|
||||
<div class="theme-toggle" onclick="toggleTheme()" title="切换夜间模式" aria-label="Toggle dark/light mode">🌓</div>
|
||||
<button id="btn-theme-toggle" class="theme-toggle" onclick="toggleTheme()" title="切换夜间模式" aria-label="Toggle dark/light mode">🌓</button>
|
||||
|
||||
<!-- Modals -->
|
||||
<div id="modal-container" class="modal-overlay" role="presentation" aria-hidden="true">
|
||||
<div class="modal-box" id="modal-box" role="dialog" aria-modal="true" aria-labelledby="modal-title">
|
||||
<div class="modal-header">
|
||||
<span class="modal-title" id="modal-title">Alert</span>
|
||||
<button class="close-btn" onclick="closeModal()" aria-label="Close modal">×</button>
|
||||
<button id="btn-modal-close-x" class="close-btn" onclick="closeModal()" aria-label="Close modal">×</button>
|
||||
</div>
|
||||
<div class="modal-body" id="modal-content">
|
||||
<!-- Content -->
|
||||
</div>
|
||||
<div class="modal-footer" id="modal-footer">
|
||||
<button class="modal-btn btn-secondary" onclick="closeModal()" style="padding: 6px 15px; border: 1px solid #ccc; background: white; border-radius: 4px; cursor: pointer;" aria-label="Close">Close</button>
|
||||
<button id="btn-modal-close" class="modal-btn btn-secondary" onclick="closeModal()" style="padding: 6px 15px; border: 1px solid #ccc; background: white; border-radius: 4px; cursor: pointer;" aria-label="Close">Close</button>
|
||||
<button class="modal-btn btn-primary" id="modal-confirm-btn" style="padding: 6px 15px; border: none; background: var(--accent); color: white; border-radius: 4px; cursor: pointer; margin-left: 10px; display:none;" aria-label="Confirm">Confirm</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -476,11 +476,11 @@
|
||||
<div class="card-header">Daily Poll</div>
|
||||
<p style="font-size:13px; margin-bottom:10px;"><strong>How do you get news?</strong></p>
|
||||
<form>
|
||||
<label style="display:block; margin-bottom:5px; font-size:13px;"><input type="radio" name="poll"> Social Media APP</label>
|
||||
<label style="display:block; margin-bottom:5px; font-size:13px;"><input type="radio" name="poll"> Traditional Portals</label>
|
||||
<label style="display:block; margin-bottom:5px; font-size:13px;"><input type="radio" name="poll"> TV/Radio</label>
|
||||
<label style="display:block; margin-bottom:10px; font-size:13px;"><input type="radio" name="poll"> Newspapers</label>
|
||||
<button type="button" class="btn-login" style="width:100%; border-radius:15px;" onclick="showCustomAlert('Thanks! 68% users chose Social Media.')">Submit Vote</button>
|
||||
<label style="display:block; margin-bottom:5px; font-size:13px;"><input id="poll-social-media" type="radio" name="poll" value="social"> Social Media APP</label>
|
||||
<label style="display:block; margin-bottom:5px; font-size:13px;"><input id="poll-portals" type="radio" name="poll" value="portal"> Traditional Portals</label>
|
||||
<label style="display:block; margin-bottom:5px; font-size:13px;"><input id="poll-tv" type="radio" name="poll" value="tv"> TV/Radio</label>
|
||||
<label style="display:block; margin-bottom:10px; font-size:13px;"><input id="poll-newspaper" type="radio" name="poll" value="newspaper"> Newspapers</label>
|
||||
<button id="btn-poll-submit" type="button" class="btn-login" style="width:100%; border-radius:15px;" onclick="showCustomAlert('Thanks! 68% users chose Social Media.')">Submit Vote</button>
|
||||
</form>
|
||||
</div>
|
||||
</td>
|
||||
@@ -490,7 +490,7 @@
|
||||
<!-- Headline Focus (Enhanced) -->
|
||||
<div class="card-panel highlight">
|
||||
<div class="headline-box">
|
||||
<h2 onclick="showArticle('Global Sustainable Development Summit Closes in Geneva', 'After three days of intense discussion, the global summit concluded successfully...')">Global Summit Closes: "2030 Climate Action Declaration" Adopted</h2>
|
||||
<h2 id="btn-headline-geneva" onclick="showArticle('Global Sustainable Development Summit Closes in Geneva', 'After three days of intense discussion, the global summit concluded successfully...')" style="cursor:pointer;">Global Summit Closes: "2030 Climate Action Declaration" Adopted</h2>
|
||||
<div class="headline-meta">
|
||||
<span>2026-01-19 08:30</span> |
|
||||
<span>Source: Global Daily</span> |
|
||||
@@ -670,7 +670,7 @@
|
||||
Sports Arena <a href="javascript:void(0)" style="font-weight:normal; font-size:12px; color:#999;">More ></a>
|
||||
</div>
|
||||
<ul class="compact-list">
|
||||
<li><a href="javascript:void(0)" class="text-red">World Cup expands to 48 teams, more Asian slots</a></li>
|
||||
<li><a id="news-worldcup" href="javascript:void(0)" class="text-red">World Cup expands to 48 teams, more Asian slots</a></li>
|
||||
<li><a href="javascript:void(0)">NBA Finals G6: Lakers vs Celtics at home</a></li>
|
||||
<li><a href="javascript:void(0)">F1 Monaco GP: Ferrari locks front row</a></li>
|
||||
<li><a href="javascript:void(0)">Wimbledon: Chinese youngster upsets champion to reach QF</a></li>
|
||||
@@ -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');
|
||||
};
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user