implement theme settings #17

This commit is contained in:
ghost 2023-10-09 16:33:07 +03:00
parent 0ab282e1c4
commit 5a940541ee
8 changed files with 55 additions and 3 deletions

View file

@ -101,6 +101,24 @@
{% endfor %}
</td>
</tr>
<tr>
<td class="padding-t-16-px">{{ 'Theme'|trans }}</td>
<td class="padding-t-16-px">
<select name="theme">
{% for theme in themes %}
{% if theme == user.theme %}
<option value="{{ theme }}" selected="selected">
{{ theme }}
</option>
{% else %}
<option value="{{ theme }}">
{{ theme }}
</option>
{% endif %}
{% endfor %}
</select>
</td>
</tr>
</tbody>
</table>
<div class="text-right">