From 909e4124750d4be558fa9e866e4ad84f6da60a6f Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Thu, 21 Apr 2016 02:14:37 +0200 Subject: [PATCH] style directory page --- css/style.css | 8 ++++++- templates/directory_header.tpl | 43 ++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 templates/directory_header.tpl diff --git a/css/style.css b/css/style.css index 38442741c..9be404f41 100644 --- a/css/style.css +++ b/css/style.css @@ -1578,10 +1578,16 @@ clear: both; color: #777; font-size: 15px; } -#contacts-search-wrapper { +#contacts-search-wrapper, +#directory-search-wrapper{ padding: 10px 0; } +/* directory page */ +#directory-search-headding { + padding-top: 10px; +} + /* * Overwriting for transparency and other colors */ diff --git a/templates/directory_header.tpl b/templates/directory_header.tpl new file mode 100644 index 000000000..1064f11c5 --- /dev/null +++ b/templates/directory_header.tpl @@ -0,0 +1,43 @@ + +{{include file="section_title.tpl"}} + +{{if $gdirpath}} + +{{/if}} + +{{* The search input field to search for contacts *}} +
+ +
+ +
+{{if $findterm}} +

{{$finding}} {{$findterm}}

+
+{{/if}} + +
+ +{{* format each contact with the contact_template.tpl *}} + + +
+ +{{$paginate}}