diff --git a/baton/static/baton/app/dist/baton.min.js b/baton/static/baton/app/dist/baton.min.js index e11a9e6..c5570ec 100644 --- a/baton/static/baton/app/dist/baton.min.js +++ b/baton/static/baton/app/dist/baton.min.js @@ -1,2 +1,2 @@ /*! For license information please see baton.min.js.LICENSE.txt */ -(()=>{var t={888:(t,e,o)=>{"use strict";var n=o(414),r=o.n(n),a=o(72),i=o.n(a),c=o(668);i()(c.A,{insert:"head",singleton:!1}),c.A.locals;var l=o(305),s=o(692),m=o.n(s);function f(t,e){for(var o=0;o",{class:"navbar-toggler navbar-toggler-right","data-bs-toggle":"collapse"}).html('').click((function(){return m()(document.body).addClass("menu-open")}))),m()("#user-tools").contents().filter((function(){return 3===this.nodeType})).remove();var e=m()("
",{class:"dropdown"}).appendTo(m()("#user-tools")),o=m()("
",{class:"dropdown-menu dropdown-menu-right"}).appendTo(e);if(m()("#user-tools strong").addClass("dropdown-toggle btn btn-default").attr("data-bs-toggle","dropdown").prependTo(e),m()("#user-tools > a").addClass("dropdown-item").appendTo(o),m()("#logout-form").length&&(m()("#logout-form button").css("display","none"),m()("",{class:"dropdown-item","data-item":"logout"}).html(m()("#logout-form button").html()).on("click",(function(){m()("#logout-form").submit()})).appendTo(o)),!t.forceTheme){var n=this,r=m()("html").attr("data-bs-theme"),a=m()("",{class:"dropdown-item dropdown-item-theme"}).html("dark"===r?this.t.get("lightTheme"):this.t.get("darkTheme")).css("cursor","pointer").click((function(){var t=m()("html").attr("data-bs-theme");m()("hmtl").attr("data-theme","dark"===t?"light":"dark"),m()("html").attr("data-bs-theme","dark"===t?"light":"dark"),m()(this).html("dark"===t?n.t.get("darkTheme"):n.t.get("lightTheme")),localStorage.setItem("baton-theme","dark"===t?"light":"dark")}));0===o.find(".dropdown-item-theme").length&&o.append(a)}}},g=function(t){m()("#footer").appendTo("#content"),t.remove&&m()("#footer").remove()},b={init:function(t,e){this.Dispatcher=e,this.t=new p(m()("html").attr("lang")),this.collapsableUserArea=t.collapsableUserArea,this.menuTitle=t.menuTitle,this.searchField=t.searchField,this.appListUrl=t.api.app_list,this.gravatarUrl=t.api.gravatar,this.gravatarDefaultImg=t.gravatarDefaultImg,this.gravatarEnabled=t.gravatarEnabled,this.alwaysCollapsed=m()("#header").hasClass("menu-always-collapsed"),this.fixNodes(),this.brandingClone=m()("#branding").clone(),this.manageBrandingUserTools(),this.addThemeToggle(t),this.searchTimeout=null,this.manageSearchField(),this.fetchData(),this.setHeight();var o=this;m()(window).on("resize",(function(){o.setHeight(),o.manageBrandingUserTools(),o.addThemeToggle(t)}))},fixNodes:function(){var t=m()("
",{class:"container-fluid"});m()("#footer").before(t);var e=m()("
",{class:"row"}).appendTo(t);this.menu=m()("