mosaic layout

This commit is contained in:
2024-06-30 00:04:46 +12:00
parent 013e805ece
commit 2b8112a3fb
5 changed files with 17 additions and 9 deletions

View File

@ -31,14 +31,14 @@
<div class="prefs-group">
<label for="layout">Layout:</label>
<select name="layout" id="layout">
{% call utils::options(prefs.layout, ["card", "clean", "compact","old"], "card") %}
{% call utils::options(prefs.layout, ["card", "clean", "compact", "old", "mosaic"], "card") %}
</select>
</div>
<div class="prefs-group">
<label for="wide">Wide UI:</label>
<input type="hidden" value="off" name="wide">
<input type="checkbox" name="wide" id="wide" {% if prefs.layout == "old" %}disabled{% endif %} {% if prefs.wide == "on" || prefs.layout == "old" %}checked{% endif %}>
{% if prefs.layout == "old" %}<span>ⓘ Wide UI is always enabled with this layout</span>{% endif %}
<input type="checkbox" name="wide" id="wide" {% if prefs.layout == "old" || prefs.layout == "mosaic" %}disabled{% endif %} {% if prefs.wide == "on" || prefs.layout == "old" || prefs.layout == "mosaic" %}checked{% endif %}>
{% if prefs.layout == "old" || prefs.layout == "mosaic" %}<span>ⓘ Wide UI is always enabled with this layout</span>{% endif %}
</div>
</fieldset>
<fieldset>