diff --git a/frontend/uxbox/ui/dashboard.cljs b/frontend/uxbox/ui/dashboard.cljs index 5bf2d1372a..38f1ae89ef 100644 --- a/frontend/uxbox/ui/dashboard.cljs +++ b/frontend/uxbox/ui/dashboard.cljs @@ -57,7 +57,6 @@ [:main.dashboard-main (header) [:section.dashboard-content - (elements/menu) (ui.library-bar/library-bar) [:section.dashboard-grid.library (elements/page-title) @@ -91,7 +90,6 @@ [:main.dashboard-main (header) [:section.dashboard-content - (icons/menu) (icons/nav) (icons/grid)]])) @@ -123,7 +121,6 @@ [:main.dashboard-main (header) [:section.dashboard-content - (colors/menu) (colors/nav) (colors/grid)]])) diff --git a/frontend/uxbox/ui/dashboard/colors.cljs b/frontend/uxbox/ui/dashboard/colors.cljs index 7dce10e922..7897a41b86 100644 --- a/frontend/uxbox/ui/dashboard/colors.cljs +++ b/frontend/uxbox/ui/dashboard/colors.cljs @@ -33,26 +33,6 @@ (as-> (ul/dep-in [:colors-by-id] [:dashboard :collection-id]) $ (l/focus-atom $ st/state))) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Menu -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -(defn menu-render - [] - (let [pcount 20] - (html - [:section#dashboard-bar.dashboard-bar - [:div.dashboard-info - [:span.dashboard-projects pcount " projects"] - [:span "Sort by"]] - [:div.dashboard-search i/search]]))) - -(def ^:static menu - (util/component - {:render menu-render - :name "colors-menu" - :mixins [rum/reactive]})) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Page Title ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/frontend/uxbox/ui/dashboard/elements.cljs b/frontend/uxbox/ui/dashboard/elements.cljs index ecc29dbcd9..ae68ea3f6e 100644 --- a/frontend/uxbox/ui/dashboard/elements.cljs +++ b/frontend/uxbox/ui/dashboard/elements.cljs @@ -8,28 +8,6 @@ [uxbox.ui.mixins :as mx] [uxbox.ui.util :as util])) -;; (def library-bar ui.library-bar/library-bar) - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Menu -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -(defn menu-render - [] - (let [pcount 20] - (html - [:section#dashboard-bar.dashboard-bar - [:div.dashboard-info - [:span.dashboard-projects pcount " projects"] - [:span "Sort by"]] - [:div.dashboard-search i/search]]))) - -(def ^:static menu - (util/component - {:render menu-render - :name "elements-menu" - :mixins [rum/reactive]})) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Page Title ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/frontend/uxbox/ui/dashboard/icons.cljs b/frontend/uxbox/ui/dashboard/icons.cljs index bdd61abea9..2fd0c2b094 100644 --- a/frontend/uxbox/ui/dashboard/icons.cljs +++ b/frontend/uxbox/ui/dashboard/icons.cljs @@ -25,35 +25,6 @@ (as-> (l/in [:dashboard]) $ (l/focus-atom $ st/state))) -;; (def ^:static collections-state -;; (as-> (l/in [:icons-by-id]) $ -;; (l/focus-atom $ st/state))) - -;; (def ^:static collection-state -;; (as-> (ul/dep-in [:icons-by-id] [:dashboard :collection-id]) $ -;; (l/focus-atom $ st/state))) - - -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; Menu -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - -(defn menu-render - [] - (let [pcount 20] - (html - [:section#dashboard-bar.dashboard-bar - [:div.dashboard-info - [:span.dashboard-projects pcount " projects"] - [:span "Sort by"]] - [:div.dashboard-search i/search]]))) - -(def ^:static menu - (util/component - {:render menu-render - :name "icons-menu" - :mixins [rum/reactive]})) - ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Page Title ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;