From the panel site

This commit is contained in:
Frank Harris 2025-09-17 21:14:45 -04:00
parent d684ca74fb
commit 2fc04bcfac
1194 changed files with 154606 additions and 13040 deletions

View file

@ -0,0 +1,16 @@
$(document).ready(function()
{
$('p[style^="color:"]').each(function()
{
var thisClass = '';
if($(this).css('color')=='rgb(0, 128, 0)')
{
thisClass = 'success';
}
else
{
thisClass = 'error';
}
$(this).replaceWith('<div class="callout callout-'+thisClass+' mt-2"><p>'+$(this).html()+'</p></div>');
});
});