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

@ -3,77 +3,65 @@
<!-- $Id$ --> <!-- $Id$ -->
<overlay> <overlay>
<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/> </columns>
<column/> <rows>
<column width="30%"/> <row>
</columns> <groupbox rows="1" cols="1">
<rows> <grid width="100%" overflow="auto">
<row disabled="!@msg"> <columns>
<description id="msg" span="all" class="redItalic" align="center"/> <column width="100"/>
<description/> <column/>
<description/> <column/>
<description/> <column width="30%"/>
</row> </columns>
<row> <rows>
<groupbox rows="1" cols="1"> <row class="row" valign="top">
<grid width="100%" height="300" overflow="auto"> <description value="Status"/>
<columns> <grid width="100%" overflow="auto" id="statis">
<column width="100"/> <columns>
<column/> <column/>
<column/> <column/>
<column width="30%"/> <column/>
</columns> <column/>
<rows> <column width="5%"/>
<row class="row" valign="top"> </columns>
<description value="Status"/> <rows>
<grid width="100%" height="280" overflow="auto" id="statis"> <row class="th">
<columns> <description value="ID"/>
<column/> <description value="Name"/>
<column/> <description value="Parent"/>
<column/> <description value="Only Admin"/>
<column/> <description value="Actions"/>
<column width="5%"/> </row>
</columns> <row class="row">
<rows> <description id="${row}[id]"/>
<row class="th"> <textbox size="80" maxlength="150" blur="--&gt; enter new name"
<description value="ID"/> id="${row}[name]"/>
<description value="Name"/> <menulist>
<description value="Parent"/> <menupopup id="${row}[parent]" options="Select one ..."/>
<description value="Only Admin"/> </menulist>
<description value="Actions"/> <checkbox id="${row}[admin]"
</row> statustext="Only admin can edit this status"/>
<row class="row"> <button image="delete" label="Delete" align="center"
<description id="${row}[id]"/> id="delete[$row_cont[id]]" statustext="Delete this status"
<textbox size="80" maxlength="150" blur="--&gt; enter new name" id="${row}[name]"/> onclick="et2_dialog.confirm(widget,'Delete this status','Delete')"/>
<menulist> </row>
<menupopup id="${row}[parent]" options="Select one ..."/> </rows>
</menulist> </grid>
<checkbox id="${row}[admin]" statustext="Only admin can edit this status"/> </row>
<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')"/> </rows>
</row> </grid>
</rows> </groupbox>
</grid> </row>
</row> </rows>
</rows> </grid>
</grid> <hbox class="dialogFooterToolbar">
</groupbox> <button label="Save" id="button[save]"/>
<description/> <button id="button[apply]" label="Apply"/>
<description/> <button label="Cancel" id="button[cancel]"/>
<description/> </hbox>
</row> </template>
<row>
<hbox span="2">
<button label="Save" id="button[save]"/>
<button id="button[apply]" label="Apply"/>
<button label="Cancel" id="button[cancel]"/>
</hbox>
<description/>
<description/>
</row>
</rows>
</grid>
</template>
</overlay> </overlay>