From 44bbe7872379ede1f5b1fee29be873bffef9c2c2 Mon Sep 17 00:00:00 2001 From: juanifioren Date: Tue, 23 Jun 2015 15:05:47 -0300 Subject: [PATCH] Clean templates in tests. --- .../tests/templates/accounts/login.html | 31 +++--------- .../tests/templates/accounts/logout.html | 14 +----- oidc_provider/tests/templates/base.html | 50 ------------------- oidc_provider/tests/templates/home.html | 11 ---- .../templates/oidc_provider/authorize.html | 30 ----------- .../tests/templates/oidc_provider/error.html | 14 ------ 6 files changed, 9 insertions(+), 141 deletions(-) delete mode 100644 oidc_provider/tests/templates/base.html delete mode 100644 oidc_provider/tests/templates/home.html delete mode 100644 oidc_provider/tests/templates/oidc_provider/authorize.html delete mode 100644 oidc_provider/tests/templates/oidc_provider/error.html diff --git a/oidc_provider/tests/templates/accounts/login.html b/oidc_provider/tests/templates/accounts/login.html index 6c24774..d6a4e30 100644 --- a/oidc_provider/tests/templates/accounts/login.html +++ b/oidc_provider/tests/templates/accounts/login.html @@ -1,24 +1,7 @@ -{% extends 'base.html' %} - -{% block content %} - -
-
-
- {% csrf_token %} - - {% if form.errors %} - - {% endif %} -
- -
-
- -
- -
-
-
- -{% endblock %} \ No newline at end of file +
+{% csrf_token %} + + + + +
\ No newline at end of file diff --git a/oidc_provider/tests/templates/accounts/logout.html b/oidc_provider/tests/templates/accounts/logout.html index 25aa0f8..0a32034 100644 --- a/oidc_provider/tests/templates/accounts/logout.html +++ b/oidc_provider/tests/templates/accounts/logout.html @@ -1,12 +1,2 @@ -{% extends 'base.html' %} - -{% block content %} - -
-
-

Bye!

-

Thanks for spending some quality time with the web site today.

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

Bye!

+

Thanks for spending some quality time with the web site today.

\ No newline at end of file diff --git a/oidc_provider/tests/templates/base.html b/oidc_provider/tests/templates/base.html deleted file mode 100644 index 6d38b8b..0000000 --- a/oidc_provider/tests/templates/base.html +++ /dev/null @@ -1,50 +0,0 @@ - - - - - - - OpenID Provider - - - - - - - - - - -
-
- -

django-oidc-provider

-
- - {% block content %}{% endblock %} - - - -
- - - - - - - \ No newline at end of file diff --git a/oidc_provider/tests/templates/home.html b/oidc_provider/tests/templates/home.html deleted file mode 100644 index c79d818..0000000 --- a/oidc_provider/tests/templates/home.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends 'base.html' %} - -{% block content %} - -
-

Welcome!

-

Django OIDC Provider can help you providing out of the box all the endpoints, data and logic needed to add OpenID Connect capabilities to your Django projects.

-

View on Github

-
- -{% endblock %} \ No newline at end of file diff --git a/oidc_provider/tests/templates/oidc_provider/authorize.html b/oidc_provider/tests/templates/oidc_provider/authorize.html deleted file mode 100644 index ccc7065..0000000 --- a/oidc_provider/tests/templates/oidc_provider/authorize.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends 'base.html' %} - -{% block content %} - -
-
-

Request for Permission

-
-
-

Client {{ client.name }} would like to access this information of you ...

- -
- - {% csrf_token %} - - {{ hidden_inputs }} - -
    - {% for scope in params.scope %} -
  • {{ scope | capfirst }}
  • - {% endfor %} -
- - - -
-
-
- -{% endblock %} \ No newline at end of file diff --git a/oidc_provider/tests/templates/oidc_provider/error.html b/oidc_provider/tests/templates/oidc_provider/error.html deleted file mode 100644 index b6e75dd..0000000 --- a/oidc_provider/tests/templates/oidc_provider/error.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends 'base.html' %} - -{% block content %} - -
-
-

{{ error }}

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