Add head and body tags to wizard html
Dieser Commit ist enthalten in:
Ursprung
bdc699d43f
Commit
4830766649
1 geänderte Dateien mit 8 neuen und 0 gelöschten Zeilen
|
@ -20,6 +20,10 @@
|
||||||
<script src="<%= Discourse.base_uri %>/extra-locales/wizard"></script>
|
<script src="<%= Discourse.base_uri %>/extra-locales/wizard"></script>
|
||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
|
|
||||||
|
<%- unless customization_disabled? %>
|
||||||
|
<%= raw theme_lookup("head_tag") %>
|
||||||
|
<%- end %>
|
||||||
|
|
||||||
<%= server_plugin_outlet "custom_wizard" %>
|
<%= server_plugin_outlet "custom_wizard" %>
|
||||||
|
|
||||||
<meta name="discourse_theme_key" content="<%= theme_key %>">
|
<meta name="discourse_theme_key" content="<%= theme_key %>">
|
||||||
|
@ -32,6 +36,10 @@
|
||||||
<body class='custom-wizard'>
|
<body class='custom-wizard'>
|
||||||
<div id='custom-wizard-main'></div>
|
<div id='custom-wizard-main'></div>
|
||||||
|
|
||||||
|
<%- unless customization_disabled? %>
|
||||||
|
<%= raw theme_lookup("body_tag") %>
|
||||||
|
<%- end %>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
(function() {
|
(function() {
|
||||||
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();
|
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();
|
||||||
|
|
Laden …
In neuem Issue referenzieren