feat(widgets): rebuild admin widgets page to match reference theme
- Replace transfer modal/admin-post flow with reference-style AJAX export/import/template dialogs (admin-transfer.js, TransferController) - Customizer "移出模块" action, reference lazy form loading with t-notice - Common fields use reference labels, dependencies, compact/inline rows, top/bottom-only extra spacing; form header with description/reminder - Remove placement hint, template preview and legacy transfer code - Fix widget audit (current_datetime stub, honor catalog common flags) and regenerate stale golden fixtures for posts_toc, quote, posts Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ea80cd96cc
commit
a579a5b00a
14 files changed
+698
-446
No files matched your search
Vendored
+4
-51
@@ -267,54 +267,11 @@
|
||||
"sha256": "07ea0c3260a9ee9701b1ce03795941fbbfb61c377ad71fe8f7820107763c5528"
|
||||
},
|
||||
"field_ids": [
|
||||
"show_type",
|
||||
"show_id_type",
|
||||
"show_ids",
|
||||
"animation_in",
|
||||
"animation_repeat",
|
||||
"layout_pin_pc",
|
||||
"layout_pin_m",
|
||||
"layout_bg",
|
||||
"title",
|
||||
"mini_title",
|
||||
"in_affix"
|
||||
],
|
||||
"settings": {
|
||||
"show_type": "all",
|
||||
"show_id_type": "",
|
||||
"show_ids": "",
|
||||
"animation_in": "",
|
||||
"animation_repeat": false,
|
||||
"layout_pin_pc": {
|
||||
"top": 0,
|
||||
"right": 0,
|
||||
"bottom": 20,
|
||||
"left": 0
|
||||
},
|
||||
"layout_pin_m": {
|
||||
"top": 0,
|
||||
"right": 0,
|
||||
"bottom": 20,
|
||||
"left": 0
|
||||
},
|
||||
"layout_bg": {
|
||||
"light": {
|
||||
"color": "#ffffff",
|
||||
"image": "",
|
||||
"position": "center center",
|
||||
"repeat": "no-repeat",
|
||||
"attachment": "scroll",
|
||||
"size": "cover"
|
||||
},
|
||||
"dark": {
|
||||
"color": "#1d1e24",
|
||||
"image": "",
|
||||
"position": "center center",
|
||||
"repeat": "no-repeat",
|
||||
"attachment": "scroll",
|
||||
"size": "cover"
|
||||
}
|
||||
},
|
||||
"title": "AKSRT · Posts toc",
|
||||
"mini_title": "AKSRT mini title 1",
|
||||
"in_affix": false
|
||||
@@ -354,10 +311,7 @@
|
||||
"animation_repeat",
|
||||
"layout_pin_pc",
|
||||
"layout_pin_m",
|
||||
"layout_bg",
|
||||
"source",
|
||||
"quotes",
|
||||
"interval"
|
||||
"layout_bg"
|
||||
],
|
||||
"settings": {
|
||||
"title": "AKSRT · Quote",
|
||||
@@ -420,10 +374,7 @@
|
||||
"attachment": "scroll",
|
||||
"size": "cover"
|
||||
}
|
||||
},
|
||||
"source": "local",
|
||||
"quotes": "保持好奇,持续创造。\n知识因为分享而更有价值。",
|
||||
"interval": 30
|
||||
}
|
||||
},
|
||||
"root_selector": "[data-aksrt-widget=\"quote\"]",
|
||||
"states": [
|
||||
@@ -2657,6 +2608,7 @@
|
||||
"title_link2",
|
||||
"title_link3",
|
||||
"title_link_style",
|
||||
"sidebar_affix",
|
||||
"show_type",
|
||||
"show_id_type",
|
||||
"show_ids",
|
||||
@@ -2702,6 +2654,7 @@
|
||||
"color_2": "jb-yellow",
|
||||
"color_3": "jb-green"
|
||||
},
|
||||
"sidebar_affix": false,
|
||||
"show_type": "all",
|
||||
"show_id_type": "",
|
||||
"show_ids": "",
|
||||
|
||||
Reference in new issue
Block a user