|
|
@ -22,7 +22,8 @@
|
|
|
|
[:title 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"
|
|
|
|
|
|
|
|
"/js/scripts.js")]
|
|
|
|
[:body
|
|
|
|
[:body
|
|
|
|
[:nav.navbar.navbar-expand-lg.sticky-top
|
|
|
|
[:nav.navbar.navbar-expand-lg.sticky-top
|
|
|
|
[:a.navbar-brand {:href (path :public-index)}
|
|
|
|
[:a.navbar-brand {:href (path :public-index)}
|
|
|
@ -68,7 +69,7 @@
|
|
|
|
[[:main.main
|
|
|
|
[[:main.main
|
|
|
|
[:h1 "CoC " (h (:name coc))]
|
|
|
|
[:h1 "CoC " (h (:name coc))]
|
|
|
|
[:div.table-responsive
|
|
|
|
[:div.table-responsive
|
|
|
|
[:table.table
|
|
|
|
[:table.table.no-sort
|
|
|
|
[:thead
|
|
|
|
[:thead
|
|
|
|
[:tr
|
|
|
|
[:tr
|
|
|
|
[:th "Rolle"]
|
|
|
|
[:th "Rolle"]
|
|
|
@ -80,28 +81,31 @@
|
|
|
|
(list
|
|
|
|
(list
|
|
|
|
[:tr
|
|
|
|
[:tr
|
|
|
|
[:td {:rowspan (max 1 (count levels))}
|
|
|
|
[:td {:rowspan (max 1 (count levels))}
|
|
|
|
(h (:name role))]
|
|
|
|
[:a {:href (path :public-role
|
|
|
|
|
|
|
|
{:coc (:key coc)
|
|
|
|
|
|
|
|
:role (:uuid role)})}
|
|
|
|
|
|
|
|
(h (:name role))]]
|
|
|
|
[:td
|
|
|
|
[:td
|
|
|
|
[:a {:href (path :public-role-modules
|
|
|
|
[:a {:href (path :public-level
|
|
|
|
{:coc (:key coc)
|
|
|
|
{:coc (:key coc)
|
|
|
|
:level (:uuid level)})}
|
|
|
|
:level (:uuid level)})}
|
|
|
|
(h (:name level))]]]
|
|
|
|
(h (:name level))]]]
|
|
|
|
(for [level (rest levels)]
|
|
|
|
(for [level (rest levels)]
|
|
|
|
[:tr
|
|
|
|
[:tr
|
|
|
|
[:td [:a {:href (path :public-role-modules
|
|
|
|
[:td [:a {:href (path :public-level
|
|
|
|
{:coc (:key coc)
|
|
|
|
{:coc (:key coc)
|
|
|
|
:level (:uuid level)})}
|
|
|
|
:level (:uuid level)})}
|
|
|
|
(h (:name level))]]])))]]]]
|
|
|
|
(h (:name level))]]])))]]]]
|
|
|
|
(breadcrumb
|
|
|
|
(breadcrumb
|
|
|
|
[:li.breadcrumb-item.active (h (:name coc))])]))
|
|
|
|
[:li.breadcrumb-item.active (h (:name coc))])]))
|
|
|
|
|
|
|
|
|
|
|
|
(defn show-modules [coc level modules-with-comps]
|
|
|
|
(defn show-level [coc level modules-with-comps]
|
|
|
|
(layout
|
|
|
|
(layout
|
|
|
|
(h (:name level))
|
|
|
|
(h (:name level))
|
|
|
|
[[:main.main
|
|
|
|
[[:main.main
|
|
|
|
[:h1 "Erfahrungsstufe " (h (:name level))]
|
|
|
|
[:h1 "Erfahrungsstufe " (h (:name level))]
|
|
|
|
[:div.table-responsive
|
|
|
|
[:div.table-responsive
|
|
|
|
[:table.table
|
|
|
|
[:table.table.no-sort
|
|
|
|
[:thead
|
|
|
|
[:thead
|
|
|
|
[:tr
|
|
|
|
[:tr
|
|
|
|
[:th "Modul"]
|
|
|
|
[:th "Modul"]
|
|
|
@ -124,3 +128,29 @@
|
|
|
|
{:coc (:key coc)})}
|
|
|
|
{:coc (:key coc)})}
|
|
|
|
(h (:name coc))]]
|
|
|
|
(h (:name coc))]]
|
|
|
|
[:li.breadcrumb-item.active (h (:name level))])]))
|
|
|
|
[:li.breadcrumb-item.active (h (:name level))])]))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(defn show-role [coc role modules-and-levels]
|
|
|
|
|
|
|
|
(layout
|
|
|
|
|
|
|
|
(h (:name role))
|
|
|
|
|
|
|
|
[[:main.main
|
|
|
|
|
|
|
|
[:h1 "Rolle " (h (:name role))]
|
|
|
|
|
|
|
|
[:div.table-responsive
|
|
|
|
|
|
|
|
[:table.table
|
|
|
|
|
|
|
|
[:thead
|
|
|
|
|
|
|
|
[:tr
|
|
|
|
|
|
|
|
[:th "Modul"]
|
|
|
|
|
|
|
|
[:th "Qualifikationsstufe"]]]
|
|
|
|
|
|
|
|
[:tbody
|
|
|
|
|
|
|
|
(for [{:keys [module level]} modules-and-levels]
|
|
|
|
|
|
|
|
[:tr
|
|
|
|
|
|
|
|
[:td (h (:name module))]
|
|
|
|
|
|
|
|
[:td
|
|
|
|
|
|
|
|
[:a {:href (path :public-level
|
|
|
|
|
|
|
|
{:coc (:key coc)
|
|
|
|
|
|
|
|
:level (:uuid level)})}
|
|
|
|
|
|
|
|
(h (:name level))]]])]]]]
|
|
|
|
|
|
|
|
(breadcrumb
|
|
|
|
|
|
|
|
[:li.breadcrumb-item
|
|
|
|
|
|
|
|
[:a {:href (path :public-coc {:coc (:key coc)})}
|
|
|
|
|
|
|
|
(h (:name coc))]]
|
|
|
|
|
|
|
|
[:li.breadcrumb-item.active (h (:name role))])]))
|
|
|
|