mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-05 23:08:48 +00:00
90 lines
2.6 KiB
HTML
90 lines
2.6 KiB
HTML
{% load static %}
|
|
{% load i18n %}
|
|
{% load inventree_extras %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
|
|
<!-- Required meta tags -->
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<!-- CSS -->
|
|
<link rel="stylesheet" href="{% static 'fontawesome/css/brands.css' %}">
|
|
<link rel="stylesheet" href="{% static 'fontawesome/css/solid.css' %}">
|
|
<link rel="stylesheet" href="{% static 'bootstrap/css/bootstrap.min.css' %}">
|
|
<link rel="stylesheet" href="{% static 'select2/css/select2.css' %}">
|
|
<link rel="stylesheet" href="{% static 'select2/css/select2-bootstrap-5-theme.css' %}">
|
|
<link rel="stylesheet" href="{% static 'css/inventree.css' %}">
|
|
|
|
<link rel="stylesheet" href="{% get_color_theme_css user.get_username %}">
|
|
|
|
|
|
<title>
|
|
{% inventree_title %} | {% block head_title %}{% endblock %}
|
|
</title>
|
|
|
|
{% block extra_head %}
|
|
{% endblock %}
|
|
</head>
|
|
|
|
<body class='login-screen'>
|
|
<!--
|
|
Background Image Attribution: https://unsplash.com/photos/Ixvv3YZkd7w
|
|
-->
|
|
|
|
<div class='main body-wrapper login-screen d-flex'>
|
|
|
|
<div class='login-container'>
|
|
<div class="row">
|
|
<div class='container-fluid'>
|
|
|
|
<div class='clearfix content-heading login-header'>
|
|
<img class="pull-left" src="{% static 'img/inventree.png' %}" width="60" height="60"/>
|
|
<span><h3>{% inventree_title %}</h3></span>
|
|
</div>
|
|
<hr>
|
|
<div class='container-fluid'>{% block content %}{% endblock %}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% block extra_body %}
|
|
{% endblock %}
|
|
|
|
{% include 'notification.html' %}
|
|
</div>
|
|
|
|
<!-- Scripts -->
|
|
<script type="text/javascript" src="{% static 'script/jquery_3.3.1_jquery.min.js' %}"></script>
|
|
<!-- general InvenTree -->
|
|
<script type='text/javascript' src="{% static 'script/inventree/notification.js' %}"></script>
|
|
|
|
<!-- dynamic javascript templates -->
|
|
<script type='text/javascript' src="{% url 'inventree.js' %}"></script>
|
|
|
|
<script type='text/javascript' src="{% static 'fontawesome/js/solid.js' %}"></script>
|
|
<script type='text/javascript' src="{% static 'fontawesome/js/brands.js' %}"></script>
|
|
<script type='text/javascript' src="{% static 'fontawesome/js/fontawesome.js' %}"></script>
|
|
|
|
|
|
<script type='text/javascript'>
|
|
|
|
$(document).ready(function () {
|
|
// notifications
|
|
{% if messages %}
|
|
{% for message in messages %}
|
|
showAlertOrCache('alert-info', '{{message}}', true);
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
showCachedAlerts();
|
|
|
|
inventreeDocReady();
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
</html> |