remotes/1693045480750635534/spooky-22
kek7198 2021-12-04 06:59:28 -06:00
parent 7e00788f2d
commit e2fbf1a5ad
1 changed files with 21 additions and 19 deletions

View File

@ -122,26 +122,28 @@
</div> -->
<div class="rounded-lg divide-y divide-gray-300 bg-gray-100 border border-gray-300 shadow-inset-t-white-10 p-4">
<div class="rounded-lg bg-gray-100 border border-gray-300 shadow-inset-t-white-10 p-4">
<h2 class="font-bold text-lg font-heading leading-normal mb-2">Linked accounts</h2>
<div>
{% if v.discord_id %}
<form action="/settings/remove_discord" method="post">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input type="submit" class="btn btn-red" value="Disconnect Discord">
</form>
<p class="mt-2 text-xs text-gray-400 mt-3">
Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server.
</p>
{% else %}
<a href="/discord" class="btn btn-gray">
<i class="fab fa-discord fa-fw mr-1"></i>
Link Discord
</a>
<p class="mt-2 text-xs text-gray-400 mt-3">
Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server.
</p>
{% endif %}
<div class="flex flex-col space-y-2 divide-y divide-y-800">
<div>
{% if v.discord_id %}
<form action="/settings/remove_discord" method="post">
<input type="hidden" name="formkey" value="{{v.formkey}}">
<input type="submit" class="btn btn-red" value="Disconnect Discord">
</form>
<p class="mt-2 text-xs text-gray-400 mt-3">
Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server.
</p>
{% else %}
<a href="/discord" class="btn btn-gray">
<i class="fab fa-discord fa-fw mr-1"></i>
Link Discord
</a>
<p class="mt-2 text-xs text-gray-400 mt-3">
Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server.
</p>
{% endif %}
</div>
</div>
</div>