CalMerger/public/index.html

77 lines
No EOL
2.7 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calendar Merger</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<h1>📅 Calendar Merger</h1>
<!-- Merge Form -->
<div class="form-card">
<form id="merge-form">
<!-- Find Existing Calendar Section -->
<div class="input-group">
<h2>Find Existing Calendar</h2>
<div class="search-container">
<input type="text" id="calendar-search" placeholder="Enter calendar name">
<button type="button" id="search-btn" class="button primary-btn">Search</button>
</div>
<div id="search-result"></div>
</div>
<!-- Merge Calendars Section -->
<h2>Merge Calendars</h2>
<div class="input-group">
<input type="text"
id="link-group-name"
placeholder="Enter collection name"
class="input-field">
</div>
<!-- Global Settings -->
<div class="input-group">
<div class="checkbox-group">
<input type="checkbox" id="global-keep-properties" checked>
<label for="global-keep-properties">Keep all event properties (location, description, etc.) for all calendars</label>
</div>
</div>
<div id="calendars">
<div class="calendar-entry">
<input type="url" id="url-0" placeholder="https://example.com/calendar.ics">
<input type="text" id="prefix-0" placeholder="Event prefix">
<div class="checkbox-group">
<input type="checkbox" id="override-0">
<label for="override-0">Override</label>
</div>
<div class="checkbox-group">
<input type="checkbox" id="keep-properties-0" checked>
<label for="keep-properties-0">Keep properties</label>
</div>
<button type="button" class="remove-btn" title="Remove calendar"></button>
</div>
</div>
<div class="button-group">
<button type="button" id="add-calendar" class="button secondary-btn">
Add Another Calendar
</button>
<button type="submit" class="button primary-btn">
🔗 Merge Calendars
</button>
</div>
</form>
</div>
<!-- Result Section -->
<div id="result"></div>
</div>
<script src="script.js"></script>
</body>
</html>