Add WI sort dropdown
This commit is contained in:
parent
dd753498fa
commit
fc90843207
|
@ -157,8 +157,9 @@
|
|||
width: 10em;
|
||||
}
|
||||
|
||||
#world_info_search {
|
||||
width: 10em;
|
||||
#world_info_search,
|
||||
#world_info_sort_order {
|
||||
width: 8em;
|
||||
}
|
||||
|
||||
.wi-card-entry {
|
||||
|
@ -185,4 +186,4 @@
|
|||
|
||||
.height32px {
|
||||
height: 32px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2735,7 +2735,7 @@
|
|||
<input type="file" id="world_import_file" accept=".json,.lorebook,.png" name="avatar" hidden>
|
||||
<div id="world_create_button" class="menu_button menu_button_icon">
|
||||
<i class="fa-solid fa-globe"></i>
|
||||
<span data-i18n="Create">Create</span>
|
||||
<span data-i18n="New">New</span>
|
||||
</div>
|
||||
<small data-i18n="or">or</small>
|
||||
<select id="world_editor_select" class="margin0">
|
||||
|
@ -2749,6 +2749,21 @@
|
|||
<div id="world_popup_export" class="menu_button fa-solid fa-file-export" title="Export World Info" data-i18n="[title]Export World Info"></div>
|
||||
<div id="world_popup_delete" class="menu_button fa-solid fa-trash-can redWarningBG" title="Delete World Info" data-i18n="[title]Delete World Info"></div>
|
||||
<input type="search" class="text_pole textarea_compact" data-i18n="[placeholder]Search..." id="world_info_search" placeholder="Search...">
|
||||
<select id="world_info_sort_order" class="margin0">
|
||||
<option data-order="asc" data-field="comment" value="0">Title A-Z</option>
|
||||
<option data-order="desc" data-field="comment" value="1">Title Z-A</option>
|
||||
<option data-rule="priority" value="2">Priority</option>
|
||||
<option data-order="asc" data-field="content" data-rule="length" value="3">Content size ↗</option>
|
||||
<option data-order="desc" data-field="content" data-rule="length" value="4">Content size ↘</option>
|
||||
<option data-order="asc" data-field="depth" value="5">Depth ↗</option>
|
||||
<option data-order="desc" data-field="depth" value="6">Depth ↘</option>
|
||||
<option data-order="asc" data-field="order" value="7">Order ↗</option>
|
||||
<option data-order="desc" data-field="order" value="8">Order ↘</option>
|
||||
<option data-order="asc" data-field="uid" value="9">UID ↗</option>
|
||||
<option data-order="desc" data-field="uid" value="10">UID ↘</option>
|
||||
<option data-order="asc" data-field="order" value="11">Probability ↗</option>
|
||||
<option data-order="desc" data-field="order" value="12">Probability ↘</option>
|
||||
</select>
|
||||
<div id="world_info_pagination"></div>
|
||||
</div>
|
||||
|
||||
|
@ -4694,4 +4709,4 @@
|
|||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue