No changes
This commit is contained in:
parent
8680a02b13
commit
b6b398f5bf
17374 changed files with 2475441 additions and 0 deletions
16
themes/AdminLTE/modules/dsi/admin_dsi.js
Normal file
16
themes/AdminLTE/modules/dsi/admin_dsi.js
Normal 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>');
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue