%meta{ :charset => "utf-8" }/ %meta(name="viewport" content="width=device-width, initial-scale=1.0") %link{:rel => "icon", :type => "image/gif", :href => "/favicon.gif"}/ %title= $title // Semantic-ui - record_css '/plugins/semantic-ui/dist/semantic.min.css' - record_css '/plugins/jquery-ui/css/custom-theme/jquery-ui-1.8.14.custom.css' -# record_css '/stylesheets/layout' -# record_css '/stylesheets/responsive' -# record_css '/stylesheets/text' -# record_css '/stylesheets/cards' -# record_css '/stylesheets/elements' -# record_css '/stylesheets/menu' -# record_css '/stylesheets/color' - record_css '/stylesheets/app' = serve_css // Third party frameworks - record_js '/plugins/mithril/js/mithril.js' - record_js "/plugins/requirejs/js/require.js" - record_js '/js/defer' = serve_js - %w(jquery-2.1.1 jquery.cookie jquery.form).each do |jquery_file| - record_js File.join('/plugins/jquery/js/', jquery_file) - record_js '/plugins/jquery-ui/js/jquery-ui-1.8.14.custom.min.js' - record_js '/plugins/jquery.tablesorter/jquery.tablesorter.min.js' - record_js '/plugins/jquery.scrollTo/jquery.scrollTo' - record_js '/plugins/semantic-ui/dist/semantic.min.js' - record_js '/plugins/FileSaver/js/FileSaver.js' - %w(helpers _md5 _ajax_replace _ellipsis).each do |file| - record_js "/js-find/#{ file }" - %w(dom_update workflow fragment menu favourites page_type modal reveal actions table list map hide).each do |file| - record_js "/js-find/rbbt/#{ file }" - record_js "/js-find/app"