application.html.erb 914 B

12345678910111213141516171819202122232425262728
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title><%= blazer_title ? blazer_title : "Blazer" %></title>
  5. <meta charset="utf-8" />
  6. <%= stylesheet_link_tag "blazer/application" %>
  7. <%= javascript_include_tag "blazer/application" %>
  8. <%= Gon::Base.render_data %>
  9. <script>
  10. var runQueriesPath = <%= run_queries_path.to_json.html_safe %>;
  11. var cancelQueriesPath = <%= cancel_queries_path.to_json.html_safe %>;
  12. var schemaPath = <%= schema_queries_path.to_json.html_safe %>;
  13. var tablesPath = <%= tables_queries_path.to_json.html_safe %>;
  14. </script>
  15. <% if blazer_maps? %>
  16. <%= stylesheet_link_tag "https://api.mapbox.com/mapbox.js/v2.4.0/mapbox.css" %>
  17. <%= javascript_include_tag "https://api.mapbox.com/mapbox.js/v2.4.0/mapbox.js" %>
  18. <% end %>
  19. <%= csrf_meta_tags %>
  20. </head>
  21. <body>
  22. <div class="container">
  23. <%= yield %>
  24. </div>
  25. </body>
  26. </html>