2017-09-25 16:47:40 +02:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<%= discourse_stylesheet_link_tag :wizard, theme_key: nil %>
|
2017-10-13 15:02:34 +02:00
|
|
|
<%= stylesheet_link_tag "wizard_custom", media: "all", "data-turbolinks-track" => "reload" %>
|
2017-12-03 08:57:54 +01:00
|
|
|
<%= stylesheet_link_tag "wizard_custom_mobile", media: "all", "data-turbolinks-track" => "reload" if mobile_view?%>
|
2017-12-17 04:43:18 +01:00
|
|
|
<%- if theme_key %>
|
|
|
|
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme) %>
|
|
|
|
<%- end %>
|
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}" %>
|
|
|
|
<%= render partial: "common/special_font_face" %>
|
|
|
|
<script src="<%= Discourse.base_uri %>/extra-locales/wizard"></script>
|
|
|
|
<%= csrf_meta_tags %>
|
|
|
|
|
2017-10-09 07:52:09 +02:00
|
|
|
<%= server_plugin_outlet "custom_wizard" %>
|
|
|
|
|
2017-12-17 04:43:18 +01:00
|
|
|
<meta name="discourse_theme_key" content="<%= theme_key %>">
|
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
|
|
|
|
|
|
|
<script>
|
|
|
|
(function() {
|
2017-09-29 13:27:03 +02:00
|
|
|
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();
|
2017-09-25 16:47:40 +02:00
|
|
|
wizard.start();
|
|
|
|
})();
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|