From 5e750b5259c25fd5d56c65ade5276d35235c054f Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Wed, 28 Mar 2012 11:27:25 +0200 Subject: Add BrowserID login button to universal login box. --- src/mulk/benki/webutil.clj | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/mulk/benki/webutil.clj b/src/mulk/benki/webutil.clj index 7eeb294..a1a0bb5 100644 --- a/src/mulk/benki/webutil.clj +++ b/src/mulk/benki/webutil.clj @@ -40,4 +40,10 @@ (if *user* [:div {:class "logged-in-as"} (:first_name user) " " (:last_name user)] - [:div {:class "not-logged-in"} [:a {:href (link :login)} "Log in"]]))) + [:div {:class "not-logged-in"} + "Browser ID " + [:a#browserid {:href "#"} + [:img {:src (resolve-uri "/3rdparty/browserid/sign_in_orange.png") + :alt "Sign in"}]] + [:div "or:"] + [:a {:href (link :login)} "Sign in normally"]]))) -- cgit v1.2.3