Use Twitter Bootstrap
This commit is contained in:
parent
ea0439af6c
commit
247050e96f
10 changed files with 9594 additions and 6 deletions
1109
public/css/bootstrap-responsive.css
vendored
Normal file
1109
public/css/bootstrap-responsive.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
9
public/css/bootstrap-responsive.min.css
vendored
Normal file
9
public/css/bootstrap-responsive.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
6167
public/css/bootstrap.css
vendored
Normal file
6167
public/css/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
9
public/css/bootstrap.min.css
vendored
Normal file
9
public/css/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
BIN
public/img/glyphicons-halflings-white.png
Normal file
BIN
public/img/glyphicons-halflings-white.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.6 KiB |
BIN
public/img/glyphicons-halflings.png
Normal file
BIN
public/img/glyphicons-halflings.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
2280
public/js/bootstrap.js
vendored
Normal file
2280
public/js/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
6
public/js/bootstrap.min.js
vendored
Normal file
6
public/js/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@
|
||||||
[compojure.route :as route]
|
[compojure.route :as route]
|
||||||
[hiccup
|
[hiccup
|
||||||
[page :refer [html5]]
|
[page :refer [html5]]
|
||||||
[page :refer [include-js]]]))
|
[page :refer [include-js include-css]]]))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -22,11 +22,19 @@
|
||||||
:body "Long polling?"}))))
|
:body "Long polling?"}))))
|
||||||
(defn index-page []
|
(defn index-page []
|
||||||
(html5
|
(html5
|
||||||
[:head
|
[:head
|
||||||
[:title "Hello World"]
|
[:title "Grub"]
|
||||||
(include-js "/js/main.js")]
|
[:meta {:name "viewport" :content "width=device-width, initial-scale=1.0"}]
|
||||||
|
(include-css "/css/bootstrap.css")
|
||||||
|
(include-css "/css/bootstrap-responsive.css")]
|
||||||
[:body
|
[:body
|
||||||
[:h3 "Grub"]]))
|
[:div.container
|
||||||
|
[:div.row-fluid
|
||||||
|
[:div.span8.offset2
|
||||||
|
[:h3 "Grub"]]]]
|
||||||
|
(include-js "http://code.jquery.com/jquery.js")
|
||||||
|
(include-js "/js/bootstrap.js")
|
||||||
|
(include-js "/js/main.js")]))
|
||||||
|
|
||||||
(defroutes routes
|
(defroutes routes
|
||||||
(GET "/ws" [] async-handler)
|
(GET "/ws" [] async-handler)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
(ns grub-client.core)
|
(ns grub-client.core)
|
||||||
|
|
||||||
(js/alert "Hello from ClojureScript!")
|
(.log js/console "ClojureScript running")
|
||||||
|
|
Loading…
Reference in a new issue