Use more Striped Tables

issue #159
This commit is contained in:
Felix Favre 2014-12-06 17:15:22 +01:00
parent 82ad127fc9
commit 67bca99571
2 changed files with 127 additions and 127 deletions

View File

@ -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) {

View File

@ -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>';