2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 05:46:34 +00:00

inline theme form

This commit is contained in:
Oliver
2021-07-27 07:56:24 +10:00
parent 3349e9ff6c
commit 0186d23563
2 changed files with 31 additions and 0 deletions

View File

@ -37,6 +37,25 @@
<td>{{ user.email }}</td>
</tr>
</table>
<div class='panel-heading'>
<h4>{% trans "Theme Settings" %}</h4>
</div>
<div class='row'>
<form action='' method='post'>
{% csrf_token %}
<input name='next' type='hidden' value='{% url "settings" %}'>
<select name='theme' class='select form-control'>
{% for theme in get_available_themes %}
{{ theme }}
{% endfor %}
</select>
</form>
</div>
<div class='panel-heading'>
<h4>{% trans "Language Settings" %}</h4>
</div>