diff options
author | Andrew Godwin | 2022-11-18 08:28:15 -0700 |
---|---|---|
committer | Andrew Godwin | 2022-11-18 11:28:16 -0700 |
commit | 81de10b70c85c5222b17d8c4358a8aa8812f2559 (patch) | |
tree | 8e028b62d3a883294caedc82c5870f23273e2032 /templates | |
parent | 1b44a253316a84f40070264ea8134c86d1223441 (diff) | |
download | takahe-81de10b70c85c5222b17d8c4358a8aa8812f2559.tar.gz takahe-81de10b70c85c5222b17d8c4358a8aa8812f2559.tar.bz2 takahe-81de10b70c85c5222b17d8c4358a8aa8812f2559.zip |
Migration reset, start of docs, env vars
Diffstat (limited to 'templates')
-rw-r--r-- | templates/admin/domain_create.html | 2 | ||||
-rw-r--r-- | templates/admin/domain_edit.html | 2 | ||||
-rw-r--r-- | templates/admin/domains.html | 3 | ||||
-rw-r--r-- | templates/auth/login.html | 1 | ||||
-rw-r--r-- | templates/auth/perform_reset_success.html | 7 | ||||
-rw-r--r-- | templates/settings/profile.html | 4 |
6 files changed, 14 insertions, 5 deletions
diff --git a/templates/admin/domain_create.html b/templates/admin/domain_create.html index dcc57fa..23c1ebf 100644 --- a/templates/admin/domain_create.html +++ b/templates/admin/domain_create.html @@ -33,8 +33,10 @@ <fieldset> <legend>Access Control</legend> {% include "forms/_field.html" with field=form.public %} + {% include "forms/_field.html" with field=form.default %} </fieldset> <div class="buttons"> + <a href="{% url "admin_domains" %}" class="button secondary left">Back</a> <button>Create</button> </div> </form> diff --git a/templates/admin/domain_edit.html b/templates/admin/domain_edit.html index 59bb8a2..3e7f70b 100644 --- a/templates/admin/domain_edit.html +++ b/templates/admin/domain_edit.html @@ -13,8 +13,10 @@ <fieldset> <legend>Access Control</legend> {% include "forms/_field.html" with field=form.public %} + {% include "forms/_field.html" with field=form.default %} </fieldset> <div class="buttons"> + <a href="{{ domain.urls.root }}" class="button secondary left">Back</a> <a href="{{ domain.urls.delete }}" class="button delete">Delete</a> <button>Save</button> </div> diff --git a/templates/admin/domains.html b/templates/admin/domains.html index bb7d8e4..8ef09fe 100644 --- a/templates/admin/domains.html +++ b/templates/admin/domains.html @@ -14,6 +14,9 @@ {% if domain.service_domain %}({{ domain.service_domain }}){% endif %} </small> </span> + {% if domain.default %} + <span class="pill">Default</span> + {% endif %} </a> {% empty %} <p class="option empty">You have no domains set up.</p> diff --git a/templates/auth/login.html b/templates/auth/login.html index b3b0a05..80b003b 100644 --- a/templates/auth/login.html +++ b/templates/auth/login.html @@ -12,6 +12,7 @@ {% endfor %} </fieldset> <div class="buttons"> + <a href="{% url "trigger_reset" %}" class="secondary button left">Forgot Password</a> <button>Login</button> </div> </form> diff --git a/templates/auth/perform_reset_success.html b/templates/auth/perform_reset_success.html index 001e5d7..3f5125a 100644 --- a/templates/auth/perform_reset_success.html +++ b/templates/auth/perform_reset_success.html @@ -1,13 +1,14 @@ {% extends "base.html" %} -{% block title %}Password Reset{% endblock %} +{% block title %}Password Set{% endblock %} {% block content %} <form> <fieldset> - <legend>Password Reset</legend> + <legend>Password Set</legend> <p> - Your password for <tt>{{ email }}</tt> has been reset! + Your password for <tt>{{ email }}</tt> has been set. You can + now <a href="/auth/login/">login</a>. </p> </fieldset> </form> diff --git a/templates/settings/profile.html b/templates/settings/profile.html index 5c00557..12ea206 100644 --- a/templates/settings/profile.html +++ b/templates/settings/profile.html @@ -12,8 +12,8 @@ </fieldset> <fieldset> <legend>Images</legend> - {% include "forms/_field.html" with field=form.icon preview=request.identity.icon.url %} - {% include "forms/_field.html" with field=form.image preview=request.identity.image.url %} + {% include "forms/_field.html" with field=form.icon %} + {% include "forms/_field.html" with field=form.image %} </fieldset> <div class="buttons"> <a href="{{ request.identity.urls.view }}" class="button secondary left">View Profile</a> |