[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdepim] kaddressbook/printing/grantlee/themes/full: Add new theme
From: Montel Laurent <montel () kde ! org>
Date: 2014-03-31 20:59:26
Message-ID: E1WUjIk-00042p-SC () scm ! kde ! org
[Download RAW message or body]
Git commit cbbac96cdaa46c698f93285b30bcb3aad680468a by Montel Laurent.
Committed on 31/03/2014 at 20:58.
Pushed by mlaurent into branch 'master'.
Add new theme
A +3 -0 kaddressbook/printing/grantlee/themes/full/theme.desktop
A +71 -0 kaddressbook/printing/grantlee/themes/full/theme.html
http://commits.kde.org/kdepim/cbbac96cdaa46c698f93285b30bcb3aad680468a
diff --git a/kaddressbook/printing/grantlee/themes/full/theme.desktop \
b/kaddressbook/printing/grantlee/themes/full/theme.desktop new file mode 100644
index 0000000..3e968c5
--- /dev/null
+++ b/kaddressbook/printing/grantlee/themes/full/theme.desktop
@@ -0,0 +1,3 @@
+[Desktop Entry]
+Name=Full Information
+Description=Display All Information
diff --git a/kaddressbook/printing/grantlee/themes/full/theme.html \
b/kaddressbook/printing/grantlee/themes/full/theme.html new file mode 100644
index 0000000..73be2b4
--- /dev/null
+++ b/kaddressbook/printing/grantlee/themes/full/theme.html
@@ -0,0 +1,71 @@
+<html>
+<head>
+<style>
+ .whole_page {
+ font-family: arial,sans-serif; font-size: 80%;
+ }
+ .data {
+ vertical-align: top; font-size: 80%;
+ }
+ .last_data {
+ vertical-align: top; padding-bottom: 6px; font-size: 80%;
+ }
+ .data_header {
+ vertical-align: top; text-align: right; color: #a5a5a5; padding-right: 8px; \
font-size: 80%; white-space: nowrap; + }
+ .name {
+ border-top: 1px solid #aaaaaa; font-weight: bold; background-color: #e0e0e0; \
margin-bottom: 4px; padding: 2px; + }
+ .extra_name {
+ padding-left: 2px;
+ }
+ .last_extra_name {
+ padding-left: 2px; margin-bottom: 6px;
+ }
+</style>
+
+</head>
+<body>
+<div class=whole_page>
+{% if contacts %}
+{% for contact in contacts %}
+<div class=name>{{ contact.name }}</div>
+<div class=last_extra_name>{{ contact.realName|safe }}</div>
+
+<table cellpadding=0>
+ {% if contact.emails %}
+ <tr>
+ <td class=data_header>{{ contacti18n.emailsi18n }}</td>
+ <td class=data>{{ contact.emails|safe }}</td>
+ </tr>
+ {% endif %}
+ {% if contact.organization %}
+ <tr>
+ <td class=data_header>{{ contacti18n.organizationi18n }}</td>
+ <td class=last_data>{{ contact.organization }}</td>
+ </tr>
+ {% endif %}
+ {% if contact.webPage %}
+ <tr>
+ <td class=data_header>{{ contacti18n.websitei18n }}</td>
+ <td class=last_data>{{ contact.webPage|safe }}</td>
+ </tr>
+ {% endif %}
+ {% if contact.birthday %}
+ <tr>
+ <td class=data_header>{{ contacti18n.birthdayi18n }}</td>
+ <td class=last_data>{{ contact.birthday }}</td>
+ </tr>
+ {% endif %}
+ {% if contact.note %}
+ <tr>
+ <td class=data_header>{{ contacti18n.notei18n }}</td>
+ <td class=last_data>{{ contact.note }}</td>
+ </tr>
+ {% endif %}
+</table>
+<br>
+{% endfor %}
+{% endif %}
+
+<html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic