Add svg fontawesome icons
Dieser Commit ist enthalten in:
Ursprung
6aefc5a192
Commit
4316e6c6ce
2 geänderte Dateien mit 13 neuen und 2 gelöschten Zeilen
|
@ -26,7 +26,11 @@ if Rails.env.production?
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
register_svg_icon "calendar-o" if respond_to?(:register_svg_icon)
|
if respond_to?(:register_svg_icon)
|
||||||
|
register_svg_icon "calendar-o"
|
||||||
|
register_svg_icon "chevron-right"
|
||||||
|
register_svg_icon "chevron-left"
|
||||||
|
end
|
||||||
|
|
||||||
after_initialize do
|
after_initialize do
|
||||||
UserHistory.actions[:custom_wizard_step] = 1000
|
UserHistory.actions[:custom_wizard_step] = 1000
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
<%- if theme_ids %>
|
<%- if theme_ids %>
|
||||||
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme) %>
|
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme) %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
<%= preload_script "ember_jquery" %>
|
<%= preload_script "ember_jquery" %>
|
||||||
<%= preload_script "wizard-vendor" %>
|
<%= preload_script "wizard-vendor" %>
|
||||||
<%= preload_script "wizard-application" %>
|
<%= preload_script "wizard-application" %>
|
||||||
|
@ -40,6 +41,12 @@
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
<%= preload_script 'wizard-custom-start' %>
|
<%= preload_script 'wizard-custom-start' %>
|
||||||
<%= preload_script 'wizard-raw-templates' %>
|
<%= preload_script 'wizard-raw-templates' %>
|
||||||
|
|
||||||
|
<div id="svg-sprites" style="display:none;">
|
||||||
|
<div class="fontawesome">
|
||||||
|
<%= raw SvgSprite.bundle %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Laden …
In neuem Issue referenzieren