2024-09-30 15:55:03 +03:00
|
|
|
|
<!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>
|
2025-02-26 14:38:46 +03:00
|
|
|
|
<link rel="stylesheet" href="styles.css">
|
2024-09-30 15:55:03 +03:00
|
|
|
|
</head>
|
|
|
|
|
<body>
|
2025-02-26 14:38:46 +03:00
|
|
|
|
<div class="container">
|
|
|
|
|
<h1>📅 Calendar Merger</h1>
|
2025-05-20 17:44:23 +03:00
|
|
|
|
|
|
|
|
|
<!-- Merge Form -->
|
2025-02-26 14:38:46 +03:00
|
|
|
|
<div class="form-card">
|
|
|
|
|
<form id="merge-form">
|
2025-07-21 15:49:53 +03:00
|
|
|
|
<!-- 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 -->
|
2025-05-20 17:44:23 +03:00
|
|
|
|
<h2>Merge Calendars</h2>
|
2025-02-26 14:38:46 +03:00
|
|
|
|
<div class="input-group">
|
|
|
|
|
<input type="text"
|
|
|
|
|
id="link-group-name"
|
|
|
|
|
placeholder="Enter collection name"
|
|
|
|
|
class="input-field">
|
|
|
|
|
</div>
|
2025-07-23 15:08:55 +03:00
|
|
|
|
|
|
|
|
|
<!-- 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>
|
2025-02-26 14:38:46 +03:00
|
|
|
|
|
|
|
|
|
<div id="calendars">
|
|
|
|
|
<div class="calendar-entry">
|
|
|
|
|
<input type="url" id="url-0" placeholder="https://example.com/calendar.ics">
|
2025-04-10 15:53:14 +03:00
|
|
|
|
<input type="text" id="prefix-0" placeholder="Event prefix">
|
2025-02-26 14:38:46 +03:00
|
|
|
|
<div class="checkbox-group">
|
2024-10-04 15:49:34 +03:00
|
|
|
|
<input type="checkbox" id="override-0">
|
|
|
|
|
<label for="override-0">Override</label>
|
2025-02-26 14:38:46 +03:00
|
|
|
|
</div>
|
2025-07-23 15:08:55 +03:00
|
|
|
|
<div class="checkbox-group">
|
|
|
|
|
<input type="checkbox" id="keep-properties-0" checked>
|
|
|
|
|
<label for="keep-properties-0">Keep properties</label>
|
|
|
|
|
</div>
|
2025-04-10 15:42:36 +03:00
|
|
|
|
<button type="button" class="remove-btn" title="Remove calendar"></button>
|
2024-10-02 02:15:52 +03:00
|
|
|
|
</div>
|
2025-02-26 14:38:46 +03:00
|
|
|
|
</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>
|
2025-05-20 17:49:45 +03:00
|
|
|
|
|
|
|
|
|
<!-- Result Section -->
|
2025-05-20 17:58:28 +03:00
|
|
|
|
<div id="result"></div>
|
2025-05-20 17:44:23 +03:00
|
|
|
|
|
2025-02-26 14:38:46 +03:00
|
|
|
|
</div>
|
|
|
|
|
|
2024-09-30 15:55:03 +03:00
|
|
|
|
<script src="script.js"></script>
|
2025-02-26 14:38:46 +03:00
|
|
|
|
</body>
|
2024-10-04 15:49:34 +03:00
|
|
|
|
</html>
|