Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
40 Zeilen
1,5 KiB
Text
40 Zeilen
1,5 KiB
Text
<html>
|
|
<head>
|
|
<%= discourse_stylesheet_link_tag :wizard, theme_key: nil %>
|
|
<%= stylesheet_link_tag "wizard_custom", media: "all", "data-turbolinks-track" => "reload" %>
|
|
<%= stylesheet_link_tag "wizard_custom_mobile", media: "all", "data-turbolinks-track" => "reload" if mobile_view?%>
|
|
<%- if theme_key %>
|
|
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme) %>
|
|
<%- end %>
|
|
<%= preload_script "ember_jquery" %>
|
|
<%= preload_script "wizard-vendor" %>
|
|
<%= preload_script "wizard-application" %>
|
|
<%= preload_script "wizard-custom-lib" %>
|
|
<%= preload_script "wizard-custom" %>
|
|
<%= preload_script "wizard-plugin" %>
|
|
<%= preload_script "pretty-text-bundle" %>
|
|
<%= preload_script "locales/#{I18n.locale}" %>
|
|
<%= render partial: "common/special_font_face" %>
|
|
<script src="<%= Discourse.base_uri %>/extra-locales/wizard"></script>
|
|
<%= csrf_meta_tags %>
|
|
|
|
<%= server_plugin_outlet "custom_wizard" %>
|
|
|
|
<meta name="discourse_theme_key" content="<%= theme_key %>">
|
|
<meta name="discourse-base-uri" content="<%= Discourse.base_uri %>">
|
|
|
|
<%= render partial: "layouts/head" %>
|
|
<title><%= wizard_page_title %></title>
|
|
</head>
|
|
|
|
<body class='custom-wizard'>
|
|
<div id='custom-wizard-main'></div>
|
|
|
|
<script>
|
|
(function() {
|
|
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();
|
|
wizard.start();
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|