diff --git a/static/koboldai.js b/static/koboldai.js index c390861f..de16236e 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -1898,6 +1898,16 @@ String.prototype.toHHMMSS = function () { return hours+':'+minutes+':'+seconds; } +function close_menus() { + document.getElementById("setting_menu_icon").classList.remove("change"); + document.getElementById("SideMenu").classList.remove("open"); + document.getElementById("main-grid").classList.remove("menu-open"); + + document.getElementById("story_menu_icon").classList.remove("change"); + document.getElementById("rightSideMenu").classList.remove("open"); + document.getElementById("main-grid").classList.remove("story_menu-open"); +} + function toggle_flyout(x) { if (document.getElementById("SideMenu").classList.contains("pinned")) { //do nothing diff --git a/templates/index_new.html b/templates/index_new.html index f71bb7b8..b709736c 100644 --- a/templates/index_new.html +++ b/templates/index_new.html @@ -24,14 +24,15 @@ {% include 'settings flyout.html' %} + + + -
- - +

Disconnected

@@ -56,13 +57,13 @@
- -
- - - -
- +
+ + +
+ + +
@@ -74,7 +75,7 @@ {% include 'popups.html' %} - +