2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-17 18:26:32 +00:00

Moved color themes CSS sheets to own folder, nicer crispy form for selecting theme

This commit is contained in:
eeintech
2020-09-08 16:24:22 -05:00
parent 8e2d568a42
commit 896fa131f0
9 changed files with 2870 additions and 808 deletions

View File

@@ -14,16 +14,10 @@
</div>
</div>
<div class='row'>
<div class='col-sm-6'>
<div style='float: left;'>
<form action="{% url 'settings-theme' %}" method="post">
{% csrf_token %}
{% load crispy_forms_tags %}
{% crispy form %}
</form>
</div>
</div>
</div>
<form action="{% url 'settings-theme' %}" method="post">
{% csrf_token %}
{% load crispy_forms_tags %}
{% crispy form %}
</form>
{% endblock %}

View File

@@ -39,7 +39,8 @@
<link rel="stylesheet" href="{% static 'css/select2.css' %}">
<link rel="stylesheet" href="{% static 'css/select2-bootstrap.css' %}">
<link rel="stylesheet" href="{% static 'css/bootstrap-toggle.css' %}">
<link rel="stylesheet" href="{% get_theme_css user.get_username %}">
<link rel="stylesheet" href="{% static 'css/inventree.css' %}">
<link rel="stylesheet" href="{% get_color_theme_css user.get_username %}">
{% block css %}
{% endblock %}