mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-22 05:32:12 -03:00
- Added new localization keys for usage statistics, collection analysis, storage efficiency, and insights in English and Chinese. - Updated modal templates to utilize localization for delete, exclude, and bulk delete confirmations. - Improved download modal with localized labels and placeholders. - Enhanced example access modal with localized titles and descriptions. - Updated help modal to include localized content for update vlogs and documentation sections. - Refactored move modal to use localization for labels and buttons. - Implemented localization in relink Civitai modal for warnings and help text. - Updated update modal to reflect localized text for actions and progress messages. - Enhanced statistics template with localized titles for charts and lists.
56 lines
2.7 KiB
HTML
56 lines
2.7 KiB
HTML
<!-- Move Model Modal -->
|
|
<div id="moveModal" class="modal">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<h2 id="moveModalTitle">{{ t('modals.move.title') }}</h2>
|
|
<span class="close" onclick="modalManager.closeModal('moveModal')">×</span>
|
|
</div>
|
|
<div class="location-selection">
|
|
<!-- Path preview -->
|
|
<div class="path-preview">
|
|
<label>{{ t('modals.moveModel.targetLocationPreview') }}</label>
|
|
<div class="path-display" id="moveTargetPathDisplay">
|
|
<span class="path-text">{{ t('modals.download.selectRootDirectory') }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="input-group">
|
|
<label for="moveModelRoot" id="moveRootLabel">{{ t('modals.moveModel.selectModelRoot') }}</label>
|
|
<select id="moveModelRoot"></select>
|
|
</div>
|
|
|
|
<!-- Path input with autocomplete -->
|
|
<div class="input-group">
|
|
<label for="moveFolderPath">{{ t('modals.moveModel.targetFolderPath') }}</label>
|
|
<div class="path-input-container">
|
|
<input type="text" id="moveFolderPath" placeholder="{{ t('modals.moveModel.pathPlaceholder') }}" autocomplete="off" />
|
|
<button type="button" id="moveCreateFolderBtn" class="create-folder-btn" title="{{ t('modals.moveModel.createNewFolder') }}">
|
|
<i class="fas fa-plus"></i>
|
|
</button>
|
|
</div>
|
|
<div class="path-suggestions" id="movePathSuggestions" style="display: none;"></div>
|
|
</div>
|
|
|
|
<!-- Breadcrumb navigation -->
|
|
<div class="breadcrumb-nav" id="moveBreadcrumbNav">
|
|
<span class="breadcrumb-item root" data-path="">
|
|
<i class="fas fa-home"></i> {{ t('modals.moveModel.root') }}
|
|
</span>
|
|
</div>
|
|
|
|
<!-- Hierarchical folder tree -->
|
|
<div class="input-group">
|
|
<label>{{ t('modals.moveModel.browseFolders') }}</label>
|
|
<div class="folder-tree-container">
|
|
<div class="folder-tree" id="moveFolderTree">
|
|
<!-- Tree will be loaded dynamically -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-actions">
|
|
<button class="cancel-btn" onclick="modalManager.closeModal('moveModal')">{{ t('common.actions.cancel') }}</button>
|
|
<button class="primary-btn" onclick="moveManager.moveModel()">{{ t('common.actions.move') }}</button>
|
|
</div>
|
|
</div>
|
|
</div> |