From 77d6089588909851167bd1ac555e54f17e31342e Mon Sep 17 00:00:00 2001 From: nek0 Date: Sat, 17 Oct 2015 20:03:29 +0200 Subject: [PATCH] refined search and made it globally accessible --- Foundation.hs | 11 +++++++++++ Handler/Search.hs | 18 ++++++++++++------ Helper.hs | 2 +- static/css/style-global.css | 11 +++++++++++ templates/default-layout.hamlet | 2 ++ templates/profile.hamlet | 2 +- templates/result.hamlet | 23 ++++++++++++++--------- 7 files changed, 52 insertions(+), 17 deletions(-) diff --git a/Foundation.hs b/Foundation.hs index a8fd9bb..f592a8d 100755 --- a/Foundation.hs +++ b/Foundation.hs @@ -94,6 +94,17 @@ renderLayout widget = do copyrightWidget <- widgetToPageContent $ $(widgetFile "copyrightFooter") + searchWidget <- widgetToPageContent $ [whamlet| +
+ +
+