X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/88a1f19a4593e960d7f15225d446f6dcada26dbc..d3b45bbcfa1a91751660a384939938f419f7a045:/week.php diff --git a/week.php b/week.php index bc1e4717..1b014d2b 100644 --- a/week.php +++ b/week.php @@ -148,7 +148,7 @@ class TimeCellRenderer extends DefaultCellRenderer { if ($lockedDays[$column-1]) $field->setEnabled(false); $field->setFormName($table->getFormName()); - $field->setSize(2); + $field->setStyle('width: 60px;'); // TODO: need to style everything properly, eventually. $field->setValue($table->getValueAt($row,$column)['duration']); // Disable control when time entry mode is TYPE_START_FINISH and there is no value in control // because we can't supply start and finish times in week view - there are no fields for them. @@ -179,7 +179,7 @@ if ($user->canManageTeam()) { } // Create week_durations table. -$table = new Table('week_durations'); +$table = new Table('week_durations', 'week_view_table'); // $table->setIAScript('markModified'); // TODO: write a script to mark table or particular cells as modified. $table->setTableOptions(array('width'=>'100%','cellspacing'=>'1','cellpadding'=>'3','border'=>'0')); $table->setRowOptions(array('class'=>'tableHeaderCentered'));