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
|
||||
|
||||
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
|
||||
UserHistory.actions[:custom_wizard_step] = 1000
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
<%- if theme_ids %>
|
||||
<%= discourse_stylesheet_link_tag (mobile_view? ? :mobile_theme : :desktop_theme) %>
|
||||
<%- end %>
|
||||
|
||||
<%= preload_script "ember_jquery" %>
|
||||
<%= preload_script "wizard-vendor" %>
|
||||
<%= preload_script "wizard-application" %>
|
||||
|
@ -41,5 +42,11 @@
|
|||
|
||||
<%= preload_script 'wizard-custom-start' %>
|
||||
<%= preload_script 'wizard-raw-templates' %>
|
||||
|
||||
<div id="svg-sprites" style="display:none;">
|
||||
<div class="fontawesome">
|
||||
<%= raw SvgSprite.bundle %>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Laden …
In neuem Issue referenzieren