Updated alerts status box

This commit is contained in:
laf
2015-04-29 01:31:52 +01:00
parent 18373c3373
commit 113636cce9
2 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ var grid = $("#alerts").bootgrid({
url: "/ajax_table.php",
formatters: {
"status": function(column,row) {
return "<span class='label label-"+row.extra+"'>" + row.msg + "</span>";
return "<h4><span class='label label-"+row.extra+" threeqtr-width'>" + row.msg + "</span></h4>";
},
"ack": function(column,row) {
return "<button type='button' class='btn btn-"+row.ack_col+" btn-sm command-ack-alert' data-target='#ack-alert' data-state='"+row.state+"' data-alert_id='"+row.alert_id+"' name='ack-alert' id='ack-alert' data-extra='"+row.extra+"'><span class='glyphicon glyphicon-"+row.ack_ico+"'aria-hidden='true'></span></button>";