feat: Move LoRA related components to shared directory for consistency

- Added PresetTags.js to handle LoRA model preset parameter tags.
- Introduced RecipeTab.js for managing recipes associated with LoRA models.
- Created TriggerWords.js to manage trigger word functionality for LoRA models.
- Implemented utility functions in utils.js for general model modal operations.
This commit is contained in:
Will Miao
2025-07-22 16:00:04 +08:00
parent 67b403f8ca
commit fcfc868e57
26 changed files with 1240 additions and 2673 deletions

View File

@@ -55,7 +55,7 @@
</div>
<!-- Checkpoint cards container -->
<div class="card-grid" id="checkpointGrid">
<div class="card-grid" id="modelGrid">
<!-- Cards will be dynamically inserted here -->
</div>
{% endblock %}

View File

@@ -1,7 +1,7 @@
<!-- Checkpoint Modals -->
<!-- Checkpoint details Modal -->
<div id="checkpointModal" class="modal"></div>
<div id="modelModal" class="modal"></div>
<!-- Download Checkpoint from URL Modal -->
<div id="checkpointDownloadModal" class="modal">

View File

@@ -1,5 +1,5 @@
<!-- Model details Modal -->
<div id="loraModal" class="modal"></div>
<div id="modelModal" class="modal"></div>
<!-- Download from URL Modal (for LoRAs) -->
<div id="downloadModal" class="modal">

View File

@@ -43,7 +43,7 @@
</div>
<!-- Lora卡片容器 -->
<div class="card-grid" id="loraGrid">
<div class="card-grid" id="modelGrid">
<!-- Cards will be dynamically inserted here -->
</div>
<!-- Bulk operations panel will be inserted here by JavaScript -->