lib/views/layout.haml in batsd-dash-0.2.1 vs lib/views/layout.haml in batsd-dash-0.3.0
- old
+ new
@@ -4,26 +4,29 @@
%title Batsd Dash
%meta{"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8"}
%meta{:name => :author, :content => 'http://breakbase.com'}
- %link{:rel => 'stylesheet', :href => '/css/jquery-ui.css', :type => 'text/css'}
- %link{:rel => 'stylesheet', :href => '/css/datetimepicker.css', :type => 'text/css'}
-
%link{:rel => 'stylesheet', :href => '/css/public.css', :type => 'text/css'}
+ -# shitload of deps for a datepicker :( (TODO use d3 only)
+ %link{:rel => 'stylesheet', :href => '/css/jquery-ui.css', :type => 'text/css'}
+ %link{:rel => 'stylesheet', :href => '/css/datetimepicker.css', :type => 'text/css'}
%script{:src => '/js/jquery.js'}
%script{:src => '/js/jquery-ui.js'}
-
%script{:src => '/js/datetimepicker.js'}
- %script{:src => '/js/flot.js'}
- %script{:src => '/js/dash.js'}
+ -# D3 & NV
+ %link{:rel => 'stylesheet', :href => '/css/d3.css', :type => 'text/css'}
+ %script{:src => '/js/d3.js'}
+ %script{:src => '/js/nv.d3.js'}
%body
#header
.wrap
%h1
%a{:href => '/'} Batsd Dash
#content
= yield
+
+ %script{:src => '/js/dash.js'}