mirror of
https://github.com/RhenCloud/Cloud-Index.git
synced 2025-12-06 15:26:10 +08:00
feat: 添加复制和移动按钮到文件操作
This commit is contained in:
@@ -103,6 +103,12 @@ current_prefix }}"{% endblock %} {% block content %}
|
|||||||
<button class="action-link delete-btn" onclick="deleteFolder('{{ entry.key }}')">
|
<button class="action-link delete-btn" onclick="deleteFolder('{{ entry.key }}')">
|
||||||
<i class="fas fa-trash"></i> 删除
|
<i class="fas fa-trash"></i> 删除
|
||||||
</button>
|
</button>
|
||||||
|
<button class="action-link copy-btn" onclick="promptCopyOrMove('{{ entry.key }}', true, 'copy')">
|
||||||
|
<i class="fas fa-copy"></i> 复制
|
||||||
|
</button>
|
||||||
|
<button class="action-link move-btn" onclick="promptCopyOrMove('{{ entry.key }}', true, 'move')">
|
||||||
|
<i class="fas fa-arrows-alt-h"></i> 移动
|
||||||
|
</button>
|
||||||
{% else %}
|
{% else %}
|
||||||
<button class="action-link" onclick="openPreview('{{ entry.file_url }}', '{{ entry.name }}')">
|
<button class="action-link" onclick="openPreview('{{ entry.file_url }}', '{{ entry.name }}')">
|
||||||
<i class="fas fa-eye"></i> 预览
|
<i class="fas fa-eye"></i> 预览
|
||||||
|
|||||||
Reference in New Issue
Block a user