Divent/divent/templates/index.html.j2
Michel Roux bf2918795f
Some checks failed
continuous-integration/drone/push Build is failing
Reformat with djlint
2022-09-07 17:57:09 +00:00

42 lines
1.5 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>
</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 %}