Divent/divent/templates/index.html.j2
Michel Roux f4ca67bb24
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
FInal draft for no oauth
2022-09-07 17:36:18 +00:00

38 lines
1.4 KiB
Django/Jinja

{% extends "base.html.j2" %}
{% block content %}
<form action="" method="get">
<div id="box">
<div id="avatars">
<img src="{{ client.user.display_avatar }}" alt="{{ _('Bot Logo') }}" width="80" height="80" />
</div>
<h1>{{ client.user.display_name }}</h1>
<h2>{{ _('The discord scheduled event calendar generator') }}</h2>
<hr />
<h3>{{ _('This will allow you to:') }}</h3>
<ul id="scopes">
<li>
<i class="fa fa-custom-circle fa-check"></i>
{{ _('Subscribe to a calendar on Google, Yahoo, Outlook, Apple or any ICS complient software') }}
</li>
<li>
<i class="fa fa-custom-circle fa-times"></i>
{{ _('Throwing you to a new isekai world') }}
</li>
</ul>
<hr />
<h3>{{ _('Choose a server:') }}</h3>
<select name="guild">
<option>Choose a server:</option>
{% for guild in client.guilds %}
<option value="{{ guild.id }}">
{{ guild.name }}
</option>
{% endfor %}
</select>
</div>
<div id="buttons">
<a href="{{ url_for('index') }}">{{ _("Let's go!") }}</a>
</div>
</form>
{% endblock content %}