From af9817ff37fdb4837ea8e0e5b76d8125b72495cd Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Wed, 22 Mar 2017 12:19:04 +0100 Subject: [PATCH] Add contactprint.html and messageprint.html templates --- skins/elastic/README | 1 + skins/elastic/includes/footer.html | 2 +- skins/elastic/includes/layout.html | 17 ++++++++++------- skins/elastic/styles/print.less | 0 skins/elastic/templates/contact.html | 5 +---- skins/elastic/templates/contactedit.html | 3 +-- skins/elastic/templates/contactprint.html | 14 ++++++++++++++ skins/elastic/templates/messageprint.html | 11 +++++++++++ 8 files changed, 39 insertions(+), 14 deletions(-) create mode 100644 skins/elastic/styles/print.less create mode 100644 skins/elastic/templates/contactprint.html create mode 100644 skins/elastic/templates/messageprint.html diff --git a/skins/elastic/README b/skins/elastic/README index ac3403ba0..f2726d761 100644 --- a/skins/elastic/README +++ b/skins/elastic/README @@ -40,6 +40,7 @@ using the `lessc` command line tool. This comes with the `nodejs-less` RPM package which depends on nodejs. $ lessc -x styles/styles.less > styles/styles.css + $ lessc -x styles/print.less > styles/print.css (the -x option minifies the CSS code) diff --git a/skins/elastic/includes/footer.html b/skins/elastic/includes/footer.html index ec44b3280..26d46dd3d 100644 --- a/skins/elastic/includes/footer.html +++ b/skins/elastic/includes/footer.html @@ -1,4 +1,4 @@ - + diff --git a/skins/elastic/includes/layout.html b/skins/elastic/includes/layout.html index 0ec592fa6..a6fa040f9 100644 --- a/skins/elastic/includes/layout.html +++ b/skins/elastic/includes/layout.html @@ -1,21 +1,24 @@ + + <roundcube:object name="pagetitle" /> - - + + - + + - + + - -"> +">
-"> +"> diff --git a/skins/elastic/styles/print.less b/skins/elastic/styles/print.less new file mode 100644 index 000000000..e69de29bb diff --git a/skins/elastic/templates/contact.html b/skins/elastic/templates/contact.html index b7fcfeff8..51700cbad 100644 --- a/skins/elastic/templates/contact.html +++ b/skins/elastic/templates/contact.html @@ -6,17 +6,14 @@
:
-
-
- +
-
diff --git a/skins/elastic/templates/contactedit.html b/skins/elastic/templates/contactedit.html index e32f164b4..7b16b189a 100644 --- a/skins/elastic/templates/contactedit.html +++ b/skins/elastic/templates/contactedit.html @@ -25,8 +25,7 @@ -
- +
diff --git a/skins/elastic/templates/contactprint.html b/skins/elastic/templates/contactprint.html new file mode 100644 index 000000000..19e355ce2 --- /dev/null +++ b/skins/elastic/templates/contactprint.html @@ -0,0 +1,14 @@ + + +
+
+
+ +
+ +
+ +
+
+ + diff --git a/skins/elastic/templates/messageprint.html b/skins/elastic/templates/messageprint.html new file mode 100644 index 000000000..08f61cf19 --- /dev/null +++ b/skins/elastic/templates/messageprint.html @@ -0,0 +1,11 @@ + + +
+
+ + + +
+
+ +