Improve interface

This commit is contained in:
Valentin Chemiere 2015-03-05 18:12:06 +01:00
parent 277cd20055
commit dec1aff9f7
2 changed files with 15 additions and 8 deletions

View File

@ -8,13 +8,17 @@
<form string="Location" version="7.0">
<sheet>
<group col="4">
<field name="name" select="1" colspan="4"/>
<div class="oe_title" style="width: 390px;" colspan="4">
<label class="oe_edit_only" for="name" string="Location Name"/>
<h1><field name="name" class="oe_inline"/></h1>
</div>
<newline/>
<field name="protocol" colspan="2"/>
<newline/>
<field name="address" colspan="2"/>
<field name="port" colspan="2"/>
<field name="login" colspan="4"/>
<field name="password" password="1" colspan="4"/>
<field name="login" colspan="2"/>
<field name="password" password="1" colspan="2"/>
<separator string="Tasks" colspan="4"/>
<field name="task_ids" colspan="4" nolabel="1">
<tree>
@ -22,7 +26,7 @@
<field name="method"/>
<field name="filename"/>
<field name="filepath"/>
<button name="run" type="object" string="Run"/>
<button name="run" type="object" string="Run" icon="gtk-execute"/>
</tree>
</field>
</group>

View File

@ -8,14 +8,17 @@
<form string="Tasks" version="7.0">
<sheet>
<group col="4">
<field name="name" select="1" colspan="4"/>
<field name="method" colspan="4"/>
<field name="location_id" colspan="4"/>
<div class="oe_title" style="width: 390px;" colspan="4">
<label class="oe_edit_only" for="name" string="Product Name"/>
<h1><field name="name" class="oe_inline"/></h1>
</div>
<field name="method" colspan="2"/>
<field name="location_id" colspan="2"/>
<field name="filename" colspan="4"/>
<field name="filepath" colspan="4"/>
<separator string="Attachments" colspan="4"/>
<field name="attachment_ids" colspan="4" nolabel="1"/>
<button name="run" type="object" string="Run"/>
<button name="run" type="object" string="Run" icon="gtk-execute"/>
</group>
</sheet>
</form>