Add restart required icon to example images download location label. See #212

This commit is contained in:
Will Miao
2025-06-08 20:43:10 +08:00
parent 923669c495
commit bb1e42f0d3
2 changed files with 8 additions and 1 deletions

View File

@@ -572,6 +572,13 @@ input:checked + .toggle-slider:before {
pointer-events: none; pointer-events: none;
} }
.restart-required-icon {
color: var(--lora-warning);
margin-left: 5px;
font-size: 0.85em;
vertical-align: text-bottom;
}
/* Dark theme specific button adjustments */ /* Dark theme specific button adjustments */
[data-theme="dark"] .primary-btn:hover { [data-theme="dark"] .primary-btn:hover {
background-color: oklch(from var(--lora-accent) l c h / 75%); background-color: oklch(from var(--lora-accent) l c h / 75%);

View File

@@ -278,7 +278,7 @@
<div class="setting-item" data-requires-centralized="true"> <div class="setting-item" data-requires-centralized="true">
<div class="setting-row"> <div class="setting-row">
<div class="setting-info"> <div class="setting-info">
<label for="exampleImagesPath">Download Location</label> <label for="exampleImagesPath">Download Location <i class="fas fa-sync-alt restart-required-icon" title="Requires restart"></i></label>
</div> </div>
<div class="setting-control path-control"> <div class="setting-control path-control">
<input type="text" id="exampleImagesPath" placeholder="Enter folder path for example images" /> <input type="text" id="exampleImagesPath" placeholder="Enter folder path for example images" />