aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2013-04-27 17:30:21 +0200
committerTheo Chatzimichos <tampakrap@gentoo.org>2013-04-27 17:30:21 +0200
commit1419131a2b813b88bd79a142bc33aa3996d34793 (patch)
treecf3e0a1bc329668c7bfe9f7421f786ef27573381 /templates
parentMake settings Django 1.4 compatible, bug 411207 (diff)
downloadidentity.gentoo.org-1419131a2b813b88bd79a142bc33aa3996d34793.tar.gz
identity.gentoo.org-1419131a2b813b88bd79a142bc33aa3996d34793.tar.bz2
identity.gentoo.org-1419131a2b813b88bd79a142bc33aa3996d34793.zip
Change structure and basic files to match django 1.5
Diffstat (limited to 'templates')
-rw-r--r--templates/account/account.html22
-rw-r--r--templates/account/all.html7
-rw-r--r--templates/account/edit.html9
-rw-r--r--templates/account/password.html9
-rw-r--r--templates/index.html1
-rw-r--r--templates/login.html19
-rw-r--r--templates/recover/password.html15
-rw-r--r--templates/recover/recover.html13
-rw-r--r--templates/signup.html13
-rw-r--r--templates/verification.html7
10 files changed, 0 insertions, 115 deletions
diff --git a/templates/account/account.html b/templates/account/account.html
deleted file mode 100644
index 550c904..0000000
--- a/templates/account/account.html
+++ /dev/null
@@ -1,22 +0,0 @@
-{% if msg %}
- {{ msg }}
-{% else %}
- {% if current_user %}
- You are viewing:
- <ul>
- {% for attr in attr_list %}
- {% for key, value in current_user.items %}
- {% if key == attr %}
- {% if value %}
- <li>{{ key }}: {{ value }}</li>
- {% else %}
- <li>{{ key }}: Not Set</li>
- {% endif %}
- {% endif %}
- {% endfor %}
- {% endfor %}
- </ul>
- <br /><br />You are:<br />
- {{ user.username }} {{ user.get_profile.all_mails }}
- {% endif %}
-{% endif %} \ No newline at end of file
diff --git a/templates/account/all.html b/templates/account/all.html
deleted file mode 100644
index 4e57605..0000000
--- a/templates/account/all.html
+++ /dev/null
@@ -1,7 +0,0 @@
-<ul>
-{% for user in users %}
- {% for attr in user %}
- <li>attr</li>
- {% endfor %}
-{% endfor %}
-</ul>
diff --git a/templates/account/edit.html b/templates/account/edit.html
deleted file mode 100644
index fa502f2..0000000
--- a/templates/account/edit.html
+++ /dev/null
@@ -1,9 +0,0 @@
-{% if msg %}
- {{ msg }}
-{% else %}
- <form action="." method="POST">{% csrf_token %}
- {% for field in form %}<br />
- {{ field.label_tag}}{{ field }}<br />
- {% endfor %}
- <input class="button" type="submit" value="Edit" />
-{% endif %}
diff --git a/templates/account/password.html b/templates/account/password.html
deleted file mode 100644
index a2f304d..0000000
--- a/templates/account/password.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<form action="." method="POST">{% csrf_token %}
- {% for field in form %}<br />
- {{ field.label_tag}}{{ field }}<br />
- {% endfor %}
- <input class="button" type="submit" value="Submit" />
- {% if msg %}
- <br />{{ msg }}
- {% endif %}
-</form>
diff --git a/templates/index.html b/templates/index.html
deleted file mode 100644
index 1801675..0000000
--- a/templates/index.html
+++ /dev/null
@@ -1 +0,0 @@
-front page \ No newline at end of file
diff --git a/templates/login.html b/templates/login.html
deleted file mode 100644
index 8a039d1..0000000
--- a/templates/login.html
+++ /dev/null
@@ -1,19 +0,0 @@
-<form action="." method="POST">{% csrf_token %}
- {% for field in form %}
- {% ifequal forloop.counter0 2 %}
- <br />
- {{ field}}
- <label style="display: inline; margin: 0 0 0 0" for="remember">Remember Me</label>
- <br />
- {% else %}
- {{ field.label_tag }}{{ field }}
- {% endifequal %}
- {% endfor %}
- <input class="button" type="submit" value="Login" name="submit" />
- <input class="button" type="submit" value="Signup" name="signup" />
- <br />
- <a href="/recover">Forgot your password?</a>
- {% if msg %}
- <p class="messages">{{ msg }}</p>
- {% endif %}
-</form>
diff --git a/templates/recover/password.html b/templates/recover/password.html
deleted file mode 100644
index 50191d8..0000000
--- a/templates/recover/password.html
+++ /dev/null
@@ -1,15 +0,0 @@
-{% if form %}
- <form action="." method="post">{% csrf_token %}
- {% for field in form %}
- {{ field.label_tag }}{{ field }}<br />
- {% endfor %}
- <input class="button" type="submit" value="submit">
- </form>
-{% endif %}
-{% if msg %}
- {{ msg }}
-{% else %}
- {% if data %}
- Password changed for user: {{ data.user }}
- {% endif %}
-{% endif %}
diff --git a/templates/recover/recover.html b/templates/recover/recover.html
deleted file mode 100644
index c13e2f4..0000000
--- a/templates/recover/recover.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{% if email %}
- You will soon recieve a mail at {{ email }} with instructions to change your password
-{% else %}
- <form action="." method="post">{% csrf_token %}
- {% for field in form %}
- {{ field.label_tag }}{{ field }}<br />
- {% endfor %}
- <input class="button" type="submit" value="submit">
- {% if msg %}
- <p class="messages">{{ msg }}</p>
- {% endif %}
- </form>
-{% endif %}
diff --git a/templates/signup.html b/templates/signup.html
deleted file mode 100644
index 22a6090..0000000
--- a/templates/signup.html
+++ /dev/null
@@ -1,13 +0,0 @@
-{% if email %}
- You will soon recieve a mail at {{ email }} to verify your account
-{% else %}
- <form action="." method="post">{% csrf_token %}
- {% for field in form %}
- {{ field.label_tag }}{{ field }}<br />
- {% endfor %}
- <input class="button" type="submit" value="signup">
- {% if msg %}
- <p class="messages">{{ msg }}</p>
- {% endif %}
- </form>
-{% endif %}
diff --git a/templates/verification.html b/templates/verification.html
deleted file mode 100644
index 1d0f781..0000000
--- a/templates/verification.html
+++ /dev/null
@@ -1,7 +0,0 @@
-{% if msg %}
- {{ msg }}
-{% else %}
- {% if data %}
- Activated {{data.email}} for user: {{ data.user }}
- {% endif %}
-{% endif %}