mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-09-20 18:51:26 -03:00
d45a523fb5
Add a reusable directory-picker modal backed by a new generic POST /api/lm/browse-directory endpoint (browse logic extracted from the recipe batch-import handler into py/utils/directory_browser.py) and wire a browse button plus advisory validate-path feedback (POST /api/lm/validate-path) into the settings path inputs: recipes path, example images path/local root, and the extra-folder/model-path rows. The browse button insets into the right edge of static inputs so narrow settings rows keep their single-control layout. Translations for the new settings.directoryPicker and settings.pathValidation keys are filled in for all 9 locales.
18 lines
846 B
HTML
18 lines
846 B
HTML
<!-- Model details Modal -->
|
|
<div id="modelModal" class="modal"></div>
|
|
|
|
{% include 'components/modals/confirm_modals.html' %}
|
|
{% include 'components/modals/settings_modal.html' %}
|
|
{% include 'components/modals/doctor_modal.html' %}
|
|
{% include 'components/modals/support_modal.html' %}
|
|
{% include 'components/modals/update_modal.html' %}
|
|
{% include 'components/modals/help_modal.html' %}
|
|
{% include 'components/modals/relink_civitai_modal.html' %}
|
|
{% include 'components/modals/link_hf_modal.html' %}
|
|
{% include 'components/modals/example_access_modal.html' %}
|
|
{% include 'components/modals/download_modal.html' %}
|
|
{% include 'components/modals/move_modal.html' %}
|
|
{% include 'components/modals/bulk_add_tags_modal.html' %}
|
|
{% include 'components/modals/bulk_base_model_modal.html' %}
|
|
{% include 'components/modals/directory_picker_modal.html' %}
|