prettier + add a button ig

This commit is contained in:
lda committed 2025-06-05 07:12:12 +07:00
1 parent 50a90db0b2
commit 41e9cfcb6c
15 files changed
+86 -28

No files matched your search

+40 -11
View File
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
@@ -26,23 +26,47 @@
<div id="manual-url-input" class="col">
<label for="ics_file" class="form-label">ICS URL</label>
<input type="text" id="ics_file" class="form-control" placeholder="Paste .ics URL or API endpoint here" />
<input
type="text"
id="ics_file"
class="form-control"
placeholder="Paste .ics URL or API endpoint here"
/>
</div>
<div id="args-form" class="col-12" style="display: none;">
<div id="args-form" class="col-12" style="display: none">
<label for="be_url" class="form-label">Calendar URL</label>
<input type="text" id="be_url" class="form-control mb-2" placeholder="Enter .ics URL to query" />
<input
type="text"
id="be_url"
class="form-control mb-2"
placeholder="Enter .ics URL to query"
/>
<label for="regex_exc" class="form-label">Regex Exclude Rules</label>
<input type="text" id="regex_exc" class="form-control mb-2" placeholder="Enter regex to exclude events" />
<input
type="text"
id="regex_exc"
class="form-control mb-2"
placeholder="Enter regex to exclude events"
/>
<label for="regex_inc" class="form-label">Regex Include Rules</label>
<input type="text" id="regex_inc" class="form-control mb-2" placeholder="Enter regex to include events" />
<input
type="text"
id="regex_inc"
class="form-control mb-2"
placeholder="Enter regex to include events"
/>
</div>
<div class="col-12 d-flex justify-content-end flex-wrap gap-2">
<button type="button" class="btn btn-primary" id="ics_run">New Calendar</button>
<button type="button" class="btn btn-secondary" id="ics_add">Add a Calendar</button>
<button type="button" class="btn btn-primary" id="ics_run">
New Calendar
</button>
<button type="button" class="btn btn-secondary" id="ics_add">
Add a Calendar
</button>
</div>
</form>
@@ -55,9 +79,14 @@
class="card-header mt-1 d-flex justify-content-between align-items-center bg-transparent border-0"
>
<h4 class="mb-0">Event Sources</h4>
<button id="reload" class="btn btn-outline-primary btn-sm">
<i class="bi bi-arrow-clockwise"></i> Reload
</button>
<div>
<button id="reload" class="btn btn-outline-primary btn-sm">
<i class="bi bi-arrow-clockwise"></i> Reload
</button>
<button id="refetch_all" class="btn btn-outline-primary btn-sm">
<i class="bi bi-arrow-clockwise"></i> Refetch All
</button>
</div>
</div>
<div id="event-source-list" class="card-body">
<!-- Event source cards will be dynamically added here -->