cartodb-4.42/app/views/layouts/application.html.erb

39 lines
1.1 KiB
Plaintext
Raw Normal View History

2024-04-06 13:25:13 +08:00
<!DOCTYPE html>
2024-04-07 15:34:49 +08:00
<html lang="zh-CN">
2024-04-06 13:25:13 +08:00
<head>
<meta charset='utf-8' />
2024-04-07 15:34:49 +08:00
<title><%= yield :page_title -%>快点</title>
2024-04-06 13:25:13 +08:00
<%= favicon_link_tag "favicons/favicon.ico" %>
<%= stylesheet_link_tag 'common_new.css', :media => 'all' %>
<%= yield :css -%>
<%= csrf_meta_tag -%>
<%= insert_google_tag_manager('primary') %>
</head>
<body>
<%= insert_google_tag_manager_no_script('primary') %>
<% if ( ( controller_name != "visualizations" && controller_name != "tables" ) || action_name != "show" ) %>
<% unless ( controller_name == 'users') %>
<%= render 'admin/shared/new_private_header' %>
<% end %>
<% else %>
<%= render 'admin/shared/vis_header' %>
<% end %>
<%= yield %>
<% if ( ( controller_name == "visualizations" || controller_name == "tables" ) && action_name == "show" ) %>
<%= render 'shared/olark' -%>
<% end %>
<%= insert_trackjs() -%>
<%= yield :js -%>
<% unless ( controller_name == 'users' ) %>
<%= javascript_include_tag 'header', 'footer' %>
<% end %>
<%= render 'admin/shared/intercom' %>
</body>
</html>