2017-09-25 22:47:40 +08:00
|
|
|
<html>
|
|
|
|
<head>
|
2021-02-08 13:07:21 +11:00
|
|
|
<%= discourse_color_scheme_stylesheets %>
|
2021-03-13 02:57:18 -05:00
|
|
|
|
2018-07-16 14:28:24 +10:00
|
|
|
<%= discourse_stylesheet_link_tag :wizard, theme_id: nil %>
|
2020-08-19 13:14:28 +10:00
|
|
|
<%= discourse_stylesheet_link_tag :wizard_custom %>
|
2021-06-27 16:58:26 +05:30
|
|
|
<%- if wizard_theme_id.present? %>
|
|
|
|
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme), theme_id: wizard_theme_id %>
|
2017-12-17 11:43:18 +08:00
|
|
|
<%- end %>
|
2021-03-13 02:57:18 -05:00
|
|
|
|
2020-05-15 09:31:39 +10:00
|
|
|
<%= preload_script "locales/#{I18n.locale}" %>
|
2017-09-25 22:47:40 +08:00
|
|
|
<%= preload_script "ember_jquery" %>
|
|
|
|
<%= preload_script "wizard-vendor" %>
|
|
|
|
<%= preload_script "wizard-custom" %>
|
2022-03-16 12:33:34 +01:00
|
|
|
<%= preload_script "wizard-raw-templates" %>
|
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" %>
|
2019-08-27 14:49:29 +10:00
|
|
|
<script src="<%= ExtraLocalesController.url("wizard") %>"></script>
|
2017-09-25 22:47:40 +08:00
|
|
|
<%= csrf_meta_tags %>
|
|
|
|
|
2018-06-14 10:00:50 +10:00
|
|
|
<%- unless customization_disabled? %>
|
2021-03-30 13:04:52 +05:30
|
|
|
<%= wizard_theme_translations_lookup %>
|
2021-03-19 01:14:57 +05:30
|
|
|
<%= raw wizard_theme_lookup("head_tag") %>
|
2018-06-14 10:00:50 +10:00
|
|
|
<%- end %>
|
|
|
|
|
2017-10-09 13:52:09 +08:00
|
|
|
<%= server_plugin_outlet "custom_wizard" %>
|
|
|
|
|
2020-10-01 11:13:29 +05:30
|
|
|
<%= tag.meta id: 'data-discourse-setup', data: client_side_setup_data %>
|
|
|
|
|
2021-06-27 16:58:26 +05:30
|
|
|
<meta name="discourse_theme_id" content="<%= wizard_theme_id %>">
|
2021-03-13 02:57:18 -05:00
|
|
|
<meta name="discourse-base-uri" content="<%= Discourse.base_path %>">
|
2017-09-25 22:47:40 +08:00
|
|
|
|
|
|
|
<%= 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'>
|
2021-01-14 16:41:08 +11:00
|
|
|
<%- unless customization_disabled? %>
|
2021-03-19 01:14:57 +05:30
|
|
|
<%= raw wizard_theme_lookup("header") %>
|
2021-01-14 16:41:08 +11:00
|
|
|
<%- end %>
|
2021-03-13 02:57:18 -05:00
|
|
|
|
2017-09-29 19:27:03 +08:00
|
|
|
<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? %>
|
2021-03-19 01:14:57 +05:30
|
|
|
<%= raw wizard_theme_lookup("body_tag") %>
|
2018-06-14 10:00:50 +10:00
|
|
|
<%- end %>
|
|
|
|
|
2019-10-08 16:46:13 +11:00
|
|
|
<%- if current_user %>
|
|
|
|
<%= preload_script 'wizard-custom-start' %>
|
|
|
|
<%- else %>
|
|
|
|
<%= preload_script 'wizard-custom-guest' %>
|
|
|
|
<%- end %>
|
2019-02-20 17:27:17 +11:00
|
|
|
|
|
|
|
<div id="svg-sprites" style="display:none;">
|
|
|
|
<div class="fontawesome">
|
|
|
|
<%= raw SvgSprite.bundle %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-03-16 12:33:34 +01:00
|
|
|
|
|
|
|
<div class="hidden" id="data-preloaded-wizard" data-preloaded-wizard="<%= preloaded_json %>"></div>
|
2017-09-25 22:47:40 +08:00
|
|
|
</body>
|
|
|
|
</html>
|