Progress on side panel

This commit is contained in:
BC
2019-01-29 14:06:36 -08:00
parent c365057d3e
commit 327e51658c
7 changed files with 3839 additions and 14 deletions

View File

@@ -3,7 +3,6 @@
[auto-ap.views.utils :refer [dispatch-value-change dispatch-event bind-field horizontal-field]]))
(defn address-field [{:keys [event field subscription]}]
(println "sub" subscription)
[:span
[horizontal-field
nil

View File

@@ -81,7 +81,7 @@
[:a {:class "icon", :href "https://github.com/dansup/bulma-templates"}
[:i {:class "fa fa-github"}]]]]]])
(defn side-bar-layout [{:keys [side-bar main ap bottom]}]
(defn side-bar-layout [{:keys [side-bar main ap bottom right-side-bar]}]
(let [ap @(re-frame/subscribe [::subs/active-page])
client @(re-frame/subscribe [::subs/client])]
[:div
@@ -92,7 +92,11 @@
side-bar]]
[:div {:class "column messages hero is-fullheight", :id "message-feed"}
^{:key (str "active-page-" (:name client))}
[:div.inbox-messages main]]]
[:div.inbox-messages main]]
(when right-side-bar
[:aside.fadeInRight.animated {:class "column aside is-narrow menu hero is-fullheight" :style {:animation-duration "0.75s"}}
[:div.sub-main
right-side-bar]])]
[footer]
bottom
[:div#dz-hidden]]))