[UPDT] Filter form adjustment for Horilla widget
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
{% load i18n %}
|
||||
{% load static %}
|
||||
<form hx-get='{% url "employee-filter-view" %}' id="filterForm" hx-target='#view-container'>
|
||||
<div class="oh-dropdown__filter-body">
|
||||
<div class="oh-accordion">
|
||||
<div class="oh-accordion-header">{% trans "Employee" %}</div>
|
||||
@@ -100,9 +99,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="oh-dropdown__filter-footer">
|
||||
<button class="oh-btn oh-btn--secondary oh-btn--small w-100 filterButton" id='#employeeFilter' onclick="employeeFilter(this)">{% trans "Filter" %}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script src='{% static "/base/filter.js" %}'></script>
|
||||
|
||||
@@ -176,7 +176,13 @@
|
||||
style="display: none;"
|
||||
|
||||
>
|
||||
<form hx-get='{% url "employee-filter-view" %}' id="filterForm" hx-target='#view-container'>
|
||||
{% include 'employee_filters.html' %}
|
||||
<div class="oh-dropdown__filter-footer">
|
||||
<button class="oh-btn oh-btn--secondary oh-btn--small w-100 filterButton" id='#employeeFilter' onclick="employeeFilter(this)">{% trans "Filter" %}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="oh-btn-group ml-2">
|
||||
|
||||
Reference in New Issue
Block a user