diff options
| author | mrw1593 <botahamec@outlook.com> | 2023-06-18 18:56:38 -0400 |
|---|---|---|
| committer | mrw1593 <botahamec@outlook.com> | 2023-06-18 18:56:38 -0400 |
| commit | 1d51343bc819ec19a593e224f61245b3b0f639b1 (patch) | |
| tree | b3e8d98598011b0072db8f92aeccdb0bd136b0b4 /static | |
| parent | cfc6b9f35f49636a50ef9d170d01740439dfdbe4 (diff) | |
error page
Diffstat (limited to 'static')
| -rw-r--r-- | static/languages/en.ini | 10 | ||||
| -rw-r--r-- | static/templates/base.html | 2 | ||||
| -rw-r--r-- | static/templates/error.html | 7 |
3 files changed, 18 insertions, 1 deletions
diff --git a/static/languages/en.ini b/static/languages/en.ini index 1848a7d..e926ec0 100644 --- a/static/languages/en.ini +++ b/static/languages/en.ini @@ -4,3 +4,13 @@ usernamePlaceholder = Enter your username passwordLabel = Password passwordPlaceholder = Enter your password loginSubmitButton = Log In + +errorTitle = Error +errorHeader_invalidRequest = Invalid Request +errorMessage_invalidRequest = The client sent a bad request. +errorHeader_clientNotFound = Client Not Found +errorMessage_clientNotFound = The client gave an incorrect ID, so we cannot redirect to it. +errorHeader_missingRedirectUri = Missing Redirect URI +errorMessage_missingRedirectUri = There are many redirect URIs for the client, but the client did not specify which one to use. +errorHeader_invalidRedirectUri = Invalid Redirect URI +errorMessage_invalidRedirectUri = The client provided a redirect URI that it is not allowed to redirect to. diff --git a/static/templates/base.html b/static/templates/base.html index fe4875e..021f95e 100644 --- a/static/templates/base.html +++ b/static/templates/base.html @@ -10,7 +10,7 @@ <body> {% block content %}{% endblock content %} <footer> - <div id="copyright">© 2023 Amplify Education Inc.</div> + <div id="copyright">© 2023</div> </footer> </body> </html> diff --git a/static/templates/error.html b/static/templates/error.html new file mode 100644 index 0000000..4fbe87f --- /dev/null +++ b/static/templates/error.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} +{% block title %}{{ msg(key="errorTitle") }}{% endblock title %} + +{% block content %} +<p>{{ msg(key=errorHeader) }}</p> +<p>{{ msg(key=errorMessage) }}</p> +{% endblock content %} |
