An alert message can be added to the EUM Portal Home page to notify users of various things, for example an upcoming EUM maintenance.
Please follow the below steps to add an alert.
- Login to EUM Config site as an Admin. If you do not know where the site is, please refer the related FAQ: Finding the EUM Config SharePoint site
- Under Publisher, click Pages
- Click index.cshtml
- Add the below snippet in proper place within the file
- Replace the line "An example warning alert with an icon" with an appropriate message
- Click Save
<!-- Alert Start -->
<div class="alert alert-warning alert-dismissible fade show d-flex align-items-center m-0" role="alert">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-exclamation-triangle flex-shrink-0 me-2" viewBox="0 0 16 16">
<path d="M7.938 2.016A.13.13 0 0 1 8.002 2a.13.13 0 0 1 .063.016.146.146 0 0 1 .054.057l6.857 11.667c.036.06.035.124.002.183a.163.163 0 0 1-.054.06.116.116 0 0 1-.066.017H1.146a.115.115 0 0 1-.066-.017.163.163 0 0 1-.054-.06.176.176 0 0 1 .002-.183L7.884 2.073a.147.147 0 0 1 .054-.057zm1.044-.45a1.13 1.13 0 0 0-1.96 0L.165 13.233c-.457.778.091 1.767.98 1.767h13.713c.889 0 1.438-.99.98-1.767L8.982 1.566z" />
<path d="M7.002 12a1 1 0 1 1 2 0 1 1 0 0 1-2 0zM7.1 5.995a.905.905 0 1 1 1.8 0l-.35 3.507a.552.552 0 0 1-1.1 0L7.1 5.995z" />
</svg>
<div>
An example warning alert with an icon
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
</div>
<!-- Alert End -->
After the EUM Publisher runs, the Alert will be displayed in the location it was added. The EUM Publisher runs every 15 minutes.
Comments
0 comments
Please sign in to leave a comment.