{{define "title"}}{{.Title}}{{end}} {{define "content"}}

Import a calendar

An .ics file exported from another calendar.

{{with .Data.Error}} {{template "callout" dict "Tone" "negative" "Body" . "Alert" true}} {{end}} {{/* Said before the upload, not after: what this app does not yet model is exactly what somebody importing a working calendar will miss, and finding out afterwards is worse. */}} {{template "callout" dict "Tone" "info" "Title" "What comes across, and what does not" "Body" "Events, times, zones, notes and repeat rules all come across, including rules this app cannot itself create — those are kept exactly as they arrived. Guests and invitations do not: this app does not model them yet, and the report will say how many were dropped."}}
{{template "field-select" dict "ID" "calendar_id" "Name" "calendar_id" "Label" "Import into" "Options" (calendarOptions .Data.Calendars 0)}}
Up to 10 MB.
{{template "form-foot" dict "Submit" "Import" "CancelHref" "/today" "CancelLabel" "Cancel"}}
{{end}}