Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-15 06:12:54 +01:00
62 Zeilen
2 KiB
Text
62 Zeilen
2 KiB
Text
<html>
|
|
<head>
|
|
<%= discourse_color_scheme_stylesheets %>
|
|
|
|
<%= discourse_stylesheet_link_tag :wizard, theme_id: nil %>
|
|
<%= discourse_stylesheet_link_tag :wizard_custom %>
|
|
<%- if wizard_theme_id.present? %>
|
|
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme), theme_id: wizard_theme_id %>
|
|
<%- end %>
|
|
|
|
<%= preload_script "locales/#{I18n.locale}" %>
|
|
<%= preload_script "ember_jquery" %>
|
|
<%= preload_script "wizard-vendor" %>
|
|
<%= preload_script "wizard-custom" %>
|
|
<%= preload_script "wizard-raw-templates" %>
|
|
<%= preload_script "wizard-plugin" %>
|
|
<%= preload_script "pretty-text-bundle" %>
|
|
<%= preload_script_url ExtraLocalesController.url("wizard") %>
|
|
<%= csrf_meta_tags %>
|
|
|
|
<%- unless customization_disabled? %>
|
|
<%= wizard_theme_translations_lookup %>
|
|
<%= raw wizard_theme_lookup("head_tag") %>
|
|
<%- end %>
|
|
|
|
<%= server_plugin_outlet "custom_wizard" %>
|
|
|
|
<%= tag.meta id: 'data-discourse-setup', data: client_side_setup_data %>
|
|
|
|
<meta name="discourse_theme_id" content="<%= wizard_theme_id %>">
|
|
<meta name="discourse-base-uri" content="<%= Discourse.base_path %>">
|
|
|
|
<%= render partial: "layouts/head" %>
|
|
<title><%= wizard_page_title %></title>
|
|
</head>
|
|
|
|
<body class='custom-wizard wizard'>
|
|
<%- unless customization_disabled? %>
|
|
<%= raw wizard_theme_lookup("header") %>
|
|
<%- end %>
|
|
|
|
<div id='custom-wizard-main'></div>
|
|
|
|
<%- unless customization_disabled? %>
|
|
<%= raw wizard_theme_lookup("body_tag") %>
|
|
<%- end %>
|
|
|
|
<%- if current_user %>
|
|
<%= preload_script 'wizard-custom-start' %>
|
|
<%- else %>
|
|
<%= preload_script 'wizard-custom-guest' %>
|
|
<%- end %>
|
|
|
|
<div id="svg-sprites" style="display:none;">
|
|
<div class="fontawesome">
|
|
<%= raw SvgSprite.bundle %>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="hidden" id="data-preloaded-wizard" data-preloaded-wizard="<%= preloaded_json %>"></div>
|
|
</body>
|
|
</html>
|