mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Moved color themes CSS sheets to own folder, nicer crispy form for selecting theme
This commit is contained in:
		| @@ -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 %} | ||||
|   | ||||
| @@ -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 %} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user