From 5cc7396663c6a2641ae0cbbb1f29338e86cad01d Mon Sep 17 00:00:00 2001 From: tian <11429339@qq.com> Date: Fri, 8 May 2026 11:32:57 +0800 Subject: [PATCH] refactor: modal dialogs for face gallery, unified pattern --- internal/web/ui/templates/face_gallery.html | 106 ++++++++------------ 1 file changed, 44 insertions(+), 62 deletions(-) diff --git a/internal/web/ui/templates/face_gallery.html b/internal/web/ui/templates/face_gallery.html index 4d6be92..6947758 100644 --- a/internal/web/ui/templates/face_gallery.html +++ b/internal/web/ui/templates/face_gallery.html @@ -1,28 +1,8 @@ {{define "face_gallery"}} - -
-
-

{{icon "overview"}}批量导入

-
-
- -
-
- -
-
-
-
-

{{icon "edit"}}新增人员

-
-
- - -
-
- -
-
+ @@ -32,6 +12,10 @@

{{icon "profile"}}人员列表

{{len .FaceGalleryPersons}} 人
+
+ + +
{{if .FaceGalleryPersons}}
@@ -51,7 +35,7 @@
{{.Name}} {{.PhotoCount}}张
- +
@@ -66,46 +50,44 @@ {{end}}
- - + + {{end}}