mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
@@ -1147,6 +1147,8 @@ body {
|
|||||||
|
|
||||||
}
|
}
|
||||||
#random_game_prompt{
|
#random_game_prompt{
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
grid-area: textarea;
|
grid-area: textarea;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1563,6 +1565,7 @@ input {
|
|||||||
border-color: white;
|
border-color: white;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.action_button {
|
.action_button {
|
||||||
@@ -1614,6 +1617,7 @@ button.disabled {
|
|||||||
textarea {
|
textarea {
|
||||||
background-color: var(--input_background);
|
background-color: var(--input_background);
|
||||||
color: var(--text);
|
color: var(--text);
|
||||||
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pulse {
|
.pulse {
|
||||||
|
@@ -400,7 +400,7 @@ function do_presets(data) {
|
|||||||
//add our blank option
|
//add our blank option
|
||||||
var option = document.createElement("option");
|
var option = document.createElement("option");
|
||||||
option.value="";
|
option.value="";
|
||||||
option.text="presets";
|
option.text="Presets";
|
||||||
select.append(option);
|
select.append(option);
|
||||||
presets = data.value;
|
presets = data.value;
|
||||||
|
|
||||||
|
@@ -70,8 +70,9 @@
|
|||||||
<!------------ Input Area--------------------->
|
<!------------ Input Area--------------------->
|
||||||
<div class="inputrow" id="inputrow_container">
|
<div class="inputrow" id="inputrow_container">
|
||||||
<div id="random_game_prompt" class="hidden">
|
<div id="random_game_prompt" class="hidden">
|
||||||
<input type="text" autocomplete="off" style="width: 100%;" id="themetext" placeholder="Theme for Random Story" oninput='if (this.value != "") {
|
<input type="text" autocomplete="off" id="themetext" placeholder="Theme for Random Story" oninput='if (this.value != "") {
|
||||||
document.getElementById("input_text").value = "";'/>
|
document.getElementById("input_text").value = "";'/>
|
||||||
|
<span class="help_text" style="margin:0px;margin-top:5px;">The AI can create a prompt for you! Optionally type in one or more themes above, or let the AI do it's thing.</span>
|
||||||
</div>
|
</div>
|
||||||
<textarea autocomplete="off" row=5 id="input_text" placeholder="Enter Prompt Here" oninput='if (this.value != "") {
|
<textarea autocomplete="off" row=5 id="input_text" placeholder="Enter Prompt Here" oninput='if (this.value != "") {
|
||||||
document.getElementById("themetext").value = "";
|
document.getElementById("themetext").value = "";
|
||||||
|
Reference in New Issue
Block a user