mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-31 00:04:40 +02:00
Added the very basic foundations for a filter system
This commit is contained in:
parent
ef389dcc15
commit
f9d945c4c7
15 changed files with 460 additions and 5 deletions
7
templates/Form/FilterTypesLayout.html.twig
Normal file
7
templates/Form/FilterTypesLayout.html.twig
Normal file
|
@ -0,0 +1,7 @@
|
|||
{% block number_constraint_widget %}
|
||||
<div class="input-group">
|
||||
{{ form_widget(form.operator) }}
|
||||
{{ form_widget(form.value1) }}
|
||||
{{ form_widget(form.value2) }}
|
||||
</div>
|
||||
{% endblock %}
|
8
templates/Parts/lists/_filter.html.twig
Normal file
8
templates/Parts/lists/_filter.html.twig
Normal file
|
@ -0,0 +1,8 @@
|
|||
<div class="card mb-4">
|
||||
<div class="card-header">Filter</div>
|
||||
<div class="card-body">
|
||||
{{ form_start(filterForm) }}
|
||||
|
||||
{{ form_end(filterForm) }}
|
||||
</div>
|
||||
</div>
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% include "Parts/lists/_filter.html.twig" %}
|
||||
|
||||
{% include "Parts/lists/_action_bar.html.twig" with {'url_options': {}} %}
|
||||
{% include "Parts/lists/_parts_list.html.twig" %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue