mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Implement data clean-up dialog (#4072)
* [wip] Add user data cleanup service * Add clean-up report viewer * Fix review comments * Add function comments * Implement item actions * Fix UI styles * Add placeholder for empty results, update category description view * Add displayEmptyPlaceholder method to show message when results list is empty * Adjust menu buttons row * Delete char-scoped data bank attachments on character deletion * Data Bank: Handle character attachments on rename * Remove line breaks in description strings * Drop the category when the last item is deleted * Skip invalid hashes instead of bailing
This commit is contained in:
25
public/scripts/templates/dataMaidDialog.html
Normal file
25
public/scripts/templates/dataMaidDialog.html
Normal file
@@ -0,0 +1,25 @@
|
||||
<div class="dataMaidDialog">
|
||||
<div class="dataMaidDialogHeader">
|
||||
<div class="dataMaidHeaderInfo info-block warning margin0">
|
||||
<small data-i18n="Once deleted, the files will be gone forever!">
|
||||
Once deleted, the files will be gone forever!
|
||||
</small>
|
||||
<br>
|
||||
<small data-i18n="Make sure to back up your data in advance.">
|
||||
Make sure to back up your data in advance.
|
||||
</small>
|
||||
</div>
|
||||
<button class="menu_button menu_button_icon dataMaidStartButton">
|
||||
<i class="fa fa-cog"></i>
|
||||
<span data-i18n="Scan">Scan</span>
|
||||
</button>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="dataMaidPlaceholder" data-i18n="No results yet. Tap 'Scan' to start scanning.">
|
||||
No results yet. Tap 'Scan' to start scanning.
|
||||
</div>
|
||||
<div class="displayNone dataMaidSpinner">
|
||||
<i class="fa-solid fa-spinner fa-spin fa-3x"></i>
|
||||
</div>
|
||||
<div class="dataMaidResultsList"></div>
|
||||
</div>
|
Reference in New Issue
Block a user