summaryrefslogtreecommitdiff
path: root/ishtar_common
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common')
-rw-r--r--ishtar_common/static/media/style.css18
-rw-r--r--ishtar_common/templates/ishtar/sheet_person.html8
2 files changed, 22 insertions, 4 deletions
diff --git a/ishtar_common/static/media/style.css b/ishtar_common/static/media/style.css
index cfc75728b..83e538331 100644
--- a/ishtar_common/static/media/style.css
+++ b/ishtar_common/static/media/style.css
@@ -12,6 +12,10 @@ div.form {
background-color: #EEE;
}
+#window h1{
+ background-color: #922;
+}
+
/* color */
a, a.remove {
color:#D14;
@@ -20,6 +24,10 @@ a.add-button{
color:#61615C;
}
+#window h1{
+ color:#fff;
+}
+
/* borders */
a.add-button, a.remove,
#progress-content,
@@ -548,13 +556,19 @@ table.confirm tr.spacer td:last-child{
#window .body{
position:absolute;
- padding:10px;
+ padding:2px 10px 6px 10px;
overflow:auto;
- top:18px;
+ top:38px;
bottom:10px;
width:740px;
}
+#window h1{
+ text-align:center;
+ font-size:16px;
+ margin-top:0;
+}
+
#window label{
display:inline-table;
font-weight:bold;
diff --git a/ishtar_common/templates/ishtar/sheet_person.html b/ishtar_common/templates/ishtar/sheet_person.html
index 61b87654d..88fe59f41 100644
--- a/ishtar_common/templates/ishtar/sheet_person.html
+++ b/ishtar_common/templates/ishtar/sheet_person.html
@@ -1,10 +1,14 @@
{% extends "ishtar/sheet.html" %}
{% load i18n %}
+
+{% block head_sheet %}
+{{block.super}}
+<h1>{% trans "Person"%}</h1>
+{% endblock %}
+
{% block content %}
<div class='tool'>{%trans "Export as:"%} <a href='{% url show-person item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-person item.pk "pdf" %}'>{%trans "PDF file"%}</a></div>
-<h3>{% trans "Person"%}</h3>
-
<p><label>{% trans "Name" %}</label> <span class='value'>{{item.name}}</span></p>
<p><label>{% trans "Surname" %}</label> <span class='value'>{{item.surname}}</span></p>
{% if item.email %}<p><label>{% trans "Email" %}</label> <span class='value'>{{item.email}}</span></p>{% endif %}