mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 16:25:17 +08:00
decf1f27cf
* Phase 0 for user-selectable theme components - Drops `key` column from the `themes` table - Drops `theme_key` column from the `user_options` table - Adds `theme_ids` (array of ints default []) column to the `user_options` table and migrates data from `theme_key` to the new column. - Removes the `default_theme_key` site setting and adds `default_theme_id` instead. - Replaces `theme_key` cookie with a new one called `theme_ids` - no longer need Theme.settings_for_client
29 lines
810 B
Plaintext
29 lines
810 B
Plaintext
<html>
|
|
<head>
|
|
<%= discourse_stylesheet_link_tag :wizard, theme_id: nil %>
|
|
<%= preload_script 'ember_jquery' %>
|
|
<%= preload_script 'wizard-vendor' %>
|
|
<%= preload_script 'wizard-application' %>
|
|
<%= preload_script "locales/#{I18n.locale}" %>
|
|
<%= render partial: "common/special_font_face" %>
|
|
<script src="<%= Discourse.base_uri %>/extra-locales/wizard"></script>
|
|
<%= csrf_meta_tags %>
|
|
|
|
<meta name="discourse-base-uri" content="<%= Discourse.base_uri %>">
|
|
|
|
<%= render partial: "layouts/head" %>
|
|
<title><%= t 'wizard.title' %></title>
|
|
</head>
|
|
|
|
<body class='wizard'>
|
|
<div id='wizard-main'></div>
|
|
|
|
<script>
|
|
(function() {
|
|
var wizard = require('wizard/wizard').default.create();
|
|
wizard.start();
|
|
})();
|
|
</script>
|
|
</body>
|
|
</html>
|