feat(web): componentize frontend and replace native delete confirm
- Split monolithic app.js/style.css into Alpine.js components (icons, store, fileSection, confirm)
- Add central Alpine.store('files') as single source of truth for file lists and actions
- Replace duplicated Inbox/Outbox markup with reusable fileSection component (props: dir, canShare)
- Add shared window.Icons module to remove duplicated inline SVGs
- Replace browser-native confirm() for file deletion with a styled, accessible modal dialog
- Split CSS into design tokens, base, and component layers; modernize visuals
- Update web.go embed and server static routes for the new component/style dirs
This commit is contained in:
+1
-1
@@ -2,5 +2,5 @@ package web
|
||||
|
||||
import "embed"
|
||||
|
||||
//go:embed login.html index.html style.css app.js alpine.min.js
|
||||
//go:embed login.html index.html alpine.min.js components styles
|
||||
var FS embed.FS
|
||||
|
||||
Reference in New Issue
Block a user