Styling dialogs W.I.P.:

- Fix alignments in timesheet edit dialog
- Fix date duration widget width
This commit is contained in:
Hadi Nategh 2016-04-11 12:31:18 +00:00
parent 3f58359a41
commit b35753ba79
2 changed files with 13 additions and 17 deletions

View File

@ -444,7 +444,7 @@ span.et2_date span {
font-size: 9pt; font-size: 9pt;
} }
span.et2_date_duration input.et2_date_duration{ span.et2_date_duration input.et2_date_duration{
width: 5em; width: 25%;
} }
/* customize calendar layout */ /* customize calendar layout */
.ui-datepicker .ui-datepicker-header .ui-datepicker-title { .ui-datepicker .ui-datepicker-header .ui-datepicker-title {

View File

@ -5,13 +5,13 @@
<template id="timesheet.edit.general" template="" lang="" group="0" version="1.7.002"> <template id="timesheet.edit.general" template="" lang="" group="0" version="1.7.002">
<grid width="100%" > <grid width="100%" >
<columns> <columns>
<column width="72"/> <column width="92"/>
<column width="192"/> <column width="185"/>
<column width="30"/> <column width="30"/>
<column width="95" disabled="@ts_viewtype"/> <column width="92" disabled="@ts_viewtype"/>
<column width="130" disabled="@ts_viewtype"/> <column width="105" disabled="@ts_viewtype"/>
<column width="40"/>
<column width="30"/> <column width="30"/>
<column width="50"/>
</columns> </columns>
<rows> <rows>
<row> <row>
@ -88,14 +88,13 @@
<template id="timesheet.edit" template="" lang="" group="0" version="1.9.002"> <template id="timesheet.edit" template="" lang="" group="0" version="1.9.002">
<grid width="100%"> <grid width="100%">
<columns> <columns>
<column width="78"/> <column width="100"/>
<column width="200"/> <column width="185"/>
<column width="30"/> <column width="30"/>
<column width="97"/> <column width="100"/>
<column width="120"/> <column width="105"/>
<column width="40"/>
<column width="30"/> <column width="30"/>
<column width="4"/> <column width="50"/>
</columns> </columns>
<rows> <rows>
<row disabled="@ts_viewtype" class="dialogHeader"> <row disabled="@ts_viewtype" class="dialogHeader">
@ -103,23 +102,20 @@
<textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="255" class="et2_fullWidth et2_required" tabindex="1" span="4"/> <textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="255" class="et2_fullWidth et2_required" tabindex="1" span="4"/>
<textbox type="integer" id="ts_id" readonly="true"/> <textbox type="integer" id="ts_id" readonly="true"/>
<appicon src="timesheet"/> <appicon src="timesheet"/>
<description/>
</row> </row>
<row class="dialogHeader2"> <row class="dialogHeader2">
<description value="Date" for="ts_start"/> <description value="Date" for="ts_start"/>
<date id="ts_start" needed="1" options=",8" class="et2_fullWidth"/> <date id="ts_start" needed="1" options=",8" class="et2_fullWidth"/>
<description/> <description/>
<description value="Starttime"/> <description value="Starttime"/>
<date-timeonly id="start_time" options="H:i" class="et2_fullWidth" span="3"/> <date-timeonly id="start_time" options="H:i" class="et2_fullWidth"/>
<description/>
</row> </row>
<row class="row dialogHeader3"> <row class="row dialogHeader3">
<description value="Duration" for="ts_duration"/> <description value="Duration" for="ts_duration"/>
<date-duration id="ts_duration" options=",hm" class="et2_fullWidth" /> <date-duration id="ts_duration" options=",hm" class="et2_fullWidth" />
<description/> <description/>
<description value="or endtime" class="et2_noWrap"/> <description value="or endtime" class="et2_noWrap"/>
<date-timeonly id="end_time" options="H:i" class="et2_fullWidth" span="3"/> <date-timeonly id="end_time" options="H:i" class="et2_fullWidth"/>
<description/>
</row> </row>
<row> <row>
<tabbox id="tabs" class="et2_nowrap" width="100%" span="all" tab_height="165"> <tabbox id="tabs" class="et2_nowrap" width="100%" span="all" tab_height="165">