Skip to content

Instantly share code, notes, and snippets.

@sgrove
Created August 31, 2015 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgrove/46eb46c2f47f976e0fcd to your computer and use it in GitHub Desktop.
Save sgrove/46eb46c2f47f976e0fcd to your computer and use it in GitHub Desktop.
(def bootstrap-html
(let [header [:head
[:link {:href "/css/vendor/bootstrap/css/bootstrap.min.css" :rel "stylesheet" :type "text/css"}]
[:link {:href "/css/vendor/bootstrap/css/bootstrap-theme.min.css" :rel "stylesheet" :type "text/css"}]
[:link {:href "/css/styles.css" :rel "stylesheet" :type "text/css"}]]]
(h/html [:html
header
[:body
[:div#mana-app
[:input.history {:style "display:none;"}]
[:div.app-instance "Please wait while the app loads..."]
[:div.debugger-container]]
(if is-dev?
[:script {:src "/js/bin-debug/main.js"}]
[:script {:src "/js/bin/main.js"}])]])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment