backend todo styling update

This commit is contained in:
messerbill 2014-06-03 15:47:50 +02:00
parent 036133293f
commit beaaf02efc

View File

@ -9,7 +9,7 @@ class saimod_sys_todo extends \SYSTEM\SAI\SaiModule {
} else { } else {
$res = $con->query('SELECT * FROM system_todo LEFT JOIN system_user ON system_todo.author = system_user.ID ORDER BY state, time DESC;'); $res = $con->query('SELECT * FROM system_todo LEFT JOIN system_user ON system_todo.author = system_user.ID ORDER BY state, time DESC;');
} }
$result = '<div id="table-wrapper"><table class="table table-hover table-condensed sai_table" style="overflow: auto;">'. $result = '<h4>ToDo</h4><hr><div id="table-wrapper"><table class="table table-hover table-condensed sai_table" style="overflow: auto;">'.
'<tr>'.'<th>'.'Time ago'.'</th>'.'<th>'.'Time'.'</th>'.'<th>'.'Reporttype'.'</th>'.'<th>'.'Message'.'</th>'.'<th>'.'Author'.'</th>'.'<th>'.'Volunteers'.'</th>'.'<th>'.'State'.'</th>'.'<th>'.'Action'.'</th>'.'</tr>'; '<tr>'.'<th>'.'Time ago'.'</th>'.'<th>'.'Time'.'</th>'.'<th>'.'Reporttype'.'</th>'.'<th>'.'Message'.'</th>'.'<th>'.'Author'.'</th>'.'<th>'.'Volunteers'.'</th>'.'<th>'.'State'.'</th>'.'<th>'.'Action'.'</th>'.'</tr>';
while($row = $res->next()){ while($row = $res->next()){
$result .= '<tr class="'.self::trclassbytype($row['type']).'">'. $result .= '<tr class="'.self::trclassbytype($row['type']).'">'.