parent
82ad127fc9
commit
67bca99571
|
@ -453,7 +453,7 @@ function view_user_shifts() {
|
||||||
$shifts[$k]['own'] = in_array($shift['SID'], array_keys($ownshifts));
|
$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) {
|
foreach ($myrooms as $key => $room) {
|
||||||
$rid = $room["id"];
|
$rid = $room["id"];
|
||||||
if (array_sum($block[$rid]) == 0) {
|
if (array_sum($block[$rid]) == 0) {
|
||||||
|
|
|
@ -279,7 +279,7 @@ function table($columns, $rows_raw, $data = true) {
|
||||||
if (count($rows) == 0)
|
if (count($rows) == 0)
|
||||||
return info(_("No data found."), true);
|
return info(_("No data found."), true);
|
||||||
$html = "";
|
$html = "";
|
||||||
$html .= '<table class="table ' . ($data ? ' data' : '') . '">';
|
$html .= '<table class="table table-striped' . ($data ? ' data' : '') . '">';
|
||||||
$html .= '<thead><tr>';
|
$html .= '<thead><tr>';
|
||||||
foreach ($columns as $key => $column)
|
foreach ($columns as $key => $column)
|
||||||
$html .= '<th class="column_' . $key . '">' . $column . '</th>';
|
$html .= '<th class="column_' . $key . '">' . $column . '</th>';
|
||||||
|
|
Loading…
Reference in New Issue