2016-09-14 07:19:27 +00:00
|
|
|
{% load i18n %}
|
2016-08-09 06:42:21 +00:00
|
|
|
{% load static %}
|
|
|
|
<!-- Mainly scripts -->
|
|
|
|
<script src="{% static "js/plugins/metisMenu/jquery.metisMenu.js" %}"></script>
|
|
|
|
|
|
|
|
<!-- Custom and plugin javascript -->
|
2016-09-06 13:03:51 +00:00
|
|
|
<script src="{% static "js/plugins/toastr/toastr.min.js" %}"></script>
|
2016-08-09 06:42:21 +00:00
|
|
|
<script src="{% static "js/inspinia.js" %}"></script>
|
2022-06-25 14:14:12 +00:00
|
|
|
<script src="{% static "js/jumpserver.js" %}?v=9"></script>
|
2019-12-05 07:09:25 +00:00
|
|
|
<script src="{% static 'js/plugins/select2/select2.full.min.js' %}"></script>
|
|
|
|
<script src="{% static 'js/plugins/select2/i18n/zh-CN.js' %}"></script>
|
2016-08-09 06:42:21 +00:00
|
|
|
<script>
|
2023-11-23 08:58:58 +00:00
|
|
|
activeNav("{{ FORCE_SCRIPT_NAME }}");
|
|
|
|
$(document).ready(function () {
|
|
|
|
setAjaxCSRFToken();
|
|
|
|
$('textarea').attr('rows', 5);
|
|
|
|
if ($('.tooltip')[0]) {
|
|
|
|
$('.tooltip').tooltip();
|
|
|
|
}
|
|
|
|
$.fn.select2.defaults.set('language', getUserLang())
|
|
|
|
});
|
2016-09-06 08:40:44 +00:00
|
|
|
</script>
|
2023-11-23 08:58:58 +00:00
|
|
|
{% if INTERFACE.beian_text %}
|
|
|
|
<style>
|
|
|
|
.footer_beian a {
|
|
|
|
color: #737373;
|
|
|
|
}
|
|
|
|
|
|
|
|
.footer_beian {
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
2023-12-18 09:07:17 +00:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
top: 97%;
|
|
|
|
}
|
2023-11-23 08:58:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.footer_beian img {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
object-fit: contain;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
<div class="footer_beian">
|
|
|
|
<img alt="beian" src="{% static "img/beian.png" %}"/>
|
|
|
|
<a target="_blank" rel="noopener noreferrer"
|
2023-12-13 02:31:36 +00:00
|
|
|
href={{ INTERFACE.beian_link }}>
|
2023-11-23 08:58:58 +00:00
|
|
|
{{ INTERFACE.beian_text }}
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|