Added custom styles to monthly timesheet

FEA: ItEr76S28UserDashboard
This commit is contained in:
Lorenzo Tilve Álvaro 2012-05-24 20:01:29 +02:00
parent 1a5c39e421
commit b34988d651
3 changed files with 14 additions and 2 deletions

View file

@ -537,7 +537,13 @@ public class MonthlyTimesheetController extends GenericForwardComposer
}
private void createProjectAndTaskColumns() {
columns.appendChild(new Column(_("Project")));
Column project = new Column(_("Project"));
project.setWidth("200px");
columns.appendChild(project);
Column tasks = new Column(_("Tasks"));
project.setStyle("min-width:300px");
columns.appendChild(project);
columns.appendChild(new Column(_("Task")));
}

View file

@ -0,0 +1,5 @@
.timesheet .z-textbox {
background-image: none;
background-color: transparent;
border: solid 1px transparent;
}

View file

@ -25,6 +25,7 @@
<?link rel="shortcut icon" href="/common/img/favicon.ico" type="image/x-icon"?>
<?link rel="stylesheet" type="text/css" href="/common/css/libreplan.css"?>
<?link rel="stylesheet" type="text/css" href="/common/css/libreplan_zk.css"?>
<?link rel="stylesheet" type="text/css" href="/common/css/user_dashboard.css"?>
<zk>
<window apply="org.libreplan.web.users.dashboard.MonthlyTimesheetController"
@ -106,7 +107,7 @@
<groupbox style="margin-top: 5px" closable="false">
<caption label="${i18n:_('Time tracking')}" />
<grid id="timesheet"
<grid id="timesheet" sclass="timesheet"
model="@{controller.rows}"
rowRenderer="@{controller.rowRenderer}" />
<hbox>