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