Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
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>
|
||||
<%= csrf_meta_tags %>
|
||||
|
||||
<%- unless customization_disabled? %>
|
||||
<%= raw theme_lookup("head_tag") %>
|
||||
<%- end %>
|
||||
|
||||
<%= server_plugin_outlet "custom_wizard" %>
|
||||
|
||||
<meta name="discourse_theme_key" content="<%= theme_key %>">
|
||||
|
@ -32,6 +36,10 @@
|
|||
<body class='custom-wizard'>
|
||||
<div id='custom-wizard-main'></div>
|
||||
|
||||
<%- unless customization_disabled? %>
|
||||
<%= raw theme_lookup("body_tag") %>
|
||||
<%- end %>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
var wizard = require('discourse/plugins/discourse-custom-wizard/wizard/custom-wizard').default.create();
|
||||
|
|
Laden …
In neuem Issue referenzieren