Use more Striped Tables

issue #159
main
Felix Favre 10 years ago
parent 82ad127fc9
commit 67bca99571

@ -453,7 +453,7 @@ function view_user_shifts() {
$shifts[$k]['own'] = in_array($shift['SID'], array_keys($ownshifts));
}
$shifts_table = '<table id="shifts" class="table scrollable"><thead><tr><th>-</th>';
$shifts_table = '<table id="shifts" class="table table-striped scrollable"><thead><tr><th>-</th>';
foreach ($myrooms as $key => $room) {
$rid = $room["id"];
if (array_sum($block[$rid]) == 0) {

@ -279,7 +279,7 @@ function table($columns, $rows_raw, $data = true) {
if (count($rows) == 0)
return info(_("No data found."), true);
$html = "";
$html .= '<table class="table ' . ($data ? ' data' : '') . '">';
$html .= '<table class="table table-striped' . ($data ? ' data' : '') . '">';
$html .= '<thead><tr>';
foreach ($columns as $key => $column)
$html .= '<th class="column_' . $key . '">' . $column . '</th>';

Loading…
Cancel
Save