mirror of https://github.com/jumpserver/jumpserver
30 lines
1.3 KiB
Python
30 lines
1.3 KiB
Python
{% load static %}
|
|
|
|
<!-- css file -->
|
|
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
|
<link href="{% static 'css/font-awesome.min.css' %}" rel="stylesheet">
|
|
<link href="{% static 'css/plugins/toastr/toastr.min.css' %}" rel="stylesheet">
|
|
<link href="{% static 'css/plugins/sweetalert/sweetalert.css' %}" rel="stylesheet">
|
|
<link href="{% static 'css/style.css' %}" rel="stylesheet">
|
|
<link href="{% static 'css/plugins/vaildator/jquery.validator.css' %}" rel="stylesheet">
|
|
<link href="{% static 'css/plugins/datatables/datatables.min.css' %}" rel="stylesheet">
|
|
<!-- scripts -->
|
|
<script src="{% static 'js/jquery-3.1.1.min.js' %}"></script>
|
|
<script src="{% static 'js/plugins/sweetalert/sweetalert.min.js' %}"></script>
|
|
<script src="{% static 'js/bootstrap.min.js' %}"></script>
|
|
<script src="{% static 'js/plugins/datatables/datatables.min.js' %}"></script>
|
|
<script src="{% url 'javascript-catalog' %}"></script>
|
|
<link href="{% static 'css/plugins/select2/select2.min.css' %}" rel="stylesheet">
|
|
<style>
|
|
:root {
|
|
--primary-color: #1ab394;
|
|
}
|
|
</style>
|
|
|
|
<script>
|
|
const theme = "{{ INTERFACE.theme }}";
|
|
if (theme && theme.colors && theme.colors['--color-primary']) {
|
|
document.documentElement.style.setProperty('--primary-color', theme.colors['--color-primary']);
|
|
}
|
|
</script>
|