mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
☠ better character deletion warning ☠
This commit is contained in:
@ -1156,7 +1156,7 @@
|
||||
</span>
|
||||
<div class="widthFreeExpand">
|
||||
<div class="flex-container">
|
||||
<input id="poe_token" class="text_pole flex1" type="text" maxlength="100" autocomplete="off" />
|
||||
<input id="poe_token" class="text_pole flex1" type="text" maxlength="100" autocomplete="off" />
|
||||
<div title="Clear your API key" class="menu_button fa-solid fa-circle-xmark clear-api-key" data-key="api_key_poe"></div>
|
||||
</div>
|
||||
<div class="neutral_warning">For privacy reasons, your API key will be hidden after you reload the page.</div>
|
||||
@ -1909,7 +1909,7 @@
|
||||
<label for="create_button" id="create_button_label" class="menu_button fa-solid fa-user-check" title="Create Character">
|
||||
<input type="submit" id="create_button" name="create_button">
|
||||
</label>
|
||||
<div id="delete_button" class="menu_button fa-solid fa-trash-can " title="Delete Character"></div>
|
||||
<div id="delete_button" class="menu_button fa-solid fa-skull " title="Delete Character"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div title="Token counts may be inaccurate and provided just for reference." id="result_info"> </div>
|
||||
|
@ -5412,8 +5412,11 @@ $(document).ready(function () {
|
||||
|
||||
$("#delete_button").click(function () {
|
||||
popup_type = "del_ch";
|
||||
callPopup(
|
||||
"<h3>Delete the character?</h3>Your chat will be closed."
|
||||
callPopup(`
|
||||
<h3>Delete the character?</h3>
|
||||
<b>THIS IS PERMANENT!<br><br>
|
||||
THIS WILL ALSO DELETE ALL<br>
|
||||
OF THE CHARACTER'S CHAT FILES.<br><br></b>`
|
||||
);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user