Remove useless menu from colors, elements and icons.

This commit is contained in:
Andrey Antukh
2016-01-08 01:45:06 +02:00
parent 4b7d18128c
commit 241557f936
4 changed files with 0 additions and 74 deletions
-3
View File
@@ -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)]]))
-20
View File
@@ -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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-22
View File
@@ -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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-29
View File
@@ -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
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;