aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2012-09-27 20:43:22 +0200
committerChristian Weiske <cweiske@cweiske.de>2012-09-27 20:43:22 +0200
commit6a82f78dcc381c191dab5c4fe63d12096d596e41 (patch)
tree1d7aabde1390e98027622dc58486511ad9a88ee4 /data
parent71c2c412f7098050479f496292bc694095d9ec97 (diff)
downloadphorkie-6a82f78dcc381c191dab5c4fe63d12096d596e41.tar.gz
phorkie-6a82f78dcc381c191dab5c4fe63d12096d596e41.zip
do not allow to change profile details, only show them
Diffstat (limited to 'data')
-rw-r--r--data/templates/base.htm2
-rw-r--r--data/templates/user.htm25
2 files changed, 16 insertions, 11 deletions
diff --git a/data/templates/base.htm b/data/templates/base.htm
index 6cfea7f..ed70252 100644
--- a/data/templates/base.htm
+++ b/data/templates/base.htm
@@ -36,7 +36,7 @@
<ul class="nav pull-right">
{% if identity %}
<li>
- <a href="/user">{{name}} ({{email}})</a>
+ <a href="/user">{{name}}</a>
</li>
<li>
<a href="/login?logout">Logout</a>
diff --git a/data/templates/user.htm b/data/templates/user.htm
index 622e8d9..bc02b01 100644
--- a/data/templates/user.htm
+++ b/data/templates/user.htm
@@ -7,14 +7,19 @@
{% block content %}
-<form method="post" action="/user" id="user_form">
-<fieldset>
- <legend>User Profile</legend>
- <p>Please update your git preferences.</p>
- <p><label>OpenID:</label><code>{{ identity }}</code></p>
- <label for='name'>Name:</label><input class="" id="name" type="text" name="name" width="35" value="{{ name }}"><br/>
- <label for='email'>Email:</label><input class="" id="email" type="text" name="email" width="35" value="{{ email }}"><br/>
- <input class="btn" id="submit" type="submit" value="Update">
-</fieldset>
-</form>
+<h3>User Profile</h3>
+<dl>
+ <dt>OpenID</dt>
+ <dd><code>{{ identity }}</code>
+
+ <dt>Name</dt>
+ <dd><code>{{ name }}</code></dd>
+
+ <dt>Email</dt>
+ <dd><code>{{ email }}</code></dd>
+</dl>
+
+<p>
+ You may change this data with your OpenID provider.
+</p>
{% endblock %}