Skip to content

Commit d6c8549

Browse files
rcourtmanclaude
andcommitted
feat: redesign settings menu with tabbed interface for better organization
- Replace single-page settings form with clean tabbed navigation - Organize settings into logical sections: Proxmox VE, Backup Server, Alerts, System - Improve visual hierarchy and reduce cognitive load - Restore comfortable spacing while maintaining app's condensed philosophy - Preserve all existing functionality with enhanced user experience 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 02d6366 commit d6c8549

File tree

2 files changed

+470
-656
lines changed

2 files changed

+470
-656
lines changed

src/public/index.html

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -871,18 +871,37 @@ <h3 class="text-lg font-semibold text-gray-700 dark:text-gray-300">Backup Histor
871871
<!-- Settings Modal -->
872872
<div id="settings-modal" class="fixed inset-0 z-50 hidden items-center justify-center bg-black bg-opacity-50">
873873
<div class="modal-content bg-white dark:bg-gray-800 rounded-lg shadow-xl w-full max-w-6xl max-h-[90vh] flex flex-col m-4">
874-
<div class="modal-header flex justify-between items-center border-b border-gray-300 dark:border-gray-700 p-6">
875-
<h2 class="text-xl font-semibold text-gray-900 dark:text-gray-100">Configuration Settings</h2>
874+
<div class="modal-header flex justify-between items-center border-b border-gray-300 dark:border-gray-700 px-6 py-4">
875+
<h2 class="text-lg font-semibold text-gray-900 dark:text-gray-100">Configuration Settings</h2>
876876
<button id="settings-modal-close" class="text-gray-400 hover:text-gray-600 dark:hover:text-gray-300">
877877
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
878878
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12" />
879879
</svg>
880880
</button>
881881
</div>
882+
883+
<!-- Tab Navigation -->
884+
<div class="border-b border-gray-200 dark:border-gray-700">
885+
<nav class="flex space-x-8 px-6" id="settings-tabs">
886+
<button class="settings-tab active py-3 px-1 border-b-2 border-blue-500 text-blue-600 dark:text-blue-400 font-medium text-sm" data-tab="proxmox">
887+
Proxmox VE
888+
</button>
889+
<button class="settings-tab py-3 px-1 border-b-2 border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 font-medium text-sm" data-tab="pbs">
890+
Backup Server
891+
</button>
892+
<button class="settings-tab py-3 px-1 border-b-2 border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 font-medium text-sm" data-tab="alerts">
893+
Alerts
894+
</button>
895+
<button class="settings-tab py-3 px-1 border-b-2 border-transparent text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 font-medium text-sm" data-tab="system">
896+
System
897+
</button>
898+
</nav>
899+
</div>
900+
882901
<div id="settings-modal-body" class="overflow-y-auto flex-grow p-6 scrollbar">
883902
<p class="text-gray-500 dark:text-gray-400">Loading configuration...</p>
884903
</div>
885-
<div class="modal-footer border-t border-gray-300 dark:border-gray-700 p-6">
904+
<div class="modal-footer border-t border-gray-300 dark:border-gray-700 px-6 py-4">
886905
<div class="flex gap-3 justify-end">
887906
<button type="button" id="settings-cancel-button" class="px-4 py-2 bg-gray-500 hover:bg-gray-600 text-white text-sm font-medium rounded-md transition-colors">
888907
Cancel

0 commit comments

Comments
 (0)