InvenTree/InvenTree/templates/base.html

151 lines
6.0 KiB
HTML
Raw Normal View History

{% 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">
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="57x57" href="{% static 'img/favicon/apple-icon-57x57.png' %}">
<link rel="apple-touch-icon" sizes="60x60" href="{% static 'img/favicon/apple-icon-60x60.png' %}">
<link rel="apple-touch-icon" sizes="72x72" href="{% static 'img/favicon/apple-icon-72x72.png' %}">
<link rel="apple-touch-icon" sizes="76x76" href="{% static 'img/favicon/apple-icon-76x76.png' %}">
<link rel="apple-touch-icon" sizes="114x114" href="{% static 'img/favicon/apple-icon-114x114.png' %}">
<link rel="apple-touch-icon" sizes="120x120" href="{% static 'img/favicon/apple-icon-120x120.png' %}">
<link rel="apple-touch-icon" sizes="144x144" href="{% static 'img/favicon/apple-icon-144x144.png' %}">
<link rel="apple-touch-icon" sizes="152x152" href="{% static 'img/favicon/apple-icon-152x152.png' %}">
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'img/favicon/apple-icon-180x180.png' %}">
<link rel="icon" type="image/png" sizes="192x192" href="{% static 'img/favicon/android-icon-192x192.png' %}">
<link rel="icon" type="image/png" sizes="32x32" href="{% static 'img/favicon/favicon-32x32.png' %}">
2020-04-06 10:24:45 +00:00
<link rel="icon" type="image/png" sizes="96x96" href="{% static 'img/favicon/favicon-96x96.png' %}">
<link rel="icon" type="image/png" sizes="16x16" href="{% static 'img/favicon/favicon-16x16.png' %}">
<link rel="manifest" href="{% static 'img/favicon/manifest.json' %}">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="{% static 'img/favicon/ms-icon-144x144.png' %}">
<meta name="theme-color" content="#ffffff">
<!-- CSS -->
2020-08-18 11:01:22 +00:00
<link rel='stylesheet' href='{% static "treegrid/css/jquery.treegrid.css" %}'>
<link rel="stylesheet" href="{% static 'fontawesome/css/brands.css' %}">
2020-04-06 10:24:45 +00:00
<link rel="stylesheet" href="{% static 'fontawesome/css/solid.css' %}">
<link rel="stylesheet" href="{% static 'css/bootstrap_3.3.7_css_bootstrap.min.css' %}">
2018-05-02 11:49:24 +00:00
<link rel="stylesheet" href="{% static 'css/bootstrap-table.css' %}">
2019-05-28 08:08:50 +00:00
<link rel="stylesheet" href="{% static 'css/bootstrap-table-group-by.css' %}">
<link rel="stylesheet" href="{% static 'css/select2.css' %}">
<link rel="stylesheet" href="{% static 'css/select2-bootstrap.css' %}">
2019-06-18 09:05:09 +00:00
<link rel="stylesheet" href="{% static 'css/bootstrap-toggle.css' %}">
<link rel="stylesheet" href="{% get_theme_css user.get_username %}">
{% block css %}
{% endblock %}
{% block head %}
{% endblock %}
<title>
2019-05-09 08:11:13 +00:00
{% block page_title %}
InvenTree
{% endblock %}
</title>
</head>
<body>
{% include "navbar.html" %}
<div class='main body wrapper'>
<div class='inventree-body'>
<div class='containter-fluid inventree-pre-content'>
{% block pre_content %}
{% endblock %}
</div>
2018-05-04 07:51:55 +00:00
<div class='sidenav' id='sidenav'>
{% block sidenav %}
{% endblock %}
</div>
<div class="container container-fluid inventree-content" id='inventree-content'>
{% block content %}
<!-- Each view fills in here.. -->
{% endblock %}
{% block post_content %}
{% endblock %}
</div>
{% include 'modals.html' %}
{% include 'about.html' %}
{% include 'notification.html' %}
</div>
</div>
2018-04-24 14:09:25 +00:00
<!-- Scripts -->
<script type="text/javascript" src="{% static 'script/jquery_3.3.1_jquery.min.js' %}"></script>
<script type='text/javascript' src="{% static 'script/jquery.form.min.js' %}"></script>
2018-05-02 11:49:24 +00:00
<script type="text/javascript" src="{% static 'script/bootstrap/bootstrap.min.js' %}"></script>
<script type='text/javascript' src="{% static 'script/bootstrap/bootstrap-treeview.js' %}"></script>
<script type='text/javascript' src="{% static 'script/bootstrap/bootstrap-table.js' %}"></script>
<script type='text/javascript' src="{% static 'script/bootstrap/bootstrap-table-en-US.min.js' %}"></script>
<script type='text/javascript' src="{% static 'script/bootstrap/bootstrap-table-group-by.js' %}"></script>
2019-06-18 09:05:09 +00:00
<script type='text/javascript' src="{% static 'script/bootstrap/bootstrap-toggle.js' %}"></script>
<script type="text/javascript" src="{% static 'script/select2/select2.js' %}"></script>
<script type='text/javascript' src="{% static 'script/moment.js' %}"></script>
<script type='text/javascript' src="{% static 'script/inventree/inventree.js' %}"></script>
<script type='text/javascript' src="{% static 'script/inventree/api.js' %}"></script>
2020-04-11 00:14:31 +00:00
<script type='text/javascript' src="{% static 'script/inventree/filters.js' %}"></script>
<script type='text/javascript' src="{% static 'script/inventree/tables.js' %}"></script>
2018-05-08 09:40:29 +00:00
<script type='text/javascript' src="{% static 'script/inventree/modals.js' %}"></script>
2019-05-14 13:44:33 +00:00
<script type='text/javascript' src="{% static 'script/inventree/notification.js' %}"></script>
<script type='text/javascript' src="{% static 'script/inventree/sidenav.js' %}"></script>
2020-04-05 09:42:34 +00:00
2020-06-12 00:43:27 +00:00
<script type='text/javascript' src="{% url 'barcode.js' %}"></script>
2020-05-02 12:07:24 +00:00
<script type='text/javascript' src="{% url 'bom.js' %}"></script>
2020-05-02 12:01:40 +00:00
<script type='text/javascript' src="{% url 'company.js' %}"></script>
<script type='text/javascript' src="{% url 'part.js' %}"></script>
2020-05-02 11:36:18 +00:00
<script type='text/javascript' src="{% url 'stock.js' %}"></script>
2020-05-02 11:48:28 +00:00
<script type='text/javascript' src="{% url 'build.js' %}"></script>
2020-05-02 11:55:09 +00:00
<script type='text/javascript' src="{% url 'order.js' %}"></script>
<script type='text/javascript' src="{% url 'table_filters.js' %}"></script>
2020-04-05 09:42:34 +00:00
<script type='text/javascript' src="{% static 'fontawesome/js/solid.js' %}"></script>
<script type='text/javascript' src="{% static 'fontawesome/js/brands.js' %}"></script>
2020-04-05 09:42:34 +00:00
<script type='text/javascript' src="{% static 'fontawesome/js/fontawesome.js' %}"></script>
{% block js_load %}
{% endblock %}
<script type='text/javascript'>
$(document).ready(function () {
{% block js_ready %}
{% endblock %}
inventreeDocReady();
showCachedAlerts();
2020-06-11 08:09:43 +00:00
$('#barcode-scan').click(function() {
barcodeScanDialog();
});
});
</script>
2018-04-24 14:09:25 +00:00
{% block js %}
2018-04-24 14:09:25 +00:00
{% endblock %}
</body>
</html>