diff --git a/koboldai_settings.py b/koboldai_settings.py index 1196a678..fe7b6f27 100644 --- a/koboldai_settings.py +++ b/koboldai_settings.py @@ -616,15 +616,14 @@ class model_settings(settings): self.oaiapikey = "" # API key to use for OpenAI API calls self.configname = None self.online_model = '' - self.welcome_default = """
- -
-
Please load a model from the left.
- If you encounter any issues, please click the Download debug dump link in the Home tab on the left flyout and attach the downloaded file to your error report on Github, Reddit, or Discord. - A redacted version (without story text) is available. -
-
-
""" # Custom Welcome Text + self.welcome_default = """ +
+
+
Please load a model from the left.
+ If you encounter any issues, please click the Download debug dump link in the Home tab on the left flyout and attach the downloaded file to your error report on Github, Reddit, or Discord. + A redacted version (without story text) is available. +
+
""" # Custom Welcome Text self.welcome = self.welcome_default self.koboldai_vars = koboldai_vars diff --git a/static/koboldai.css b/static/koboldai.css index 5b5afff1..be6fdf74 100644 --- a/static/koboldai.css +++ b/static/koboldai.css @@ -1231,6 +1231,7 @@ body { font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; font-size: calc((1em*var(--game_screen_font_size_adjustment)) + var(--font_size_adjustment)); line-height: 1.42857143; + position: relative; } #story_prompt[story_prompt_in_ai="true"] { @@ -2441,17 +2442,20 @@ body { } #welcome-logo { - display: block; - top: 0px; - text-align: center; - margin-top: 20px; - margin-left: auto; - margin-right: auto; width: 50%; max-width: 720px; filter: drop-shadow(5px 5px 5px #222); } +#welcome-logo-container { + width: 100%; + height: 100%; + position: absolute; + display: flex; + justify-content: center; + align-items: center; +} + #welcome-text-content { display: inline-block; align-self: flex-end; diff --git a/static/koboldai.js b/static/koboldai.js index 1ac0f2ee..975360c1 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -5325,6 +5325,7 @@ process_cookies(); return; } else if (finder_mode === "ui") { let index = finder_selection_index >= 0 ? finder_selection_index : 0; + if (!actions[index]) return; actions[index].click(); } } else if (event.key === "ArrowUp") { diff --git a/templates/index_new.html b/templates/index_new.html index 47abe19e..caeb3307 100644 --- a/templates/index_new.html +++ b/templates/index_new.html @@ -47,7 +47,11 @@

Disconnected

-
+ +
+
+
+