Using Font-awesome icon in a Dashboard Jelly script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2024 06:18 AM - edited 05-03-2024 06:20 AM
I'm being told that Service Now has font-awesome, but I can't seem to get the icons to display in some jelly that I've written for a dashboard. Is the typical way of doing this not supported or am I doing something wrong?
Here's a snippet of how I'm trying to display and icon just as a test to make sure it works:
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<style>.mygroups { height:100%;width:100%;padding:10px;} .mygroups tr:nth-child(odd) { background-color:#ececec} .mygroups td { border-width:1px;border-style:solid;border-color:black;padding:10px} </style>
<table class='mygroups'>
<tr><td>Test display of a font-awesome icon:</td><td><i class="fa fa-arrows" aria-hidden="false"></i></td></tr>
</table>
</j:jelly>
I'm expecting to see a table rendered with Test display of a font-awesome icon: and then the arrows icon. I get the text, but no icon.
0 REPLIES 0