mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-02-14 21:49:36 +00:00
Added a basic show category parts page with datatable
This commit is contained in:
parent
8c8bbbbd86
commit
ba33399b20
20 changed files with 11091 additions and 19 deletions
15
templates/parts_list.html.twig
Normal file
15
templates/parts_list.html.twig
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{% extends "base.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div id="presidents">Loading...</div>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script>
|
||||
$( function() {
|
||||
$('#presidents').initDataTables({{ datatable_settings(datatable) }});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue