From b0cb2c72e98206c42bdd25d6077582362a837f55 Mon Sep 17 00:00:00 2001
From: Andrew Kane
Loading...
- + <% end %> <% end %> diff --git a/app/views/blazer/queries/_form.html.erb b/app/views/blazer/queries/_form.html.erb index 5ad024c25..2cfe7cc59 100644 --- a/app/views/blazer/queries/_form.html.erb +++ b/app/views/blazer/queries/_form.html.erb @@ -68,7 +68,7 @@ - +<% end %> diff --git a/app/views/blazer/queries/home.html.erb b/app/views/blazer/queries/home.html.erb index 80795fd37..051894f55 100644 --- a/app/views/blazer/queries/home.html.erb +++ b/app/views/blazer/queries/home.html.erb @@ -56,7 +56,7 @@Loading...
- +<% end %> diff --git a/app/views/blazer/queries/run.html.erb b/app/views/blazer/queries/run.html.erb index 2f433e918..82760be1b 100644 --- a/app/views/blazer/queries/run.html.erb +++ b/app/views/blazer/queries/run.html.erb @@ -75,21 +75,21 @@ <% if @markers.any? %> <% map_id = SecureRandom.hex %> <%= content_tag :div, nil, id: map_id, style: "height: #{@only_chart ? 300 : 500}px;" %> - + <% end %> <% elsif @geojson.any? %> <% map_id = SecureRandom.hex %> <%= content_tag :div, nil, id: map_id, style: "height: #{@only_chart ? 300 : 500}px;" %> - + <% end %> <% elsif chart_type == "line" %> <% chart_data = @columns[1..-1].each_with_index.map{ |k, i| {name: blazer_series_name(k), data: @rows.map{ |r| [r[0], r[i + 1]] }, library: series_library[i]} } %> <%= line_chart chart_data, **chart_options %> diff --git a/app/views/blazer/queries/schema.html.erb b/app/views/blazer/queries/schema.html.erb index be3b2897f..764a85773 100644 --- a/app/views/blazer/queries/schema.html.erb +++ b/app/views/blazer/queries/schema.html.erb @@ -28,7 +28,7 @@ <% end %> - +<% end %> diff --git a/app/views/blazer/queries/show.html.erb b/app/views/blazer/queries/show.html.erb index 560b367e8..5a03b5380 100644 --- a/app/views/blazer/queries/show.html.erb +++ b/app/views/blazer/queries/show.html.erb @@ -46,7 +46,7 @@Loading...
- + <% end %> <% end %> - +<% end %> diff --git a/app/views/blazer/uploads/index.html.erb b/app/views/blazer/uploads/index.html.erb index 18dc1a2b1..96506f808 100644 --- a/app/views/blazer/uploads/index.html.erb +++ b/app/views/blazer/uploads/index.html.erb @@ -45,11 +45,11 @@ - +<% end %> diff --git a/app/views/layouts/blazer/application.html.erb b/app/views/layouts/blazer/application.html.erb index b8a87f70e..93f71cf07 100644 --- a/app/views/layouts/blazer/application.html.erb +++ b/app/views/layouts/blazer/application.html.erb @@ -7,14 +7,14 @@ <%= favicon_link_tag "blazer/favicon.png" %> <% if defined?(Propshaft::Railtie) %> <%= stylesheet_link_tag "blazer/bootstrap-propshaft", "blazer/bootstrap", "blazer/selectize", "blazer/github", "blazer/daterangepicker", "blazer/application" %> - <%= javascript_include_tag "blazer/jquery", "blazer/rails-ujs", "blazer/stupidtable", "blazer/stupidtable-custom-settings", "blazer/jquery.stickytableheaders", "blazer/selectize", "blazer/highlight.min", "blazer/moment", "blazer/moment-timezone-with-data", "blazer/daterangepicker", "blazer/chart.umd", "blazer/chartjs-adapter-date-fns.bundle", "blazer/chartkick", "blazer/mapkick.bundle", "blazer/ace/ace", "blazer/ace/ext-language_tools", "blazer/ace/theme-twilight", "blazer/ace/mode-sql", "blazer/ace/snippets/text", "blazer/ace/snippets/sql", "blazer/Sortable", "blazer/bootstrap", "blazer/vue.global.prod", "blazer/routes", "blazer/queries", "blazer/fuzzysearch", "blazer/application" %> + <%= javascript_include_tag "blazer/jquery", "blazer/rails-ujs", "blazer/stupidtable", "blazer/stupidtable-custom-settings", "blazer/jquery.stickytableheaders", "blazer/selectize", "blazer/highlight.min", "blazer/moment", "blazer/moment-timezone-with-data", "blazer/daterangepicker", "blazer/chart.umd", "blazer/chartjs-adapter-date-fns.bundle", "blazer/chartkick", "blazer/mapkick.bundle", "blazer/ace/ace", "blazer/ace/ext-language_tools", "blazer/ace/theme-twilight", "blazer/ace/mode-sql", "blazer/ace/snippets/text", "blazer/ace/snippets/sql", "blazer/Sortable", "blazer/bootstrap", "blazer/vue.global.prod", "blazer/routes", "blazer/queries", "blazer/fuzzysearch", "blazer/application", nonce: true %> <% else %> <%= stylesheet_link_tag "blazer/application" %> - <%= javascript_include_tag "blazer/application" %> + <%= javascript_include_tag "blazer/application", nonce: true %> <% end %> - + <% end %> <%= csrf_meta_tags %>