Category:Developers: Difference between revisions
Jump to navigation
Jump to search
| Line 129: | Line 129: | ||
} | } | ||
=== Add | === Add icons to descriptive texts (responsive booking page only)=== | ||
[https://getbootstrap.com/docs/3.3/components/#glyphicons Bootstrap glyphicons] and [http://fontawesome.io/icons/ Font Awesome icons] can be added to the descriptive fields. To add icons the editor needs to be set to "Source" | [https://getbootstrap.com/docs/3.3/components/#glyphicons Bootstrap glyphicons] and [http://fontawesome.io/icons/ Font Awesome icons] can be added to the descriptive fields. To add icons the editor needs to be set to "Source" | ||
Examples: | |||
<nowiki><span class="glyphicon glyphicon-user" aria-hidden="true"></span> | <nowiki><span class="glyphicon glyphicon-user" aria-hidden="true"></span> | ||
</nowiki> | </nowiki> | ||
will add | will add a Bootstap icon for a person. | ||
<nowiki><i class="fa fa-bicycle" aria-hidden="true"></i> | |||
</nowiki> | |||
will add a Font Awesomeicon for a bicycle. | |||
Note: Icons might disappear when the editor is opened again. In this case you will need to enter it again. | |||
== Javascript == | == Javascript == | ||