From f007e39cfd75aae07653b18a577bad2469f21514 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Tue, 11 Mar 2014 09:59:35 +0000 Subject: [PATCH] Reorder fields in timesheet edit popup window, to make it similar to other popups layout --- timesheet/templates/default/app.css | 41 +++++- timesheet/templates/default/edit.xet | 205 +++++++++++---------------- 2 files changed, 119 insertions(+), 127 deletions(-) diff --git a/timesheet/templates/default/app.css b/timesheet/templates/default/app.css index b9b24219b7..558c83535d 100644 --- a/timesheet/templates/default/app.css +++ b/timesheet/templates/default/app.css @@ -1,5 +1,40 @@ -/* $Id$ */ +/** + * Styles for etemplate2 widgets + * + * @version: $Id$ + */ + .timesheet_titleSum,.timesheet_titleDetails { font-weight: bold; } -div#timesheet-edit.et2_container { - width: 842px; + +div#timesheet-edit.et2_container +{ + width: 688px; } + +//** add # sign behind the ts_id +.timesheet_timesheetId:before span { content:"#"; } + +//** Fit the duration selectbox and input fields together +#timesheet-edit_ts_duration, #timesheet-edit_ts_duration select +{ + width:74%; + white-space: noWrap; +} + +#timesheet-edit_ts_duration input +{ + width:4em !important; +} + +//** make the modifier inline +.timesheet_modifier label +{ + display: inline-block; + float: right; +} + +.timesheet_modifier ul +{ + display: inline-block; + float: left; +} \ No newline at end of file diff --git a/timesheet/templates/default/edit.xet b/timesheet/templates/default/edit.xet index 4e5ea721fc..d084a43ace 100644 --- a/timesheet/templates/default/edit.xet +++ b/timesheet/templates/default/edit.xet @@ -8,15 +8,27 @@ - + + - - - - - - + + + + + + + + + + + + + + + + + @@ -25,178 +37,128 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - - -