Browse Source

improved look-and-feel of the profile page (and finally translated it fully to English)

Natenom/support-murmur-13-1446181288462
Michael Ziegler 16 years ago
parent
commit
1c2caae81e
  1. 16
      htdocs/style.css
  2. 11
      template/registration/profile.html

16
htdocs/style.css

@ -13,3 +13,19 @@ form input[type=submit] {
padding: 5px; padding: 5px;
min-width: 150px; min-width: 150px;
} }
div.profile ul {
list-style-type: disc;
padding-left: 20px;
}
h2.profile {
margin-bottom: 10px;
font-size: 16pt;
}
div.profile h4 {
margin-bottom: 8px;
font-size: 12pt;
}

11
template/registration/profile.html

@ -1,11 +1,11 @@
{% extends "index.htm" %} {% extends "index.htm" %}
{% load i18n %} {% load i18n %}
{% block Headline %}Profil{% endblock %}
{% block Headline %}Profile{% endblock %}
{% block Content %} {% block Content %}
<h2>Profil von {{user|capfirst}}</h2>
<div>
<h2 class="profile">Profile of {{user|capfirst}}</h2>
<div class="profile">
<h4>Statistics</h4> <h4>Statistics</h4>
<ul> <ul>
{% if mumbleaccs %} {% if mumbleaccs %}
@ -13,8 +13,7 @@
<ul> <ul>
{% for mm in mumbleaccs %} {% for mm in mumbleaccs %}
<li> <li>
{{ mm.name }} auf <a href="/mumble/{{mm.server.id}}">{{ mm.server.name }}</a><br />
<a href="/mumble/reg/{{mm.server.id}}">Set Password</a>
{{ mm.name }} on Server <a href="/mumble/{{mm.server.id}}">{{ mm.server.name }}</a> (<a href="/mumble/reg/{{mm.server.id}}">Set Password</a>)
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>
@ -22,7 +21,7 @@
{% endif %} {% endif %}
</ul> </ul>
</div> </div>
<div>
<div class="profile">
<h4>Account</h4> <h4>Account</h4>
<ul> <ul>
<li>Full Name: {{ user.first_name }} {{ user.last_name }}</li> <li>Full Name: {{ user.first_name }} {{ user.last_name }}</li>

Loading…
Cancel
Save