diff --git a/static/koboldai.css b/static/koboldai.css index 3af1578f..e06ccdb7 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -465,10 +465,9 @@ input[type="range"]::-ms-fill-upper { } .story_title_icons { - display: flex; width: 100%; padding: 10px; - justify-content: space-between; + text-align: center; } .settings_menu { diff --git a/static/koboldai.js b/static/koboldai.js index 0aed68d5..f2c1f7df 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -579,6 +579,11 @@ function load_popup(data) { var popup = document.getElementById("popup"); var popup_title = document.getElementById("popup_title"); popup_title.textContent = data.popup_title; + if (data.popup_title == "Select Story to Load") { + document.getElementById("import_story_button").classList.remove("hidden"); + } else { + document.getElementById("import_story_button").classList.add("hidden"); + } var popup_list = document.getElementById("popup_list"); //first, let's clear out our existing data while (popup_list.firstChild) { diff --git a/templates/popups.html b/templates/popups.html index 6a9b4e80..b4efd736 100644 --- a/templates/popups.html +++ b/templates/popups.html @@ -9,7 +9,14 @@ -
Drag file(s) above or click here to Upload File
+
+ Drag file(s) above or click here to Upload File + + +