2017-09-25 16:47:40 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
2018-07-16 06:28:24 +02:00
|
|
|
<%= discourse_stylesheet_link_tag :wizard, theme_id: nil %>
|
2020-04-03 10:49:36 +02:00
|
|
|
<%= stylesheet_link_tag "wizard_autocomplete" %>
|
2019-07-31 05:39:53 +02:00
|
|
|
<%= stylesheet_link_tag "wizard_custom" %>
|
|
|
|
<%= stylesheet_link_tag "wizard_composer" %>
|
|
|
|
<%= stylesheet_link_tag "wizard_variables" %>
|
|
|
|
<%= stylesheet_link_tag "wizard_custom_mobile" %>
|
2020-04-03 10:49:36 +02:00
|
|
|
<%= stylesheet_link_tag "wizard_locations"%>
|
2020-04-02 15:21:19 +02:00
|
|
|
<%= stylesheet_link_tag "wizard_events"%>
|
2018-08-20 01:08:28 +02:00
|
|
|
<%- if theme_ids %>
|
2017-12-17 04:43:18 +01:00
|
|
|
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme) %>
|
|
|
|
<%- end %>
|
2019-02-20 07:27:17 +01:00
|
|
|
|
2017-09-25 16:47:40 +02:00
|
|
|
<%= preload_script "ember_jquery" %>
|
|
|
|
<%= preload_script "wizard-vendor" %>
|
|
|
|
<%= preload_script "wizard-application" %>
|
2017-11-23 10:03:19 +01:00
|
|
|
<%= preload_script "wizard-custom-lib" %>
|
2017-09-25 16:47:40 +02:00
|
|
|
<%= preload_script "wizard-custom" %>
|
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" %>
|
2017-09-25 16:47:40 +02:00
|
|
|
<%= preload_script "locales/#{I18n.locale}" %>
|
2019-08-27 06:49:29 +02:00
|
|
|
<script src="<%= ExtraLocalesController.url("wizard") %>"></script>
|
2017-09-25 16:47:40 +02:00
|
|
|
<%= csrf_meta_tags %>
|
|
|
|
|
2018-06-14 02:00:50 +02:00
|
|
|
<%- unless customization_disabled? %>
|
|
|
|
<%= raw theme_lookup("head_tag") %>
|
|
|
|
<%- end %>
|
|
|
|
|
2017-10-09 07:52:09 +02:00
|
|
|
<%= server_plugin_outlet "custom_wizard" %>
|
|
|
|
|
2018-08-20 01:08:28 +02:00
|
|
|
<meta name="discourse_theme_ids" content="<%= theme_ids&.join(",") %>">
|
2017-09-25 16:47:40 +02:00
|
|
|
<meta name="discourse-base-uri" content="<%= Discourse.base_uri %>">
|
|
|
|
|
|
|
|
<%= 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>
|
|
|
|
|
2017-09-29 13:27:03 +02:00
|
|
|
<body class='custom-wizard'>
|
|
|
|
<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? %>
|
|
|
|
<%= raw theme_lookup("body_tag") %>
|
|
|
|
<%- end %>
|
|
|
|
|
2019-10-08 07:46:13 +02:00
|
|
|
<%- if current_user %>
|
|
|
|
<%= preload_script 'wizard-custom-start' %>
|
|
|
|
<%= preload_script 'wizard-raw-templates' %>
|
|
|
|
<%- 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>
|
2017-09-25 16:47:40 +02:00
|
|
|
</body>
|
|
|
|
</html>
|