From 4910072c29e064ff743ecd8affb7418a735a5e5d Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 28 Oct 2013 02:28:08 +0100 Subject: Better title for sheets (refs #1372) --- ishtar_common/static/media/style.css | 18 ++++++++++++++++-- ishtar_common/templates/ishtar/sheet_person.html | 8 ++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) (limited to 'ishtar_common') 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}} +

{% trans "Person"%}

+{% endblock %} + {% block content %}
{%trans "Export as:"%} {%trans "OpenOffice.org file"%}, {%trans "PDF file"%}
-

{% trans "Person"%}

-

{{item.name}}

{{item.surname}}

{% if item.email %}

{{item.email}}

{% endif %} -- cgit v1.2.3