#2736 Move simple-datatables to base
This commit is contained in:
parent
3886076f50
commit
ab89b7eff0
|
@ -19,10 +19,12 @@
|
||||||
|
|
||||||
<!-- JS Files -->
|
<!-- JS Files -->
|
||||||
<script src="{{ url_for('static', filename='js/jquery-3.6.0.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/jquery-3.6.0.min.js') }}"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest"></script>
|
||||||
|
|
||||||
<!-- Vendor CSS Files -->
|
<!-- Vendor CSS Files -->
|
||||||
<link href="{{ url_for('static', filename='vendor/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
|
<link href="{{ url_for('static', filename='vendor/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
|
||||||
<link href="{{ url_for('static', filename='vendor/bootstrap-icons/bootstrap-icons.css') }}" rel="stylesheet">
|
<link href="{{ url_for('static', filename='vendor/bootstrap-icons/bootstrap-icons.css') }}" rel="stylesheet">
|
||||||
|
<link href="https://cdn.jsdelivr.net/npm/simple-datatables@latest/dist/style.css" rel="stylesheet" type="text/css">
|
||||||
|
|
||||||
|
|
||||||
<!-- Template Main CSS File -->
|
<!-- Template Main CSS File -->
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{% extends "ereuse_devicehub/base_site.html" %}
|
{% extends "ereuse_devicehub/base_site.html" %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<link href="https://cdn.jsdelivr.net/npm/simple-datatables@latest/dist/style.css" rel="stylesheet" type="text/css">
|
|
||||||
|
|
||||||
<div class="pagetitle">
|
<div class="pagetitle">
|
||||||
<h1>Inventory</h1>
|
<h1>Inventory</h1>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{% extends "ereuse_devicehub/base_site.html" %}
|
{% extends "ereuse_devicehub/base_site.html" %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<link href="https://cdn.jsdelivr.net/npm/simple-datatables@latest/dist/style.css" rel="stylesheet" type="text/css">
|
|
||||||
|
|
||||||
<div class="pagetitle">
|
<div class="pagetitle">
|
||||||
<h1>Inventory</h1>
|
<h1>Inventory</h1>
|
||||||
|
@ -386,14 +385,9 @@
|
||||||
{% include "inventory/trade.html" %}
|
{% include "inventory/trade.html" %}
|
||||||
{% include "inventory/alert_export_error.html" %}
|
{% include "inventory/alert_export_error.html" %}
|
||||||
|
|
||||||
<!-- CDN -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest"></script>
|
|
||||||
<!-- Custom Code -->
|
<!-- Custom Code -->
|
||||||
<script>
|
<script>
|
||||||
const table = new simpleDatatables.DataTable("table")
|
const table = new simpleDatatables.DataTable("table")
|
||||||
</script>
|
|
||||||
<script>
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script src="{{ url_for('static', filename='js/main_inventory.js') }}"></script>
|
<script src="{{ url_for('static', filename='js/main_inventory.js') }}"></script>
|
||||||
{% endblock main %}
|
{% endblock main %}
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{% extends "ereuse_devicehub/base_site.html" %}
|
{% extends "ereuse_devicehub/base_site.html" %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<link href="https://cdn.jsdelivr.net/npm/simple-datatables@latest/dist/style.css" rel="stylesheet" type="text/css">
|
|
||||||
|
|
||||||
<div class="pagetitle">
|
<div class="pagetitle">
|
||||||
<h1>Inventory</h1>
|
<h1>Inventory</h1>
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{% extends "ereuse_devicehub/base_site.html" %}
|
{% extends "ereuse_devicehub/base_site.html" %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
<link href="https://cdn.jsdelivr.net/npm/simple-datatables@latest/dist/style.css" rel="stylesheet" type="text/css">
|
|
||||||
|
|
||||||
<div class="pagetitle">
|
<div class="pagetitle">
|
||||||
<h1>Inventory</h1>
|
<h1>Inventory</h1>
|
||||||
|
@ -77,13 +76,8 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- CDN -->
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/simple-datatables@latest"></script>
|
|
||||||
<!-- Custom Code -->
|
<!-- Custom Code -->
|
||||||
<script>
|
<script>
|
||||||
const table = new simpleDatatables.DataTable("table")
|
const table = new simpleDatatables.DataTable("table")
|
||||||
</script>
|
|
||||||
<script>
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock main %}
|
{% endblock main %}
|
||||||
|
|
Reference in New Issue