summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorTomek Dubrownik <t.dubrownik@gmail.com>2012-09-15 01:38:30 +0200
committerTomek Dubrownik <t.dubrownik@gmail.com>2012-09-15 01:38:30 +0200
commitc0e8cc2ccf39a6b6b23a9503e8ebb9ee287ed675 (patch)
tree161af6c72defc5fb598d666084b51af248b53d79 /templates
parent3cb096cc76c7463a0f94649d1fe321c2b7cbffe7 (diff)
downloadcheckinator-c0e8cc2ccf39a6b6b23a9503e8ebb9ee287ed675.tar.gz
checkinator-c0e8cc2ccf39a6b6b23a9503e8ebb9ee287ed675.tar.bz2
checkinator-c0e8cc2ccf39a6b6b23a9503e8ebb9ee287ed675.tar.xz
checkinator-c0e8cc2ccf39a6b6b23a9503e8ebb9ee287ed675.zip
basic ldap support, needs SSL verify
Diffstat (limited to 'templates')
-rw-r--r--templates/account.html21
-rw-r--r--templates/basic.html2
-rw-r--r--templates/main.html8
3 files changed, 4 insertions, 27 deletions
diff --git a/templates/account.html b/templates/account.html
index 91cd668..5e8272a 100644
--- a/templates/account.html
+++ b/templates/account.html
@@ -5,27 +5,6 @@
{% for msg in get_flashed_messages(True) %}
<p class="{{ msg[0] }}">{{ msg[1] }}</p>
{% endfor %}
-<h3>Change password</h3>
-<form action="" method="POST">
- <table>
- <label><tr>
- <td>Current password:</td>
- <td><input type="password" name="old"></td>
- </tr></label>
- <label><tr>
- <td>New password:</td>
- <td><input type="password" name="new"></td>
- </tr></label>
- <label><tr>
- <td>Confirm new password:</td>
- <td><input type="password" name="new2"></td>
- </tr></label>
- <label><tr>
- <td></td>
- <td><input type="submit" value="Save"></td>
- </tr></label>
- </table>
-</form>
<h3>Claimed devices</h3>
<table class="devices">
<tr>
diff --git a/templates/basic.html b/templates/basic.html
index 2ff8808..09e954f 100644
--- a/templates/basic.html
+++ b/templates/basic.html
@@ -14,7 +14,7 @@
<a href="account">account</a> |
<a href="logout">log out</a>
{% else %}
- <a href="login">login</a> | <a href="register">register</a>
+ <a href="login">login</a>
{% endif %}
</div>
{% block content %}
diff --git a/templates/main.html b/templates/main.html
index e141ef6..629db02 100644
--- a/templates/main.html
+++ b/templates/main.html
@@ -8,11 +8,9 @@ Now at hackerspace
<ul>
{% for user, timestamp in users %}
<li>
- {% if user.url %}
- <a href="{{ user.url }}">{% endif %}
- {{ user.login }} ({{ timestamp|strfts() }})
- {% if user.url %}</a>
- {% endif %}
+ <a href="{{ user | wikiurl }}">
+ {{ user }} ({{ timestamp|strfts() }})
+ </a>
</li>
{% endfor %}
</ul>