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