mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-08-14 07:00:23 +02:00
Add files via upload
This commit is contained in:
@@ -1818,6 +1818,34 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="chat-files-mkdir-modal" class="modal">
|
||||
<div class="modal-content chat-files-mkdir-modal-content">
|
||||
<div class="modal-header">
|
||||
<h2 data-i18n="chatFilesPage.newFolderTitle">新建文件夹</h2>
|
||||
<span class="modal-close" onclick="closeChatFilesMkdirModal()">×</span>
|
||||
</div>
|
||||
<div class="modal-body chat-files-mkdir-body">
|
||||
<div class="chat-files-mkdir-location" aria-live="polite">
|
||||
<div class="chat-files-mkdir-location-caption" data-i18n="chatFilesPage.newFolderLocation">位置</div>
|
||||
<div class="chat-files-mkdir-path-box">
|
||||
<code class="chat-files-mkdir-path" id="chat-files-mkdir-parent-hint">chat_uploads</code>
|
||||
</div>
|
||||
</div>
|
||||
<label class="chat-files-rename-label chat-files-mkdir-label">
|
||||
<span class="chat-files-mkdir-field-name">
|
||||
<svg class="chat-files-mkdir-field-icon" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z"/></svg>
|
||||
<span data-i18n="chatFilesPage.newFolderNameLabel">文件夹名称</span>
|
||||
</span>
|
||||
<input type="text" id="chat-files-mkdir-input" class="form-control chat-files-mkdir-input" data-i18n="chatFilesPage.newFolderNamePlaceholder" data-i18n-attr="placeholder" placeholder="仅名称,不含 /" autocomplete="off" />
|
||||
</label>
|
||||
</div>
|
||||
<div class="modal-footer chat-files-mkdir-footer">
|
||||
<button type="button" class="btn-secondary chat-files-mkdir-btn-cancel" onclick="closeChatFilesMkdirModal()" data-i18n="common.cancel">取消</button>
|
||||
<button type="button" class="btn-primary chat-files-mkdir-btn-submit" onclick="submitChatFilesMkdir()" data-i18n="common.ok">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Marked.js for Markdown parsing -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/marked@11.1.1/marked.min.js"></script>
|
||||
<!-- DOMPurify for HTML sanitization to prevent XSS -->
|
||||
|
||||
Reference in New Issue
Block a user