2022-06-17 15:02:11 +00:00
|
|
|
{% extends "base.html.j2" %}
|
|
|
|
{% block content %}
|
2022-09-07 17:36:18 +00:00
|
|
|
<form action="" method="get">
|
|
|
|
<div id="box">
|
|
|
|
<div id="avatars">
|
2022-09-07 17:57:09 +00:00
|
|
|
<img src="{{ client.user.display_avatar }}"
|
|
|
|
alt="{{ _('Bot Logo') }}"
|
|
|
|
width="80"
|
|
|
|
height="80"/>
|
2022-09-07 17:36:18 +00:00
|
|
|
</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>
|
2022-09-07 21:11:11 +00:00
|
|
|
<select name="guild" id="select_guid">
|
2022-09-07 17:57:09 +00:00
|
|
|
<option>
|
2022-09-07 21:11:11 +00:00
|
|
|
|
2022-09-07 17:36:18 +00:00
|
|
|
</option>
|
2022-09-07 17:57:09 +00:00
|
|
|
{% for guild in client.guilds %}
|
|
|
|
<option value="{{ guild.id }}">
|
|
|
|
{{ guild.name }}
|
|
|
|
</option>
|
2022-09-07 17:36:18 +00:00
|
|
|
{% endfor %}
|
|
|
|
</select>
|
2022-09-07 21:11:11 +00:00
|
|
|
<div class="hr-sect">{{ _("OR") }}</div>
|
|
|
|
<a class="button"
|
|
|
|
target="_blank"
|
|
|
|
href="https://discord.com/api/oauth2/authorize?client_id={{ client.user.id }}&permissions=536870912&scope=bot">
|
|
|
|
{{ _("Add the bot on your server") }}
|
|
|
|
</a>
|
|
|
|
<ul id="permissions">
|
|
|
|
<li>
|
|
|
|
{{ _("You must have") }}
|
|
|
|
<strong>{{ _("Manage Server") }}</strong>
|
|
|
|
{{ _("permission on this server to perform this action") }}
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
{{ _("After adding the bot,") }}
|
|
|
|
<a href="">
|
|
|
|
<i class="fa fa-refresh"></i>
|
|
|
|
<strong>{{ _("reload the page") }}</strong>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2022-06-23 13:27:13 +00:00
|
|
|
</div>
|
2022-09-07 17:36:18 +00:00
|
|
|
<div id="buttons">
|
2022-09-07 21:11:11 +00:00
|
|
|
<input type="submit" class="button" value="{{ _("Let's go!") }}"/>
|
2022-09-07 17:36:18 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
2022-06-17 15:02:11 +00:00
|
|
|
{% endblock content %}
|