| 1 | <div class="wide100p padding5 dataBankAttachments"> |
| 2 | <h2 class="marginBot5"> |
| 3 | <span data-i18n="Data Bank"> |
| 4 | Data Bank |
| 5 | </span> |
| 6 | </h2> |
| 7 | <div data-i18n="These files will be available for extensions that support attachments (e.g. Vector Storage)."> |
| 8 | These files will be available for extensions that support attachments (e.g. Vector Storage). |
| 9 | </div> |
| 10 | <div class="marginTopBot5"> |
| 11 | <span data-i18n="Supported file types: Plain Text, PDF, Markdown, HTML, EPUB." > |
| 12 | Supported file types: Plain Text, PDF, Markdown, HTML, EPUB. |
| 13 | </span> |
| 14 | <span data-i18n="Drag and drop files here to upload."> |
| 15 | Drag and drop files here to upload. |
| 16 | </span> |
| 17 | </div> |
| 18 | <div class="flex-container marginTopBot5"> |
| 19 | <input type="search" id="attachmentSearch" class="attachmentSearch text_pole margin0 flex1" placeholder="Search..."> |
| 20 | <select id="attachmentSort" class="attachmentSort text_pole margin0 flex1 textarea_compact"> |
| 21 | <option data-sort-field="created" data-sort-order="desc" data-i18n="Date (Newest First)"> |
| 22 | Date (Newest First) |
| 23 | </option> |
| 24 | <option data-sort-field="created" data-sort-order="asc" data-i18n="Date (Oldest First)"> |
| 25 | Date (Oldest First) |
| 26 | </option> |
| 27 | <option data-sort-field="name" data-sort-order="asc" data-i18n="Name (A-Z)"> |
| 28 | Name (A-Z) |
| 29 | </option> |
| 30 | <option data-sort-field="name" data-sort-order="desc" data-i18n="Name (Z-A)"> |
| 31 | Name (Z-A) |
| 32 | </option> |
| 33 | <option data-sort-field="size" data-sort-order="asc" data-i18n="Size (Smallest First)"> |
| 34 | Size (Smallest First) |
| 35 | </option> |
| 36 | <option data-sort-field="size" data-sort-order="desc" data-i18n="Size (Largest First)"> |
| 37 | Size (Largest First) |
| 38 | </option> |
| 39 | </select> |
| 40 | <label class="margin0 menu_button menu_button_icon attachmentsBulkEditButton"> |
| 41 | <i class="fa-solid fa-edit"></i> |
| 42 | <span data-i18n="Bulk Edit">Bulk Edit</span> |
| 43 | <input type="checkbox" class="displayNone attachmentsBulkEditCheckbox" hidden> |
| 44 | </label> |
| 45 | </div> |
| 46 | <div class="attachmentBulkActionsContainer flex-container marginTopBot5 alignItemsBaseline"> |
| 47 | <div class="flex-container"> |
| 48 | <div class="menu_button menu_button_icon bulkActionSelectAll" title="Select all *visible* attachments"> |
| 49 | <i class="fa-solid fa-check-square"></i> |
| 50 | <span data-i18n="Select All">Select All</span> |
| 51 | </div> |
| 52 | <div class="menu_button menu_button_icon bulkActionSelectNone" title="Deselect all *visible* attachments"> |
| 53 | <i class="fa-solid fa-square"></i> |
| 54 | <span data-i18n="Select None">Select None</span> |
| 55 | </div> |
| 56 | <div class="menu_button menu_button_icon bulkActionDisable" title="Disable selected attachments"> |
| 57 | <i class="fa-solid fa-comment-slash"></i> |
| 58 | <span data-i18n="Disable">Disable</span> |
| 59 | </div> |
| 60 | <div class="menu_button menu_button_icon bulkActionEnable" title="Enable selected attachments"> |
| 61 | <i class="fa-solid fa-comment"></i> |
| 62 | <span data-i18n="Enable">Enable</span> |
| 63 | </div> |
| 64 | <div class="menu_button menu_button_icon bulkActionDelete" title="Delete selected attachments"> |
| 65 | <i class="fa-solid fa-trash"></i> |
| 66 | <span data-i18n="Delete">Delete</span> |
| 67 | </div> |
| 68 | </div> |
| 69 | </div> |
| 70 | <div class="justifyLeft globalAttachmentsBlock marginBot10"> |
| 71 | <h3 class="globalAttachmentsTitle margin0 title_restorable"> |
| 72 | <span data-i18n="Global Attachments"> |
| 73 | Global Attachments |
| 74 | </span> |
| 75 | <div class="openActionModalButton menu_button menu_button_icon"> |
| 76 | <i class="fa-solid fa-plus"></i> |
| 77 | <span data-i18n="Add">Add</span> |
| 78 | </div> |
| 79 | </h3> |
| 80 | <small data-i18n="These files are available for all characters in all chats."> |
| 81 | These files are available for all characters in all chats. |
| 82 | </small> |
| 83 | <div class="globalAttachmentsList attachmentsList"></div> |
| 84 | <hr> |
| 85 | </div> |
| 86 | <div class="justifyLeft characterAttachmentsBlock marginBot10"> |
| 87 | <h3 class="characterAttachmentsTitle margin0 title_restorable"> |
| 88 | <span data-i18n="Character Attachments"> |
| 89 | Character Attachments |
| 90 | </span> |
| 91 | <div class="openActionModalButton menu_button menu_button_icon"> |
| 92 | <i class="fa-solid fa-plus"></i> |
| 93 | <span data-i18n="Add">Add</span> |
| 94 | </div> |
| 95 | </h3> |
| 96 | <div class="flex-container flexFlowColumn"> |
| 97 | <strong><small class="characterAttachmentsName"></small></strong> |
| 98 | <small> |
| 99 | <span data-i18n="These files are available for the current character in all chats they are in."> |
| 100 | These files are available for the current character in all chats they are in. |
| 101 | </span> |
| 102 | <span> |
| 103 | <span data-i18n="Saved locally. Not exported."> |
| 104 | Saved locally. Not exported. |
| 105 | </span> |
| 106 | </span> |
| 107 | </small> |
| 108 | </div> |
| 109 | <div class="characterAttachmentsList attachmentsList"></div> |
| 110 | <hr> |
| 111 | </div> |
| 112 | <div class="justifyLeft chatAttachmentsBlock marginBot10"> |
| 113 | <h3 class="chatAttachmentsTitle margin0 title_restorable"> |
| 114 | <span data-i18n="Chat Attachments"> |
| 115 | Chat Attachments |
| 116 | </span> |
| 117 | <div class="openActionModalButton menu_button menu_button_icon"> |
| 118 | <i class="fa-solid fa-plus"></i> |
| 119 | <span data-i18n="Add">Add</span> |
| 120 | </div> |
| 121 | </h3> |
| 122 | <div class="flex-container flexFlowColumn"> |
| 123 | <strong><small class="chatAttachmentsName"></small></strong> |
| 124 | <small data-i18n="These files are available for all characters in the current chat."> |
| 125 | These files are available for all characters in the current chat. |
| 126 | </small> |
| 127 | </div> |
| 128 | <div class="chatAttachmentsList attachmentsList"></div> |
| 129 | </div> |
| 130 | |
| 131 | <div class="attachmentListItemTemplate template_element"> |
| 132 | <div class="attachmentListItem flex-container alignItemsCenter flexGap10"> |
| 133 | <div class="attachmentListItemCheckboxContainer"><input type="checkbox" class="attachmentListItemCheckbox"></div> |
| 134 | <div class="attachmentFileIcon fa-solid fa-file-alt"></div> |
| 135 | <div class="attachmentListItemName flex1"></div> |
| 136 | <small class="attachmentListItemCreated"></small> |
| 137 | <small class="attachmentListItemSize"></small> |
| 138 | <div class="viewAttachmentButton right_menu_button fa-fw fa-solid fa-magnifying-glass" title="View attachment content"></div> |
| 139 | <div class="disableAttachmentButton right_menu_button fa-fw fa-solid fa-comment" title="Disable attachment"></div> |
| 140 | <div class="enableAttachmentButton right_menu_button fa-fw fa-solid fa-comment-slash" title="Enable attachment"></div> |
| 141 | <div class="moveAttachmentButton right_menu_button fa-fw fa-solid fa-arrows-alt" title="Move attachment"></div> |
| 142 | <div class="editAttachmentButton right_menu_button fa-fw fa-solid fa-pencil" title="Edit attachment"></div> |
| 143 | <div class="downloadAttachmentButton right_menu_button fa-fw fa-solid fa-download" title="Download attachment"></div> |
| 144 | <div class="deleteAttachmentButton right_menu_button fa-fw fa-solid fa-trash" title="Delete attachment"></div> |
| 145 | </div> |
| 146 | </div> |
| 147 | |
| 148 | <div class="actionButtonTemplate"> |
| 149 | <div class="actionButton list-group-item flex-container flexGap5" style="align-items: center;" title=""> |
| 150 | <i class="actionButtonIcon"></i> |
| 151 | <img class="actionButtonImg"/> |
| 152 | <span class="actionButtonText"></span> |
| 153 | </div> |
| 154 | </div> |
| 155 | |
| 156 | <div class="actionButtonsModal popper-modal options-content list-group"></div> |
| 157 | </div> |