diff --git a/app/templates/themes/x_api/base.html b/app/templates/themes/x_api/base.html index 5bce7ec5..d6daa031 100644 --- a/app/templates/themes/x_api/base.html +++ b/app/templates/themes/x_api/base.html @@ -40,6 +40,7 @@ + {{ bootstrap.load_css() }} diff --git a/app/templates/themes/x_api/js/site.js b/app/templates/themes/x_api/js/site.js index 3b0a1a0b..2267c5cc 100644 --- a/app/templates/themes/x_api/js/site.js +++ b/app/templates/themes/x_api/js/site.js @@ -26,10 +26,23 @@ if (jwt != null) { '' + '' + - ''; + '' + + + '' + + + ''; } else { var request = {method: "GET"}; - ul.innerHTML = '' + + ul.innerHTML = '' + + '' + + '' + ''; } @@ -42,6 +55,7 @@ fetch(api, request) document.querySelector('#icon_32').href = data.site.icon_32; document.querySelector('#icon_16').href = data.site.icon_16; document.querySelector('#icon_shortcut').href = data.site.icon_32; + document.querySelector('#favicon').href = baseUrl + '/static/images/favicon.ico'; // navbar document.querySelector('#navbar_title').innerHTML = 'Logo' + ' ' + data.site.name;