33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
{% extends "base.django" %}
|
|
|
|
{% block content %}
|
|
<div class="text-center">
|
|
<p>
|
|
Online tool to convert a Notion database into an iCalendar subscription URL or downloadable ICS file.
|
|
</p>
|
|
<h2 id="how-it-works">How it works</h2>
|
|
<h3>1.</h3>
|
|
<p>
|
|
Give access to Notion2iCal to your Notion database by using the <kbd>Share</kbd> button
|
|
on the top right of your database and searching for <i>Notion2iCal</i>. Only read permissions
|
|
are required.
|
|
</p>
|
|
<p>
|
|
<img src="{{ static("/images/usage.png") }}" srcset="{{ static("/images/usage@2x.png") }} 2x" />
|
|
</p>
|
|
<form action="/wizard" method="post">
|
|
<h3>2.</h3>
|
|
<p>
|
|
<label>After giving access, paste your Notion database URL here to setup your calendar.</label>
|
|
<input type="url" name="database_url" placeholder="https://notion.so/workspace/...">
|
|
</p>
|
|
|
|
<h3>3.</h3>
|
|
{% if error %}
|
|
<p><mark>ERROR: {{ error }}</mark></p>
|
|
{% endif %}
|
|
<button type="submit">Click here to setup your calendar</button>
|
|
</form>
|
|
</div>
|
|
{% endblock %}
|