Add dialogheader classes to timesheet edit popup template

This commit is contained in:
Hadi Nategh 2014-03-11 13:13:50 +00:00
parent 7c94180662
commit e694fa2029
2 changed files with 13 additions and 6 deletions

View File

@ -4,6 +4,13 @@
* @version: $Id$ * @version: $Id$
*/ */
// Header classes
tr.dialogHeader td, tr.dialogHeader2 td, tr.dialogHeader3 td, tr.dialogHeader4 td,
tr.dialogOperators td,.dialogFooterToolbar {
padding: 5px 0 5px 0;
vertical-align: middle;
}
.timesheet_titleSum,.timesheet_titleDetails { font-weight: bold; } .timesheet_titleSum,.timesheet_titleDetails { font-weight: bold; }
div#timesheet-edit.et2_container div#timesheet-edit.et2_container

View File

@ -96,21 +96,21 @@
<column width="4"/> <column width="4"/>
</columns> </columns>
<rows> <rows>
<row disabled="@ts_viewtype"> <row class="dialogHeader" disabled="@ts_viewtype">
<description value="Title" for="ts_title"/> <description value="Title" for="ts_title"/>
<textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="80" class="et2_fullWidth" tabindex="1" span="3"/> <textbox blur="@ts_title_blur" id="ts_title" size="65" maxlength="80" class="et2_fullWidth" tabindex="1" span="3"/>
<appicon src="timesheet"/> <appicon src="timesheet"/>
<textbox type="integer" id="ts_id" readonly="true" class="timesheet_timesheetId"/> <textbox type="integer" id="ts_id" readonly="true" class="timesheet_timesheetId"/>
<description /> <description />
</row> </row>
<row> <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 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" span="3"/>
<description/> <description/>
</row> </row>
<row class="row"> <row class="dialogHeader2">
<description value="Duration" for="ts_duration"/> <description value="Duration" for="ts_duration"/>
<date-duration id="ts_duration" options=",hm" class="et2_fullWidth noWrap" /> <date-duration id="ts_duration" options=",hm" class="et2_fullWidth noWrap" />
<description value="or endtime" class="noWrap"/> <description value="or endtime" class="noWrap"/>
@ -136,7 +136,7 @@
</tabpanels> </tabpanels>
</tabbox> </tabbox>
</row> </row>
<row> <row class="dialogOperators">
<description value="User" for="ts_owner"/> <description value="User" for="ts_owner"/>
<menulist > <menulist >
<menupopup id="ts_owner" no_lang="1" class="et2_fullWidth"/> <menupopup id="ts_owner" no_lang="1" class="et2_fullWidth"/>
@ -147,7 +147,7 @@
</menulist> </menulist>
<description/> <description/>
</row> </row>
<row disabled="!@ts_modified"> <row class="dialogOperators" disabled="!@ts_modified">
<description value="Last modified"/> <description value="Last modified"/>
<hbox width="100%" class="timesheet_modifier"> <hbox width="100%" class="timesheet_modifier">
<menulist> <menulist>
@ -157,7 +157,7 @@
</hbox> </hbox>
<description span="all"/> <description span="all"/>
</row> </row>
<row> <row class="dialogFooterToolbar">
<hbox orient="0" span="all"> <hbox orient="0" span="all">
<hbox> <hbox>
<button statustext="Edit this entry" label="Edit" id="button[edit]" image="edit" background_image="1"/> <button statustext="Edit this entry" label="Edit" id="button[edit]" image="edit" background_image="1"/>