diff --git a/kitsune/templates/base.html b/kitsune/templates/base.html new file mode 100644 index 000000000..64baf2d2a --- /dev/null +++ b/kitsune/templates/base.html @@ -0,0 +1,25 @@ + + + + + + + + + + {% block head %} + {% endblock %} + + + {% block title %} + {{ title }} - Kitsune + {% endblock %} + + + + + {% block body %} + {% endblock %} + + + \ No newline at end of file diff --git a/kitsune/templates/oauth/consent.html b/kitsune/templates/oauth/consent.html index 679f9ceb1..d9807fcbd 100644 --- a/kitsune/templates/oauth/consent.html +++ b/kitsune/templates/oauth/consent.html @@ -1,24 +1,22 @@ - - +{% extends "../base.html" %} - - - - - - OAuth Login - +{% block title %} + OAuth Login +{% endblock %} {% macro add_query_params() %} - - - - - + + + + + {% endmacro %} - -

Kitsune

+{% block body %} +

+ Kitsune +

+ + +
Authenticated as {{ authenticated_username }} ~ Logout
- - - \ No newline at end of file +{% endblock %} diff --git a/kitsune/templates/oauth/login.html b/kitsune/templates/oauth/login.html index 0a9d81c49..ac29594e0 100644 --- a/kitsune/templates/oauth/login.html +++ b/kitsune/templates/oauth/login.html @@ -1,21 +1,18 @@ - - +{% extends "../base.html" %} - - - - - - OAuth Login - +{% block title %} + OAuth Login +{% endblock %} - +{% block body %}

Kitsune

+ {% for (_level, msg) in flash_messages %} -
- {{ msg }} -
+
+ {{ msg }} +
{% endfor %} +

@@ -25,6 +22,4 @@
- - - \ No newline at end of file +{% endblock %} \ No newline at end of file diff --git a/kitsune/templates/oauth/token.html b/kitsune/templates/oauth/token.html index ae48a609b..9c03e9f9b 100644 --- a/kitsune/templates/oauth/token.html +++ b/kitsune/templates/oauth/token.html @@ -1,20 +1,16 @@ - - +{% extends "../base.html" %} - - - - - - OAuth Token - +{% block title %} + OAuth Token +{% endblock %} + +{% block body %} +

+ {{domain}} +

- -

{{domain}}

Copy & Paste this token into {{app_name}}

{{token}}
- - - \ No newline at end of file +{% endblock %} \ No newline at end of file