notion2ical/internal/server/http/views/auth_internal.django

27 lines
816 B
Plaintext

<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-internal.png") }}" srcset="{{ static("/images/usage-internal@2x.png") }} 2x" />
</p>
<h3>2.</h3>
<form action="/wizard" method="post">
<p>
<label for="database_url">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>