Compare commits

...

1 Commits

Author SHA1 Message Date
Alexander Whitestone
4e0a2dad1a fix: Fix duplicate atlas-toggle-btn ID and mismatched button tags (#1442)
Some checks failed
CI / test (pull_request) Failing after 52s
CI / validate (pull_request) Failing after 46s
Review Approval Gate / verify-review (pull_request) Failing after 5s
This commit fixes issue #1442 by removing the duplicate atlas-toggle-btn
ID and fixing mismatched button tags in index.html.

Changes:
- Removed duplicate atlas-toggle-btn with title "World Directory" (line 168)
- Kept the complete atlas-toggle-btn with title "Portal Atlas" (line 176)
- Added missing closing tags for soul-toggle-btn and mode-toggle-btn
- Ensured all buttons are properly closed with matching tags

Before:
- Two atlas-toggle-btn buttons with different titles
- First one incomplete (no closing tag, no content)
- Second one complete with content
- 29 opening <button> tags, 27 closing </button> tags

After:
- Single atlas-toggle-btn with title "Portal Atlas"
- All buttons properly closed
- 28 opening <button> tags, 28 closing </button> tags
- Clean HTML structure

Note: Issue #1338 (duplicate content blocks) was closed after PR #1432
was merged, which fixed the duplicate content in README.md and POLICY.md.
However, the HTML issues in index.html (issue #1442) still needed to be fixed.

Fixes #1442
2026-04-14 11:43:22 -04:00

View File

@@ -165,18 +165,18 @@
<!-- Top Right: Agent Log, Atlas & SOUL Toggle -->
<div class="hud-top-right">
<button id="atlas-toggle-btn" class="hud-icon-btn" title="World Directory">
<button id="soul-toggle-btn" class="hud-icon-btn" title="Timmy's SOUL">
<span class="hud-icon"></span>
<span class="hud-btn-label">SOUL</span>
<button id="mode-toggle-btn" class="hud-icon-btn mode-toggle" title="Toggle Mode">
<span class="hud-icon">👁</span>
<span class="hud-btn-label" id="mode-label">VISITOR</span>
</button>
<button id="atlas-toggle-btn" class="hud-icon-btn" title="Portal Atlas">
<span class="hud-icon">🌐</span>
<span class="hud-btn-label">WORLDS</span>
</button>
<button id="soul-toggle-btn" class="hud-icon-btn" title="Timmy's SOUL">
<span class="hud-icon"></span>
<span class="hud-btn-label">SOUL</span>
</button>
<button id="mode-toggle-btn" class="hud-icon-btn mode-toggle" title="Toggle Mode">
<span class="hud-icon">👁</span>
<span class="hud-btn-label" id="mode-label">VISITOR</span>
</button>
<div id="bannerlord-status" class="hud-status-item" title="Bannerlord Readiness">
<span class="status-dot"></span>
<span class="status-label">BANNERLORD</span>