|
|
|
@ -3,13 +3,13 @@
|
|
|
|
|
[hiccup.core :refer [h]]
|
|
|
|
|
[wanijo.infrastructure.routing :refer [path]]))
|
|
|
|
|
|
|
|
|
|
(defn layout [content]
|
|
|
|
|
(defn layout [title content]
|
|
|
|
|
(html5
|
|
|
|
|
[:head
|
|
|
|
|
[:meta {:charset "utf-8"}]
|
|
|
|
|
[:meta {:name "viewport"
|
|
|
|
|
:content "width=device-width,initial-scale=1,shrink-to-fit=no"}]
|
|
|
|
|
[:title "Moxie!"]
|
|
|
|
|
[:title title " - Moxie!"]
|
|
|
|
|
(include-css "/css/bootstrap.min.css"
|
|
|
|
|
"/css/public.css")
|
|
|
|
|
(include-js "/js/bootstrap.min.js")]
|
|
|
|
@ -42,6 +42,7 @@
|
|
|
|
|
|
|
|
|
|
(defn index []
|
|
|
|
|
(layout
|
|
|
|
|
"Index"
|
|
|
|
|
[[:main.main
|
|
|
|
|
[:h1 "Schön, dass du da bist!"]
|
|
|
|
|
[:h2 "Willkommen auf der TRIO-Wissensplattform"]
|
|
|
|
@ -53,6 +54,7 @@
|
|
|
|
|
|
|
|
|
|
(defn show-coc [coc roles-with-levels]
|
|
|
|
|
(layout
|
|
|
|
|
(h (:name coc))
|
|
|
|
|
[[:main.main
|
|
|
|
|
[:h1 "CoC " (h (:name coc))]
|
|
|
|
|
[:div.table-responsive
|
|
|
|
@ -88,6 +90,7 @@
|
|
|
|
|
|
|
|
|
|
(defn show-modules [coc level modules-with-comps]
|
|
|
|
|
(layout
|
|
|
|
|
(h (:name level))
|
|
|
|
|
[[:main.main
|
|
|
|
|
[:h1 "Erfahrungsstufe " (h (:name level))]
|
|
|
|
|
[:div.table-responsive
|
|
|
|
|