mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Wizard: Step 1
This commit is contained in:
25
app/views/wizard/index.html.erb
Normal file
25
app/views/wizard/index.html.erb
Normal file
@@ -0,0 +1,25 @@
|
||||
<html>
|
||||
<head>
|
||||
<%= stylesheet_link_tag 'wizard' %>
|
||||
<%= script 'wizard-vendor' %>
|
||||
<%= script 'ember_jquery' %>
|
||||
<%= script 'wizard-application' %>
|
||||
<%= script "locales/#{I18n.locale}" %>
|
||||
<%= render partial: "common/special_font_face" %>
|
||||
<script src="/extra-locales/wizard"></script>
|
||||
<%= csrf_meta_tags %>
|
||||
|
||||
<title><%= t 'wizard.title' %></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id='wizard-main'></div>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
var wizard = require('wizard/wizard').default.create();
|
||||
wizard.start();
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,6 +7,7 @@
|
||||
<%= javascript_include_tag "qunit" %>
|
||||
<%= javascript_include_tag "wizard/test/test_helper" %>
|
||||
<%= csrf_meta_tags %>
|
||||
<script src="/extra-locales/wizard"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="qunit"></div>
|
||||
@@ -1,21 +0,0 @@
|
||||
<html>
|
||||
<head>
|
||||
<%= stylesheet_link_tag 'wizard' %>
|
||||
<%= javascript_include_tag 'wizard-vendor' %>
|
||||
<%= javascript_include_tag 'ember_jquery' %>
|
||||
<%= javascript_include_tag 'wizard-application' %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id='wizard-main'>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
require('wizard/wizard').default.create();
|
||||
})();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user