34 lines
1.4 KiB
PHP
34 lines
1.4 KiB
PHP
<div class="description">
|
|
<p>
|
|
Subscribing to a calendar adds it to your Kithkin calendar set and syncs any changes back to the original service. This means that any changes you make here will be sent to that server, and vice versa.
|
|
<p>
|
|
It's possible (and likely) that some of the things you can add to your calendar here will not work in other calendar apps or services. You'll always see that data here, though.
|
|
</p>
|
|
</div>
|
|
<form method="post"
|
|
action="{{ route('calendar.settings.subscribe.store') }}"
|
|
class="form-grid-1 mt-8">
|
|
@csrf
|
|
|
|
<x-input.text-label
|
|
name="source"
|
|
type="url"
|
|
label="{{ __('Calendar URL (ICS)') }}"
|
|
placeholder="https://ical.mac.com/ical/MoonPhases.ics"
|
|
required="true" />
|
|
<x-input.text-label
|
|
name="displayname"
|
|
type="text"
|
|
label="{{ __('Display name') }}"
|
|
placeholder="Phases of the moon..."
|
|
required="true"
|
|
description="If you leave this blank, we'll try to make a best guess for the name." />
|
|
<x-input.text-label name="color" type="color" label="{{ __('Calendar color') }}" />
|
|
|
|
<div class="flex gap-4">
|
|
<x-button variant="primary" type="submit">{{ __('Subscribe') }}</x-button>
|
|
<a href="{{ route('calendar.index') }}"
|
|
class="button button--secondary">{{ __('Cancel and go back') }}</a>
|
|
</div>
|
|
</form>
|