use specific version (3.3.7) of bootstrap css, since we're using that js
that'll teach me for using a cdn url always pointing to the latest version ...
This commit is contained in:
parent
ee02f06969
commit
f3a39be7b6
|
@ -6,11 +6,20 @@
|
|||
[hiccup.page :refer [include-css include-js]]
|
||||
[hiccup.element :refer [javascript-tag]]
|
||||
[webtools.page :refer [html5 js-env-settings]]
|
||||
[webtools.reagent.page :refer [include-bootstrap-metatags include-bootstrap-css]]
|
||||
[webtools.reagent.page :refer [include-bootstrap-metatags]]
|
||||
[mtgcoll.config :as config])
|
||||
(:use
|
||||
mtgcoll.utils))
|
||||
|
||||
(defn- include-bootstrap-css
|
||||
[& [use-bootstrap-theme?]]
|
||||
(->> ["https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
|
||||
(if use-bootstrap-theme? "https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css")
|
||||
"https://npmcdn.com/react-bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css"
|
||||
"https://npmcdn.com/react-select/dist/react-select.min.css"]
|
||||
(remove nil?)
|
||||
(apply include-css)))
|
||||
|
||||
(defn main-page
|
||||
[request]
|
||||
(html5
|
||||
|
|
Loading…
Reference in a new issue