ItEr26S13AltaEtiquetasTipoEtiqueta: Added Label tab to OrderElement form

Label tab layout done
This commit is contained in:
Diego Pino Garcia 2009-10-01 18:12:27 +02:00 committed by Javier Moran Rua
parent 2588a73d8a
commit e04ea5d8c7
2 changed files with 62 additions and 0 deletions

View file

@ -20,12 +20,14 @@
<?component name="listOrderElementHours" inline="true" macroURI="_listOrderElementHours.zul"?>
<?component name="listOrderElementAdvances" inline="true" macroURI="_listOrderElementAdvances.zul"?>
<?component name="listOrderElementLabels" inline="true" macroURI="_listOrderElementLabels.zul"?>
<window visible="false" id="${arg.top_id}" title="${i18n:_('Edit order element')}" width="800px" left="100px" top="100px">
<tabbox>
<tabs>
<tab label="${i18n:_('Details')}"></tab>
<tab label="${i18n:_('Assigned hours')}"></tab>
<tab label="${i18n:_('Advances')}"></tab>
<tab label="${i18n:_('Labels')}"></tab>
</tabs>
<tabpanels>
<tabpanel>
@ -127,6 +129,9 @@
<tabpanel>
<listOrderElementAdvances/>
</tabpanel>
<tabpanel>
<listOrderElementLabels/>
</tabpanel>
</tabpanels>
</tabbox>
</window>

View file

@ -0,0 +1,57 @@
<vbox id="listOrderElementLabels">
<!-- Indirect labels -->
<vbox>
<label value="${i18n:_('Indirect labels')}" />
<grid>
<columns>
<column label="${i18n:_('Label type')}" />
<column label="${i18n:_('Value')}" />
</columns>
<rows>
<row>
<label value=""/>
<label value=""/>
</row>
</rows>
</grid>
</vbox>
<!-- Direct labels -->
<vbox>
<label value="${i18n:_('Direct labels')}" />
<grid>
<columns>
<column label="${i18n:_('Label type')}" />
<column label="${i18n:_('Value')}" />
<column label="${i18n:_('Operations')}" />
</columns>
<rows>
<row>
<label value=""/>
<label value=""/>
<button label="${i18n:_('Delete')}" />
</row>
</rows>
</grid>
</vbox>
<!-- Assign label -->
<vbox>
<label value="${i18n:_('Assign label')}" />
<hbox>
<combobox>
<comboitem label="Test" />
</combobox>
<button style="margin-top: -4px" label="${i18n:_('Assign')}"/>
</hbox>
</vbox>
<!-- Create and assign label -->
<vbox>
<label value="${i18n:_('Create and assign label')}" />
</vbox>
<hbox>
<combobox>
<comboitem label="Test" />
</combobox>
<textbox />
<button style="margin-top: -4px" label="${i18n:_('Create &amp; Assign')}" />
</hbox>
</vbox>