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> -->
<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> <h2 class="font-bold text-lg font-heading leading-normal mb-2">Linked accounts</h2>
<div> <div class="flex flex-col space-y-2 divide-y divide-y-800">
{% if v.discord_id %} <div>
<form action="/settings/remove_discord" method="post"> {% if v.discord_id %}
<input type="hidden" name="formkey" value="{{v.formkey}}"> <form action="/settings/remove_discord" method="post">
<input type="submit" class="btn btn-red" value="Disconnect Discord"> <input type="hidden" name="formkey" value="{{v.formkey}}">
</form> <input type="submit" class="btn btn-red" value="Disconnect Discord">
<p class="mt-2 text-xs text-gray-400 mt-3"> </form>
Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server. <p class="mt-2 text-xs text-gray-400 mt-3">
</p> Disconnecting your Discord account will remove you from the {{'SITE_NAME' | app_config}} Discord server.
{% else %} </p>
<a href="/discord" class="btn btn-gray"> {% else %}
<i class="fab fa-discord fa-fw mr-1"></i> <a href="/discord" class="btn btn-gray">
Link Discord <i class="fab fa-discord fa-fw mr-1"></i>
</a> Link Discord
<p class="mt-2 text-xs text-gray-400 mt-3"> </a>
Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server. <p class="mt-2 text-xs text-gray-400 mt-3">
</p> Link your Discord account to join the {{'SITE_NAME' | app_config}} Discord server.
{% endif %} </p>
{% endif %}
</div>
</div> </div>
</div> </div>