Timesheet: Redistribute space in Admin -> Timesheet -> Edit status template

This commit is contained in:
nathan 2022-11-28 10:22:28 -07:00
parent a3f37c075e
commit 861d830ca9

View File

@ -5,21 +5,12 @@
<template id="timesheet.editstatus" template="" lang="" group="0" version="1.7.004"> <template id="timesheet.editstatus" template="" lang="" group="0" version="1.7.004">
<grid width="100%" height="450" overflow="auto"> <grid width="100%" height="450" overflow="auto">
<columns> <columns>
<column width="100"/> <column width="100%"/>
<column/>
<column/>
<column width="30%"/>
</columns> </columns>
<rows> <rows>
<row disabled="!@msg">
<description id="msg" span="all" class="redItalic" align="center"/>
<description/>
<description/>
<description/>
</row>
<row> <row>
<groupbox rows="1" cols="1"> <groupbox rows="1" cols="1">
<grid width="100%" height="300" overflow="auto"> <grid width="100%" overflow="auto">
<columns> <columns>
<column width="100"/> <column width="100"/>
<column/> <column/>
@ -29,7 +20,7 @@
<rows> <rows>
<row class="row" valign="top"> <row class="row" valign="top">
<description value="Status"/> <description value="Status"/>
<grid width="100%" height="280" overflow="auto" id="statis"> <grid width="100%" overflow="auto" id="statis">
<columns> <columns>
<column/> <column/>
<column/> <column/>
@ -47,12 +38,16 @@
</row> </row>
<row class="row"> <row class="row">
<description id="${row}[id]"/> <description id="${row}[id]"/>
<textbox size="80" maxlength="150" blur="--&gt; enter new name" id="${row}[name]"/> <textbox size="80" maxlength="150" blur="--&gt; enter new name"
id="${row}[name]"/>
<menulist> <menulist>
<menupopup id="${row}[parent]" options="Select one ..."/> <menupopup id="${row}[parent]" options="Select one ..."/>
</menulist> </menulist>
<checkbox id="${row}[admin]" statustext="Only admin can edit this status"/> <checkbox id="${row}[admin]"
<button image="delete" label="Delete" align="center" id="delete[$row_cont[id]]" statustext="Delete this status" onclick="et2_dialog.confirm(widget,'Delete this status','Delete')"/> statustext="Only admin can edit this status"/>
<button image="delete" label="Delete" align="center"
id="delete[$row_cont[id]]" statustext="Delete this status"
onclick="et2_dialog.confirm(widget,'Delete this status','Delete')"/>
</row> </row>
</rows> </rows>
</grid> </grid>
@ -60,20 +55,13 @@
</rows> </rows>
</grid> </grid>
</groupbox> </groupbox>
<description/>
<description/>
<description/>
</row> </row>
<row> </rows>
<hbox span="2"> </grid>
<hbox class="dialogFooterToolbar">
<button label="Save" id="button[save]"/> <button label="Save" id="button[save]"/>
<button id="button[apply]" label="Apply"/> <button id="button[apply]" label="Apply"/>
<button label="Cancel" id="button[cancel]"/> <button label="Cancel" id="button[cancel]"/>
</hbox> </hbox>
<description/>
<description/>
</row>
</rows>
</grid>
</template> </template>
</overlay> </overlay>