diff --git a/cat.iml b/cat.iml index a62ddbc..60ebdd1 100644 --- a/cat.iml +++ b/cat.iml @@ -21,6 +21,7 @@ + @@ -50,6 +51,7 @@ + @@ -64,6 +66,7 @@ + @@ -78,10 +81,10 @@ - + - + @@ -129,14 +132,16 @@ + + - - + + @@ -145,12 +150,12 @@ - + - + @@ -174,8 +179,10 @@ + + @@ -208,10 +215,12 @@ - + + + \ No newline at end of file diff --git a/project.clj b/project.clj index ac1df3f..f79775d 100644 --- a/project.clj +++ b/project.clj @@ -4,6 +4,7 @@ ;:url "http://example.com/FIXME" :dependencies [[buddy "2.0.0"] + [com.cemerick/friend "0.2.3"] [cheshire "5.8.1"] [clj-oauth "1.5.5"] [clojure.java-time "0.3.2"] @@ -19,6 +20,7 @@ [markdown-clj "1.0.5"] [metosin/muuntaja "0.6.3"] [metosin/ring-http-response "0.9.1"] + [slingshot "0.12.1"] [mount "0.1.15"] [nrepl "0.5.3"] [org.clojure/clojure "1.10.0"] diff --git a/resources/html/error.html b/resources/html/error.html index 31dd41d..ac877c5 100644 --- a/resources/html/error.html +++ b/resources/html/error.html @@ -4,7 +4,7 @@ Something bad happened - {% style "/assets/bootstrap/css/bootstrap.min.css" %} + {% style "/assets/bulma/css/bulma.css" %} -
-
-
-
-
-

Error: {{status}}

-
- {% if title %} -

{{title}}

- {% endif %} - {% if message %} -

{{message}}

- {% endif %} -
-
+
+
+
+

Error: {{status}}

+
+ {% if title %} +

{{title}}

+ {% endif %} + {% if message %} +

{{message}}

+ {% endif %} +
diff --git a/resources/html/home.html b/resources/html/home.html index ba9e2d2..9643e97 100644 --- a/resources/html/home.html +++ b/resources/html/home.html @@ -26,7 +26,7 @@