2017-09-25 22:47:40 +08:00
|
|
|
<html>
|
|
|
|
<head>
|
2018-07-16 14:28:24 +10:00
|
|
|
<%= discourse_stylesheet_link_tag :wizard, theme_id: nil %>
|
2017-10-13 21:02:34 +08:00
|
|
|
<%= stylesheet_link_tag "wizard_custom", media: "all", "data-turbolinks-track" => "reload" %>
|
2018-02-08 12:30:55 +08:00
|
|
|
<%= stylesheet_link_tag "wizard_composer", media: "all", "data-turbolinks-track" => "reload" %>
|
|
|
|
<%= stylesheet_link_tag "wizard_variables", media: "all", "data-turbolinks-track" => "reload" %>
|
2017-12-03 15:57:54 +08:00
|
|
|
<%= stylesheet_link_tag "wizard_custom_mobile", media: "all", "data-turbolinks-track" => "reload" if mobile_view?%>
|
2018-08-20 09:08:28 +10:00
|
|
|
<%- if theme_ids %>
|
2017-12-17 11:43:18 +08:00
|
|
|
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme) %>
|
|
|
|
<%- end %>
|
2019-02-20 17:27:17 +11:00
|
|
|
|
2017-09-25 22:47:40 +08:00
|
|
|
<%= preload_script "ember_jquery" %>
|
|
|
|
<%= preload_script "wizard-vendor" %>
|
|
|
|
<%= preload_script "wizard-application" %>
|
2017-11-23 17:03:19 +08:00
|
|
|
<%= preload_script "wizard-custom-lib" %>
|
2017-09-25 22:47:40 +08:00
|
|
|
<%= preload_script "wizard-custom" %>
|
2017-10-09 13:52:09 +08:00
|
|
|
<%= preload_script "wizard-plugin" %>
|
2017-11-23 17:03:19 +08:00
|
|
|
<%= preload_script "pretty-text-bundle" %>
|
2017-09-25 22:47:40 +08:00
|
|
|
<%= preload_script "locales/#{I18n.locale}" %>
|
|
|
|
<script src="<%= Discourse.base_uri %>/extra-locales/wizard"></script>
|
|
|
|
<%= csrf_meta_tags %>
|
|
|
|
|
2018-06-14 10:00:50 +10:00
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= raw theme_lookup("head_tag") %>
|
|
|
|
<%- end %>
|
|
|
|
|
2017-10-09 13:52:09 +08:00
|
|
|
<%= server_plugin_outlet "custom_wizard" %>
|
|
|
|
|
2018-08-20 09:08:28 +10:00
|
|
|
<meta name="discourse_theme_ids" content="<%= theme_ids&.join(",") %>">
|
2017-09-25 22:47:40 +08:00
|
|
|
<meta name="discourse-base-uri" content="<%= Discourse.base_uri %>">
|
|
|
|
|
|
|
|
<%= render partial: "layouts/head" %>
|
2017-10-17 15:18:53 +08:00
|
|
|
<title><%= wizard_page_title %></title>
|
2017-09-25 22:47:40 +08:00
|
|
|
</head>
|
|
|
|
|
2017-09-29 19:27:03 +08:00
|
|
|
<body class='custom-wizard'>
|
|
|
|
<div id='custom-wizard-main'></div>
|
2017-09-25 22:47:40 +08:00
|
|
|
|
2018-06-14 10:00:50 +10:00
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= raw theme_lookup("body_tag") %>
|
|
|
|
<%- end %>
|
|
|
|
|
2019-01-18 11:34:52 +11:00
|
|
|
<%= preload_script 'wizard-custom-start' %>
|
2019-02-20 17:27:17 +11:00
|
|
|
<%= preload_script 'wizard-raw-templates' %>
|
|
|
|
|
|
|
|
<div id="svg-sprites" style="display:none;">
|
|
|
|
<div class="fontawesome">
|
|
|
|
<%= raw SvgSprite.bundle %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-09-25 22:47:40 +08:00
|
|
|
</body>
|
|
|
|
</html>
|