mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-23 06:02:11 -03:00
- Added "unknown" status to model states in English and Chinese locales. - Introduced new actions for checking updates and support in both locales. - Added settings for Civitai API key with help text in both locales. - Updated context menus and control components to use localized strings. - Enhanced help and support modals with localization. - Updated update modal to reflect current and new version information in localized format. - Refactored various templates to utilize the translation function for better internationalization.
64 lines
2.9 KiB
HTML
64 lines
2.9 KiB
HTML
<!-- Update Modal -->
|
|
<div id="updateModal" class="modal">
|
|
<div class="modal-content update-modal">
|
|
<button class="close" onclick="modalManager.closeModal('updateModal')">×</button>
|
|
<div class="update-header">
|
|
<i class="fas fa-bell update-icon"></i>
|
|
<h2>{{ t('update.title') }}</h2>
|
|
</div>
|
|
<div class="update-content">
|
|
<div class="update-info">
|
|
<div class="version-info">
|
|
<div class="current-version">
|
|
<span class="label">{{ t('update.currentVersion') }}:</span>
|
|
<span class="version-number">v0.0.0</span>
|
|
</div>
|
|
<div class="git-info" style="display:none;">{{ t('update.commit') }}: unknown</div>
|
|
<div class="new-version">
|
|
<span class="label">{{ t('update.newVersion') }}:</span>
|
|
<span class="version-number">v0.0.0</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="update-actions">
|
|
<a href="https://github.com/willmiao/ComfyUI-Lora-Manager" target="_blank" class="update-link">
|
|
<i class="fas fa-external-link-alt"></i> View on GitHub
|
|
</a>
|
|
<button id="updateBtn" class="primary-btn disabled">
|
|
<i class="fas fa-download"></i>
|
|
<span id="updateBtnText">Update Now</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Update Progress Section -->
|
|
<div class="update-progress" id="updateProgress" style="display: none;">
|
|
<div class="progress-info">
|
|
<div class="progress-text" id="updateProgressText">Preparing update...</div>
|
|
<div class="update-progress-bar">
|
|
<div class="progress-fill" id="updateProgressFill"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="changelog-section">
|
|
<h3>Changelog</h3>
|
|
<div class="changelog-content">
|
|
<!-- Dynamic changelog content will be inserted here -->
|
|
<div class="changelog-item">
|
|
<h4>Checking for updates...</h4>
|
|
<p>Please wait while we check for the latest version.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="update-preferences">
|
|
<label class="toggle-switch">
|
|
<input type="checkbox" id="updateNotifications" checked>
|
|
<span class="toggle-slider"></span>
|
|
<span class="toggle-label">Show update notifications</span>
|
|
</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |