mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 02:33:39 +02:00
Move airsonic-ui.views.icon to bulma.icon
This commit is contained in:
parent
d1a4a01b01
commit
99759c919b
7 changed files with 8 additions and 9 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
[airsonic-ui.routes :as routes]
|
[airsonic-ui.routes :as routes]
|
||||||
[airsonic-ui.helpers :as h]
|
[airsonic-ui.helpers :as h]
|
||||||
[airsonic-ui.views.cover :refer [cover]]
|
[airsonic-ui.views.cover :refer [cover]]
|
||||||
[airsonic-ui.views.icon :refer [icon]]))
|
[bulma.icon :refer [icon]]))
|
||||||
|
|
||||||
;; currently playing / coming next / audio controls...
|
;; currently playing / coming next / audio controls...
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,7 @@
|
||||||
(:require [airsonic-ui.helpers :refer [format-duration]]
|
(:require [airsonic-ui.helpers :refer [format-duration]]
|
||||||
[airsonic-ui.routes :as routes :refer [url-for]]
|
[airsonic-ui.routes :as routes :refer [url-for]]
|
||||||
[airsonic-ui.views.cover :refer [cover card]]
|
[airsonic-ui.views.cover :refer [cover card]]
|
||||||
[airsonic-ui.views.icon :refer [icon]]
|
[bulma.icon :refer [icon]]))
|
||||||
[airsonic-ui.views.song :as song]))
|
|
||||||
|
|
||||||
(defn collection-info [{:keys [songCount duration year]}]
|
(defn collection-info [{:keys [songCount duration year]}]
|
||||||
(vec (cond-> [:ul.is-smaller.collection-info
|
(vec (cond-> [:ul.is-smaller.collection-info
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
(:require [re-frame.core :refer [subscribe dispatch]]
|
(:require [re-frame.core :refer [subscribe dispatch]]
|
||||||
[reagent.core :as r]
|
[reagent.core :as r]
|
||||||
["react-sortable-hoc" :refer [SortableHandle]]
|
["react-sortable-hoc" :refer [SortableHandle]]
|
||||||
|
[bulma.icon :refer [icon]]
|
||||||
[airsonic-ui.helpers :as helpers]
|
[airsonic-ui.helpers :as helpers]
|
||||||
[airsonic-ui.views.icon :refer [icon]]
|
|
||||||
[airsonic-ui.components.sortable.views :as sortable]
|
[airsonic-ui.components.sortable.views :as sortable]
|
||||||
[airsonic-ui.routes :as routes]))
|
[airsonic-ui.routes :as routes]))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
[airsonic-ui.routes :as routes :refer [url-for]]
|
[airsonic-ui.routes :as routes :refer [url-for]]
|
||||||
[airsonic-ui.components.podcast.subs :as subs]
|
[airsonic-ui.components.podcast.subs :as subs]
|
||||||
[airsonic-ui.views.cover :refer [cover card]]
|
[airsonic-ui.views.cover :refer [cover card]]
|
||||||
[airsonic-ui.views.icon :refer [icon]]
|
[bulma.icon :refer [icon]]
|
||||||
[airsonic-ui.components.debug.views :refer [debug]]))
|
[airsonic-ui.components.debug.views :refer [debug]]))
|
||||||
|
|
||||||
;; TODO: Implement detail pages for podcasts
|
;; TODO: Implement detail pages for podcasts
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
[airsonic-ui.views.notifications :refer [notification-list]]
|
[airsonic-ui.views.notifications :refer [notification-list]]
|
||||||
[airsonic-ui.views.breadcrumbs :refer [breadcrumbs]]
|
[airsonic-ui.views.breadcrumbs :refer [breadcrumbs]]
|
||||||
[airsonic-ui.views.login :refer [login-form]]
|
[airsonic-ui.views.login :refer [login-form]]
|
||||||
[airsonic-ui.views.icon :refer [icon]]
|
[bulma.icon :refer [icon]]
|
||||||
|
|
||||||
[airsonic-ui.components.about.views :refer [about]]
|
[airsonic-ui.components.about.views :refer [about]]
|
||||||
[airsonic-ui.components.artist.views :as artist]
|
[airsonic-ui.components.artist.views :as artist]
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
(:require [re-frame.core :refer [subscribe]]
|
(:require [re-frame.core :refer [subscribe]]
|
||||||
[airsonic-ui.helpers :refer [muted-dispatch format-duration]]
|
[airsonic-ui.helpers :refer [muted-dispatch format-duration]]
|
||||||
[airsonic-ui.routes :as routes :refer [url-for]]
|
[airsonic-ui.routes :as routes :refer [url-for]]
|
||||||
[airsonic-ui.views.icon :refer [icon]]))
|
[bulma.icon :refer [icon]]))
|
||||||
|
|
||||||
(defn item [songs song idx]
|
(defn item [songs song idx]
|
||||||
(let [artist-id (:artistId song)
|
(let [artist-id (:artistId song)
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
(ns airsonic-ui.views.icon)
|
(ns bulma.icon)
|
||||||
|
|
||||||
(defn icon [glyph & extra]
|
(defn icon [glyph]
|
||||||
[:span.icon [:span.oi {:data-glyph (name glyph)}]])
|
[:span.icon [:span.oi {:data-glyph (name glyph)}]])
|
||||||
Loading…
Add table
Add a link
Reference in a new issue