diff options
author | 2019-10-20 13:27:44 +0100 | |
---|---|---|
committer | 2019-10-20 13:27:44 +0100 | |
commit | 3512a71bfe89a8efdf8be7ac917cbe13dfe132e2 (patch) | |
tree | 081b8f1341cd49ecf12cc50788a6ca52733d5c99 /pydis_site/templates | |
parent | Allauth: Re-add GitHub provider, prevent GH signups (diff) |
GH signup prevention, views and templates for settings pages
Diffstat (limited to 'pydis_site/templates')
-rw-r--r-- | pydis_site/templates/base/navbar.html | 2 | ||||
-rw-r--r-- | pydis_site/templates/home/account/delete.html | 12 | ||||
-rw-r--r-- | pydis_site/templates/home/account/settings.html | 12 |
3 files changed, 25 insertions, 1 deletions
diff --git a/pydis_site/templates/base/navbar.html b/pydis_site/templates/base/navbar.html index f1a3f928..bd0bab40 100644 --- a/pydis_site/templates/base/navbar.html +++ b/pydis_site/templates/base/navbar.html @@ -105,7 +105,7 @@ <div class="field navbar-item is-paddingless is-fullwidth is-grouped"> <button type="submit" class="button is-white is-inline is-fullwidth has-text-left is-size-navbar-menu has-text-grey-dark">Logout</button> - <a title="Settings" class="button is-white is-inline has-text-right is-size-navbar-menu has-text-grey-dark" href="#"> + <a title="Settings" class="button is-white is-inline has-text-right is-size-navbar-menu has-text-grey-dark" href="{% url "account_settings" %}"> <span class="is-icon"> <i class="fas fa-cog"></i> </span> diff --git a/pydis_site/templates/home/account/delete.html b/pydis_site/templates/home/account/delete.html new file mode 100644 index 00000000..8d68a0e3 --- /dev/null +++ b/pydis_site/templates/home/account/delete.html @@ -0,0 +1,12 @@ +{% extends 'base/base.html' %} +{% load static %} + +{% block title %}Delete Account{% endblock %} + +{% block content %} + {% include "base/navbar.html" %} + + <section class="section"> + + </section> +{% endblock %} diff --git a/pydis_site/templates/home/account/settings.html b/pydis_site/templates/home/account/settings.html new file mode 100644 index 00000000..ba1d38a2 --- /dev/null +++ b/pydis_site/templates/home/account/settings.html @@ -0,0 +1,12 @@ +{% extends 'base/base.html' %} +{% load static %} + +{% block title %}My Account{% endblock %} + +{% block content %} + {% include "base/navbar.html" %} + + <section class="section"> + + </section> +{% endblock %} |