question card layout setting

This commit is contained in:
mst 2025-02-28 07:22:59 +03:00
parent 2d2ba12379
commit 80a46c9de9
No known key found for this signature in database

View file

@ -121,19 +121,30 @@
<label for="_style.tintBackground" class="form-check-label">Tint background with accent color</label> <label for="_style.tintBackground" class="form-check-label">Tint background with accent color</label>
</div> </div>
#} #}
<h3 class="fw-light">Navbar link style</h3> <h3 class="fw-light">{{ _('Question card layout') }}</h3>
<div class="btn-group mb-4 w-100" role="group" aria-label="Navbar link style group"> <div class="btn-group mb-4 w-100" role="group" aria-label="{{ _('Navbar link style group') }}">
<input class="btn-check" type="radio" name="style.cardStyle" id="style.cardStyle.default" value="default" {% if cfg.style.cardStyle == 'default' %}checked{% endif %}>
<label class="btn btn-outline-secondary w-50" for="style.cardStyle.default">
{{ _('Default') }}
</label>
<input class="btn-check" type="radio" name="style.cardStyle" id="style.cardStyle.compact" value="compact" {% if cfg.style.cardStyle == 'compact' %}checked{% endif %}>
<label class="btn btn-outline-secondary w-50" for="style.cardStyle.compact">
{{ _('Compact') }}
</label>
</div>
<h3 class="fw-light">{{ _('Navbar link style') }}</h3>
<div class="btn-group mb-4 w-100" role="group" aria-label="{{ _('Navbar link style group') }}">
<input class="btn-check" type="radio" name="style.navStyle" id="style.navStyle.underline" value="underline" {% if cfg.style.navStyle == 'underline' %}checked{% endif %}> <input class="btn-check" type="radio" name="style.navStyle" id="style.navStyle.underline" value="underline" {% if cfg.style.navStyle == 'underline' %}checked{% endif %}>
<label class="btn btn-outline-secondary w-50" for="style.navStyle.underline"> <label class="btn btn-outline-secondary w-50" for="style.navStyle.underline">
Underline {{ _('Underline') }}
</label> </label>
<input class="btn-check" type="radio" name="style.navStyle" id="style.navStyle.pills" value="pills" {% if cfg.style.navStyle == 'pills' %}checked{% endif %}> <input class="btn-check" type="radio" name="style.navStyle" id="style.navStyle.pills" value="pills" {% if cfg.style.navStyle == 'pills' %}checked{% endif %}>
<label class="btn btn-outline-secondary w-50" for="style.navStyle.pills"> <label class="btn btn-outline-secondary w-50" for="style.navStyle.pills">
Pills {{ _('Pills') }}
</label> </label>
</div> </div>
<h3 class="fw-light">Homepage layout</h3> <h3 class="fw-light">{{ _('Homepage layout') }}</h3>
<div class="btn-group mb-4 w-100" role="group" aria-label="General layout group"> <div class="btn-group mb-4 w-100" role="group" aria-label="{{ _('Homepage layout group') }}">
<input class="btn-check" type="radio" name="style.homepageLayout" id="style.homepageLayout.catask" value="catask" {% if cfg.style.homepageLayout == 'catask' %}checked{% endif %}> <input class="btn-check" type="radio" name="style.homepageLayout" id="style.homepageLayout.catask" value="catask" {% if cfg.style.homepageLayout == 'catask' %}checked{% endif %}>
<label class="btn btn-outline-secondary w-50" for="style.homepageLayout.catask"> <label class="btn btn-outline-secondary w-50" for="style.homepageLayout.catask">
CatAsk CatAsk