* improved toolbar: hide data table form in collapsible + filter button * added collapsible area for toolbar form #151
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
{% import "macros/widgets.html.twig" as widgets %}
|
||||
{% import "macros/datatables.html.twig" as tables %}
|
||||
{% import "macros/toolbar.html.twig" as toolbar %}
|
||||
|
||||
{% block page_title %}{{ 'timesheet.title'|trans }}{% endblock %}
|
||||
{% block page_subtitle %}{{ 'timesheet.subtitle'|trans }}{% endblock %}
|
||||
{% block page_actions %}{{ widgets.page_actions({'plus-square': path('timesheet_create')}) }}{% endblock %}
|
||||
{% block page_actions %}{{ widgets.page_actions({'filter': '#collapseTimesheet', 'plus-square': path('timesheet_create')}) }}{% endblock %}
|
||||
|
||||
{% block main %}
|
||||
|
||||
@@ -26,7 +27,7 @@
|
||||
'label.actions': '',
|
||||
}) %}
|
||||
|
||||
{{ tables.data_table_header(columns, toolbarForm) }}
|
||||
{{ tables.data_table_header(columns, toolbarForm, 'collapseTimesheet') }}
|
||||
|
||||
{% for entry in entries %}
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user