From: Matías Aguirre Date: Thu, 6 Jan 2011 02:58:21 +0000 (-0200) Subject: Common templates directory X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=93b5c6cffd66e54caf8a98ccae3b699f718c104d;p=django-social-auth.git Common templates directory --- diff --git a/example/app/templates/base.html b/example/app/templates/base.html deleted file mode 100644 index ab5162d..0000000 --- a/example/app/templates/base.html +++ /dev/null @@ -1,76 +0,0 @@ - - - Social authentication | {% block title %}{% endblock %} - - - -

{% block heading %}{% endblock %}

-
- {% block content %}{% endblock %} -
- Fork me on GitHub - - diff --git a/example/app/templates/done.html b/example/app/templates/done.html deleted file mode 100644 index a28fa04..0000000 --- a/example/app/templates/done.html +++ /dev/null @@ -1,55 +0,0 @@ -{% extends "base.html" %} -{% block title %}Logged in{% endblock %} - -{% block heading %}Logged in!{% endblock %} - -{% block content %} -
-

User data:

- - - - - - -
Id: {{ user.id }}
Username: {{ user.username }}
Email: {{ user.email|default:"Not provided" }}
First name: {{ user.first_name|default:"Not provided" }}
Last name: {{ user.last_name|default:"Not provided" }}
-
- -
-

Associate new credentials:

- -
- -
- Logout -
-{% endblock %} diff --git a/example/app/templates/error.html b/example/app/templates/error.html deleted file mode 100644 index 99e1e58..0000000 --- a/example/app/templates/error.html +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html" %} -{% block title %}Error{% endblock %} - -{% block heading %}Error!{% endblock %} - -{% block content %} -
-

Sorry but some error made you impossible to login.

-

Please try again Home

-
-{% endblock %} diff --git a/example/app/templates/home.html b/example/app/templates/home.html deleted file mode 100644 index 67252cc..0000000 --- a/example/app/templates/home.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "base.html" %} -{% block title %}Login{% endblock %} - -{% block heading %}Login using any of the following methods{% endblock %} - -{% block content %} -
-

Login using OAuth from:

- -
- -
-

Login using OpenId from:

- -
-{% endblock %} diff --git a/example/templates/base.html b/example/templates/base.html new file mode 100644 index 0000000..ab5162d --- /dev/null +++ b/example/templates/base.html @@ -0,0 +1,76 @@ + + + Social authentication | {% block title %}{% endblock %} + + + +

{% block heading %}{% endblock %}

+
+ {% block content %}{% endblock %} +
+ Fork me on GitHub + + diff --git a/example/templates/done.html b/example/templates/done.html new file mode 100644 index 0000000..a28fa04 --- /dev/null +++ b/example/templates/done.html @@ -0,0 +1,55 @@ +{% extends "base.html" %} +{% block title %}Logged in{% endblock %} + +{% block heading %}Logged in!{% endblock %} + +{% block content %} +
+

User data:

+ + + + + + +
Id: {{ user.id }}
Username: {{ user.username }}
Email: {{ user.email|default:"Not provided" }}
First name: {{ user.first_name|default:"Not provided" }}
Last name: {{ user.last_name|default:"Not provided" }}
+
+ +
+

Associate new credentials:

+ +
+ +
+ Logout +
+{% endblock %} diff --git a/example/templates/error.html b/example/templates/error.html new file mode 100644 index 0000000..99e1e58 --- /dev/null +++ b/example/templates/error.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% block title %}Error{% endblock %} + +{% block heading %}Error!{% endblock %} + +{% block content %} +
+

Sorry but some error made you impossible to login.

+

Please try again Home

+
+{% endblock %} diff --git a/example/templates/home.html b/example/templates/home.html new file mode 100644 index 0000000..67252cc --- /dev/null +++ b/example/templates/home.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} +{% block title %}Login{% endblock %} + +{% block heading %}Login using any of the following methods{% endblock %} + +{% block content %} +
+

Login using OAuth from:

+ +
+ +
+

Login using OpenId from:

+ +
+{% endblock %}