aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2016-09-01 08:11:44 +0200
committerChristian Weiske <cweiske@cweiske.de>2016-09-01 08:11:44 +0200
commit5b054d1fb39604419150051dd1d99dacbdeb2cba (patch)
treef11e9dc7e50b2d5210103d2b85f3ebcfaa5209a8 /www
parent7aba8a17bae437bfba2cb6c6496f750d014f3636 (diff)
downloadphinde-5b054d1fb39604419150051dd1d99dacbdeb2cba.tar.gz
phinde-5b054d1fb39604419150051dd1d99dacbdeb2cba.zip
Make search result hit template configurable, add chat template
Resolves: #9
Diffstat (limited to 'www')
-rw-r--r--www/css/phinde.css12
-rw-r--r--www/index.php1
2 files changed, 12 insertions, 1 deletions
diff --git a/www/css/phinde.css b/www/css/phinde.css
index a25aa31..eae8dd9 100644
--- a/www/css/phinde.css
+++ b/www/css/phinde.css
@@ -31,4 +31,14 @@
.resultinfo {
margin-top: 1ex;
margin-bottom: 2ex;
-} \ No newline at end of file
+}
+
+.hit-chat .meta {
+ margin-left: 3ex;
+}
+.hit-chat .date {
+ color: inherit;
+}
+.hit-chat .meta {
+ opacity: 0.5;
+}
diff --git a/www/index.php b/www/index.php
index 6bdaf9d..5261156 100644
--- a/www/index.php
+++ b/www/index.php
@@ -163,6 +163,7 @@ render(
'sort' => $sort,
'urlSortRelevance' => $urlSortRelevance,
'urlSortDate' => $urlSortDate,
+ 'hitTemplate' => 'search/' . $GLOBALS['phinde']['hitTemplate'],
)
);
?>