mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-22 13:42:12 -03:00
- Updated LoraModal to enhance lazy loading and scroll behavior, utilizing MutationObserver for dynamic content changes and adding a new helper function for the back-to-top button. - Modified RecipeSearchManager to ensure proper recipe loading through the window.recipeManager object, improving reliability in recipe reloading. - Added additional components to loras.html for better modularity and organization of the modal structure.
33 lines
1.0 KiB
HTML
33 lines
1.0 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}LoRA Manager{% endblock %}
|
|
{% block page_id %}loras{% endblock %}
|
|
|
|
{% block preload %}
|
|
<link rel="preload" href="/loras_static/js/loras.js" as="script" crossorigin="anonymous">
|
|
{% endblock %}
|
|
|
|
{% block init_title %}Initializing LoRA Manager{% endblock %}
|
|
{% block init_message %}Scanning and building LoRA cache. This may take a few minutes...{% endblock %}
|
|
{% block init_check_url %}/api/loras?page=1&page_size=1{% endblock %}
|
|
|
|
{% block additional_components %}
|
|
{% include 'components/lora_modals.html' %}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% include 'components/controls.html' %}
|
|
<!-- Lora卡片容器 -->
|
|
<div class="card-grid" id="loraGrid">
|
|
<!-- Cards will be dynamically inserted here -->
|
|
</div>
|
|
<!-- Bulk operations panel will be inserted here by JavaScript -->
|
|
{% endblock %}
|
|
|
|
{% block overlay %}
|
|
<div class="bulk-mode-overlay"></div>
|
|
{% endblock %}
|
|
|
|
{% block main_script %}
|
|
<script type="module" src="/loras_static/js/loras.js"></script>
|
|
{% endblock %} |