mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove obsolete colab popup
This commit is contained in:
@ -1991,15 +1991,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="colab_shadow_popup">
|
|
||||||
<div id="colab_popup">
|
|
||||||
<div id="colab_popup_text" style="float: left;margin-left: 88px;">
|
|
||||||
<h3>Initialization</h3>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!--<div id="shadow_character_popup">
|
|
||||||
</div>-->
|
|
||||||
<div id="character_popup">
|
<div id="character_popup">
|
||||||
|
|
||||||
<div id="character_popup_text">
|
<div id="character_popup_text">
|
||||||
|
@ -524,12 +524,10 @@ let novelai_settings;
|
|||||||
let novelai_setting_names;
|
let novelai_setting_names;
|
||||||
|
|
||||||
//css
|
//css
|
||||||
var bg1_toggle = true; // inits the BG as BG1
|
|
||||||
var css_mes_bg = $('<div class="mes"></div>').css("background");
|
var css_mes_bg = $('<div class="mes"></div>').css("background");
|
||||||
var css_send_form_display = $("<div id=send_form></div>").css("display");
|
var css_send_form_display = $("<div id=send_form></div>").css("display");
|
||||||
let generate_loop_counter = 0;
|
let generate_loop_counter = 0;
|
||||||
const MAX_GENERATION_LOOPS = 5;
|
const MAX_GENERATION_LOOPS = 5;
|
||||||
var colab_ini_step = 1;
|
|
||||||
|
|
||||||
let token;
|
let token;
|
||||||
|
|
||||||
@ -540,29 +538,6 @@ export function getRequestHeaders() {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
//////////// Is this needed?
|
|
||||||
setInterval(function () {
|
|
||||||
switch (colab_ini_step) {
|
|
||||||
case 0:
|
|
||||||
$("#colab_popup_text").html("<h3>Initialization</h3>");
|
|
||||||
colab_ini_step = 1;
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
$("#colab_popup_text").html("<h3>Initialization.</h3>");
|
|
||||||
colab_ini_step = 2;
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
$("#colab_popup_text").html("<h3>Initialization..</h3>");
|
|
||||||
colab_ini_step = 3;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
$("#colab_popup_text").html("<h3>Initialization...</h3>");
|
|
||||||
colab_ini_step = 0;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}, 500);
|
|
||||||
/////////////
|
|
||||||
|
|
||||||
$.ajaxPrefilter((options, originalOptions, xhr) => {
|
$.ajaxPrefilter((options, originalOptions, xhr) => {
|
||||||
xhr.setRequestHeader("X-CSRF-Token", token);
|
xhr.setRequestHeader("X-CSRF-Token", token);
|
||||||
});
|
});
|
||||||
|
@ -1380,25 +1380,6 @@ input[type=search]:focus::-webkit-search-cancel-button {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Focus */
|
/* Focus */
|
||||||
#colab_popup {
|
|
||||||
|
|
||||||
width: 300px;
|
|
||||||
height: 150px;
|
|
||||||
position: absolute;
|
|
||||||
z-index: 2060;
|
|
||||||
margin-left: auto;
|
|
||||||
margin-right: auto;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
text-align: center;
|
|
||||||
margin-top: 36svh;
|
|
||||||
box-shadow: 0 0 2px var(--black50a);
|
|
||||||
padding: 4px;
|
|
||||||
backdrop-filter: blur(var(--SmartThemeBlurStrength));
|
|
||||||
background-color: var(--black70a);
|
|
||||||
-webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#dialogue_popup {
|
#dialogue_popup {
|
||||||
width: 500px;
|
width: 500px;
|
||||||
@ -1548,19 +1529,6 @@ input[type=search]:focus::-webkit-search-cancel-button {
|
|||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#colab_shadow_popup {
|
|
||||||
|
|
||||||
backdrop-filter: blur(var(--SmartThemeBlurStrength));
|
|
||||||
-webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
|
|
||||||
background-color: var(--black30a);
|
|
||||||
display: none;
|
|
||||||
opacity: 1.0;
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 100svh;
|
|
||||||
z-index: 2298;
|
|
||||||
}
|
|
||||||
|
|
||||||
#bgtest {
|
#bgtest {
|
||||||
display: none;
|
display: none;
|
||||||
width: 100svw;
|
width: 100svw;
|
||||||
|
Reference in New Issue
Block a user