From 9dfa7a7e2c6fac564a456b11623c04d0b26fbce5 Mon Sep 17 00:00:00 2001 From: Joris Date: Sat, 4 Jun 2016 10:04:05 +0200 Subject: Add search on payments and use inline font awesome from elm --- src/server/Design/Global.hs | 2 ++ src/server/Design/Header.hs | 6 ++---- src/server/Design/LoggedIn/Home.hs | 2 ++ src/server/Design/LoggedIn/Home/Search.hs | 16 ++++++++++++++++ src/server/Model/Message/Key.hs | 1 + src/server/Model/Message/Translations.hs | 5 +++++ src/server/View/Page.hs | 1 - 7 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 src/server/Design/LoggedIn/Home/Search.hs (limited to 'src/server') diff --git a/src/server/Design/Global.hs b/src/server/Design/Global.hs index 12e20b9..900994a 100644 --- a/src/server/Design/Global.hs +++ b/src/server/Design/Global.hs @@ -51,3 +51,5 @@ global = do ul "payment" French -> "paiement" +m l Search = + case l of + English -> "Search" + French -> "Recherche" + m l Payments = case l of English -> "payments" diff --git a/src/server/View/Page.hs b/src/server/View/Page.hs index 17c59c0..5a2e4f8 100644 --- a/src/server/View/Page.hs +++ b/src/server/View/Page.hs @@ -35,7 +35,6 @@ page conf initResult = jsonScript "conf" conf jsonScript "result" initResult link ! rel "stylesheet" ! type_ "text/css" ! href "css/reset.css" - link ! rel "stylesheet" ! href "css/font-awesome-4.5.0/css/font-awesome.min.css" link ! rel "icon" ! type_ "image/png" ! href "images/icon.png" H.style $ toHtml globalDesign body $ do -- cgit v1.2.3