feat: front-end overhaul. added search, editing, event view, validation

This commit is contained in:
2025-05-19 04:36:28 +02:00
parent 82936633f1
commit ace54fb4ef
20 changed files with 490 additions and 89 deletions

View File

@@ -54,23 +54,23 @@
<svg class="position-relative" xmlns="http://www.w3.org/2000/svg" height="50px" viewBox="0 -960 960 960" width="50px" fill="#2898BD"><path d="M234-276q51-39 114-61.5T480-360q69 0 132 22.5T726-276q35-41 54.5-93T800-480q0-133-93.5-226.5T480-800q-133 0-226.5 93.5T160-480q0 59 19.5 111t54.5 93Zm246-164q-59 0-99.5-40.5T340-580q0-59 40.5-99.5T480-720q59 0 99.5 40.5T620-580q0 59-40.5 99.5T480-440Zm0 360q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q53 0 100-15.5t86-44.5q-39-29-86-44.5T480-280q-53 0-100 15.5T294-220q39 29 86 44.5T480-160Zm0-360q26 0 43-17t17-43q0-26-17-43t-43-17q-26 0-43 17t-17 43q0 26 17 43t43 17Zm0-60Zm0 360Z" /></svg>
</div>
</div>
<div class="main hidden-before-load">
<div class="main hidden-before-load" id="mainContainer">
<h1 class="mb-4">Create a new event</h1>
<div class="form-group mb-2">
<label for="title">Tytuł</label>
<label for="title">Title</label>
<input id="title" class="form-control input-field" />
</div>
<div class="form-group mb-2">
<label for="location">Lokalizacja</label>
<label for="location">Location</label>
<input id="location" class="form-control input-field" />
</div>
<div class="form-group mb-2">
<label for="description">Opis</label>
<label for="description">Description</label>
<textarea id="description" class="form-control input-field"></textarea>
</div>
<div class="form-group mb-2">
<label for="eventDate">Data</label>
<label for="eventDate">Date</label>
<input id="eventDate" type="datetime-local" class="form-control input-field" />
</div>