ItEr39S07DocumentacionFormacionItEr38S18: Graphical fixes detected in work report section
This commit is contained in:
parent
660b0781e4
commit
f562a68e80
4 changed files with 18 additions and 15 deletions
|
|
@ -1203,7 +1203,7 @@ public class WorkReportCRUDController extends GenericForwardComposer implements
|
|||
final DescriptionValue descriptionValue) {
|
||||
Textbox textbox = new Textbox();
|
||||
Integer length = workReportModel.getLength(descriptionValue);
|
||||
textbox.setWidth(length.toString() + "px");
|
||||
textbox.setCols(length);
|
||||
textbox.setParent(row);
|
||||
|
||||
Util.bind(textbox, new Util.Getter<String>() {
|
||||
|
|
|
|||
|
|
@ -389,12 +389,16 @@ div.z-errbox {
|
|||
|
||||
/* ------ Overridden norrmoz.css.dsp styles ------ */
|
||||
.z-label,.z-radio-cnt,.z-checkbox-cnt,.z-slider-pp,input.button,input.file,.z-loading,.z-errbox,
|
||||
div.z-tree-footer-cnt, div.z-tree-cell-cnt, div.z-tree-col-cnt {
|
||||
div.z-tree-footer-cnt, div.z-tree-cell-cnt, div.z-tree-col-cnt, .z-listbox {
|
||||
font-family: Tahoma, Arial, Helvetica, sans-serif;
|
||||
font-size: 11px;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
div.z-row-cnt {
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.z-word-wrap {
|
||||
word-wrap: normal;
|
||||
}
|
||||
|
|
@ -403,8 +407,7 @@ div.z-tree-footer-cnt, div.z-tree-cell-cnt, div.z-tree-col-cnt {
|
|||
word-wrap: normal;
|
||||
}
|
||||
|
||||
.z-window-embedded-tl,.z-window-highlighted-tl,.z-window-overlapped-tl,.z-window-popup-tl
|
||||
{
|
||||
.z-window-embedded-tl,.z-window-highlighted-tl,.z-window-overlapped-tl,.z-window-popup-tl {
|
||||
background: none;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<label class="subtitulo" value="${i18n:_('Name')}:" />
|
||||
<label value="${i18n:_('Name')}:" />
|
||||
<hbox>
|
||||
<textbox visible = "@{controller.editable}"
|
||||
id="name" value="@{controller.workReportType.name}" width="300px"
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label class="subtitulo" value="${i18n:_('Code')}:" />
|
||||
<label value="${i18n:_('Code')}:" />
|
||||
<hbox>
|
||||
<textbox visible = "@{controller.editable}"
|
||||
id="code" value="@{controller.workReportType.code}" width="300px"
|
||||
|
|
@ -57,7 +57,7 @@
|
|||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label class="subtitulo" value="${i18n:_('Data')}:" />
|
||||
<label value="${i18n:_('Date')}:" />
|
||||
<hbox>
|
||||
<listbox visible = "@{controller.editable}"
|
||||
id="listDatePosition" mold="select" rows="1"
|
||||
|
|
@ -68,7 +68,7 @@
|
|||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label class="subtitulo" value="${i18n:_('Resource')}:" />
|
||||
<label value="${i18n:_('Resource')}:" />
|
||||
<hbox>
|
||||
<listbox visible = "@{controller.editable}"
|
||||
id="listResourcePosition" mold="select"
|
||||
|
|
@ -79,7 +79,7 @@
|
|||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label class="subtitulo" value="${i18n:_('Order Element')}:" />
|
||||
<label value="${i18n:_('Order Element')}:" />
|
||||
<hbox>
|
||||
<listbox visible = "@{controller.editable}"
|
||||
id="listOrderElementPosition" mold="select"
|
||||
|
|
@ -90,7 +90,7 @@
|
|||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<label class="subtitulo" value="${i18n:_('Hours Management')}:" />
|
||||
<label value="${i18n:_('Hours Management')}:" />
|
||||
<hbox>
|
||||
<listbox visible = "@{controller.editable}"
|
||||
id="listHoursManagement" mold="select"
|
||||
|
|
@ -105,14 +105,14 @@
|
|||
<separator bar="false" spacing="90px" orient="vertical"/>
|
||||
|
||||
<!-- Description fields -->
|
||||
<panel title="${i18n:_('Descripiton Fields')}" border="normal"
|
||||
<panel title="${i18n:_('Complementary text fields')}" border="normal"
|
||||
style="overflow:auto">
|
||||
<panelchildren>
|
||||
<hbox align="center" visible = "@{controller.editable}">
|
||||
<separator bar="false" spacing="40px" orient="horizontal"/>
|
||||
<separator bar="false" spacing="20px" orient="vertical"/>
|
||||
<button onClick="controller.addNewDescriptionField();"
|
||||
label="${i18n:_('Add New Description Field')}" />
|
||||
label="${i18n:_('Add New Complementary Field')}" />
|
||||
<separator bar="false" spacing="40px" orient="vertical"/>
|
||||
</hbox>
|
||||
<newdatasortablegrid id="listDescriptionFields" mold="paging" pageSize="4" fixedLayout="true"
|
||||
|
|
@ -129,14 +129,14 @@
|
|||
<separator bar="false" spacing="90px" orient="vertical"/>
|
||||
|
||||
<!-- WorkReportLabelTypeAssigments -->
|
||||
<panel title="${i18n:_('Assignment Label Types')}" border="normal"
|
||||
<panel title="${i18n:_('Label Type fields')}" border="normal"
|
||||
style="overflow:auto">
|
||||
<panelchildren>
|
||||
<hbox align="center" visible = "@{controller.editable}">
|
||||
<separator bar="false" spacing="40px" orient="horizontal"/>
|
||||
<separator bar="false" spacing="20px" orient="vertical"/>
|
||||
<button onClick="controller.addNewWorkReportLabelTypeAssigment();"
|
||||
label="${i18n:_('Add New Label Type')}" />
|
||||
label="${i18n:_('Add New Label Type Field')}" />
|
||||
<separator bar="false" spacing="40px" orient="vertical"/>
|
||||
</hbox>
|
||||
<newdatasortablegrid id="listWorkReportLabelTypeAssigments" mold="paging" pageSize="4" fixedLayout="true"
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
apply="org.navalplanner.web.workreports.WorkReportTypeCRUDController">
|
||||
<vbox id="messagesContainer"></vbox>
|
||||
<list top_id="listWindow" />
|
||||
<edition top_id="createWindow" title="${i18n:_('Create')}"
|
||||
<edition top_id="createWindow" title="${i18n:_('Create new Work Report Type')}"
|
||||
save_button_label="${i18n:_('Save')}"
|
||||
saveAndContinue_button_label="${i18n:_('Save & Continue')}"
|
||||
cancel_button_label="${i18n:_('Cancel')}" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue