feat(navigation): hard-switch to Zibll navigation and Font Awesome 5

This commit is contained in:
kate522 committed 2026-08-18 20:46:21 +08:00
1 parent 3c3ddac8be
commit a0b84977a2
630 files changed
+101647 -11293

No files matched your search

+1
View File
@@ -0,0 +1 @@
function save_userdata(a,t,e){notyf(zib__("processing_wait"),"load","","user_ajax"),t=t||zib__("done"),$.ajax({type:"POST",url:_win.uri+"/action/post_navs.php",data:a,dataType:"json",success:function(a){a.error?a.msg&&notyf(a.msg,a.error?"danger":"","","user_ajax"):(notyf(a.msg||t,"","","user_ajax"),"reload"==e&&location.reload())}})}$("button[evt='action']").on("click",function(a){a=a||window.event;var t=a.target||a.srcElement,e=$(t),o=e.parents("form"),r=o.serializeObject(),s=[];return $("#cat-sortable-ok .sortable-cat-item").each(function(){s.push($(this).attr("data-id"))}),r.navs_show_cat_id=s,save_userdata(r,zib__("save_success"),"reload"),!1}),$(document).ready(function(){$("#cat-sortable").length&&tbquire(["sortablejs"],function(){var a=document.getElementById("cat-sortable"),t=document.getElementById("cat-sortable-ok"),e={group:"cat_shared",multiDrag:!0,chosenClass:"chosen",fallbackClass:!0,animation:400};Sortable.create(a,e),Sortable.create(t,e)})});