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) {
'' +
'' +
- '
Logout';
+ 'User settings' +
+
+ 'Donate' +
+
+ 'Logout (via API)';
} else {
var request = {method: "GET"};
- ul.innerHTML = 'Log in' +
+ ul.innerHTML = 'Log in (via API)' +
+ '' +
+ '' +
+ 'Communities' +
+ '' +
+ '' +
+ '' +
+ 'User settings' +
'Donate';
}
@@ -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 = '' + ' ' + data.site.name;