feat: front-end date ranges support

This commit is contained in:
2025-06-02 07:10:08 +02:00
parent ae0fab301a
commit 80ad9db83d
5 changed files with 112 additions and 25 deletions

View File

@@ -69,7 +69,11 @@
<div class="d-flex justify-content-between align-items-center mb-3">
<h2 class="eventsText">Events</h2>
<span class="position-absolute end-0 translate-middle-y me-4" style="margin-top: 20px;">
<button class="btn btn-link" onclick="">
<label for="fDate" id="flabel" class="hidden-before-load">From </label>
<input type="date" id="fDate" name="fDate" class="hidden-before-load">
<label for="tDate" id="tlabel" class="hidden-before-load"> To </label>
<input type="date" id="tDate" name="tDate" class="hidden-before-load">
<button class="btn btn-link" onclick="" id="optionsbtn">
<svg xmlns="http://www.w3.org/2000/svg" height="30px" viewBox="0 -960 960 960" width="30px" fill="#2898BD"><path d="M440-120v-240h80v80h320v80H520v80h-80Zm-320-80v-80h240v80H120Zm160-160v-80H120v-80h160v-80h80v240h-80Zm160-80v-80h400v80H440Zm160-160v-240h80v80h160v80H680v80h-80Zm-480-80v-80h400v80H120Z" /></svg>
</button>
<button class="btn btn-link" id="list-sort-btn" onclick=""><svg xmlns="http://www.w3.org/2000/svg" height="30px" viewBox="0 -960 960 960" width="30px" fill="#2898BD"><path d="M320-440v-287L217-624l-57-56 200-200 200 200-57 56-103-103v287h-80ZM600-80 400-280l57-56 103 103v-287h80v287l103-103 57 56L600-80Z" /></svg></button>