This commit is contained in:
2026-09-19 21:35:08 +02:00
parent 15628739b1
commit 5601c282b7
13 changed files with 257 additions and 32 deletions
+9 -3
View File
@@ -253,11 +253,17 @@
</div>
<div class="setting-item" style="margin-top: 15px;">
<label for="onara_enabled_toggle" style="cursor: pointer; display: flex; align-items: center; gap: 10px;">
<input type="checkbox" id="onara_enabled_toggle">
<label for="onara_enabled_toggle" style="cursor: @if(onara_cfg !== undefined && onara_cfg !== null) not-allowed @else pointer @endif; display: flex; align-items: center; gap: 10px;">
<input type="checkbox" id="onara_enabled_toggle" @if(onara_cfg !== undefined && onara_cfg !== null) disabled @if(onara_cfg) checked @endif @endif>
<span>Enable Onara viewer</span>
</label>
<small class="text-muted" style="margin-left: 25px;">Open items in the fullscreen Onara modal instead of navigating to the item page. Fine-tune appearance in the <strong>Tuner → Background</strong> tab.</small>
<small class="text-muted" style="margin-left: 25px;">
@if(onara_cfg !== undefined && onara_cfg !== null)
Controlled by site configuration (@if(onara_cfg)enabled globally@else disabled globally@endif).
@else
Open items in the fullscreen Onara modal instead of navigating to the item page. Fine-tune appearance in the <strong>Tuner → Background</strong> tab.
@endif
</small>
</div>
<div class="setting-item" style="margin-top: 15px;">