update html to include overide option

This commit is contained in:
Ryan Mwangi 2024-10-04 15:49:34 +03:00
parent 661e614310
commit f77f3e57ff
2 changed files with 6 additions and 5 deletions

View File

@ -1,10 +1,10 @@
[ [
{ {
"url": "https://example.com/calendar1.ics", "url": "https://calendar.google.com/calendar/ical/b4c66eb4bb2cc15257d071bab3f935385778b042112ea1aaedada47f3f1a6e3a%40group.calendar.google.com/public/basic.ics",
"prefix": "Calendar 1" "prefix": "work"
}, },
{ {
"url": "https://example.com/calendar2.ics", "url": "https://calendar.google.com/calendar/ical/774518759e4e2dd42aab0c511b02397bb216f3b67dc425d76bae07d1eff529d6%40group.calendar.google.com/public/basic.ics",
"prefix": "Calendar 2" "prefix": "Calendar 2"
} }
] ]

View File

@ -32,6 +32,8 @@
<div id="calendars"> <div id="calendars">
<div class="calendar"> <div class="calendar">
<input type="text" id="prefix-0" placeholder="Prefix"> <input type="text" id="prefix-0" placeholder="Prefix">
<input type="checkbox" id="override-0">
<label for="override-0">Override</label>
<input type="url" id="url-0" placeholder="Calendar URL"> <input type="url" id="url-0" placeholder="Calendar URL">
</div> </div>
</div> </div>
@ -42,5 +44,4 @@
<script src="script.js"></script> <script src="script.js"></script>
</body> </body>
</html> </html>