1
0
Fork 0
discourse-custom-wizard-unl.../app/views/layouts/custom_wizard.html.erb

35 Zeilen
1,2 KiB
Text

2017-09-25 16:47:40 +02:00
<html>
<head>
<link href="<%= Discourse.base_uri %>/plugins/discourse-custom-wizard/desktop.css" media="all" rel="stylesheet" data-target="desktop" type="text/css" />
2017-09-25 16:47:40 +02:00
<%= discourse_stylesheet_link_tag :wizard, theme_key: nil %>
2017-10-09 07:52:09 +02:00
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %>
2017-09-25 16:47:40 +02:00
<%= preload_script "ember_jquery" %>
<%= preload_script "wizard-vendor" %>
<%= preload_script "wizard-application" %>
<%= preload_script "wizard-custom" %>
2017-10-09 07:52:09 +02:00
<%= preload_script "wizard-plugin" %>
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-09-25 16:47:40 +02:00
<meta name="discourse-base-uri" content="<%= Discourse.base_uri %>">
<%= render partial: "layouts/head" %>
<title><%= t 'custom_wizard.title' %></title>
</head>
<body class='custom-wizard'>
<div id='custom-wizard-main'></div>
2017-09-25 16:47:40 +02:00
<script>
(function() {
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>