mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +01:00
better alignment of custom-fields edit popup
This commit is contained in:
parent
dcece87c9c
commit
11e4b2e356
@ -591,7 +591,7 @@ class admin_customfields
|
|||||||
'default' => true,
|
'default' => true,
|
||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
'url' => 'menuaction='.$edit.'&cf_id=$id&use_private='.$this->use_private,
|
'url' => 'menuaction='.$edit.'&cf_id=$id&use_private='.$this->use_private,
|
||||||
'popup' => '500x380',
|
'popup' => '600x600',
|
||||||
'group' => $group=1,
|
'group' => $group=1,
|
||||||
'disableClass' => 'th',
|
'disableClass' => 'th',
|
||||||
),
|
),
|
||||||
@ -599,13 +599,13 @@ class admin_customfields
|
|||||||
'caption' => 'Copy',
|
'caption' => 'Copy',
|
||||||
'allowOnMultiple' => false,
|
'allowOnMultiple' => false,
|
||||||
'url' => 'menuaction='.$edit.'&cf_id=$id&use_private='.$this->use_private.'&action=copy',
|
'url' => 'menuaction='.$edit.'&cf_id=$id&use_private='.$this->use_private.'&action=copy',
|
||||||
'popup' => '500x380',
|
'popup' => '600x600',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
),
|
),
|
||||||
'add' => array(
|
'add' => array(
|
||||||
'caption' => 'Add',
|
'caption' => 'Add',
|
||||||
'url' => 'menuaction='.$edit.'&appname='.$this->appname.'&use_private='.$this->use_private,
|
'url' => 'menuaction='.$edit.'&appname='.$this->appname.'&use_private='.$this->use_private,
|
||||||
'popup' => '500x380',
|
'popup' => '600x600',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
),
|
),
|
||||||
'delete' => array(
|
'delete' => array(
|
||||||
|
@ -5,15 +5,14 @@
|
|||||||
<grid width="100%">
|
<grid width="100%">
|
||||||
<columns>
|
<columns>
|
||||||
<column width="100"/>
|
<column width="100"/>
|
||||||
<column width="350"/>
|
<column width="250"/>
|
||||||
<column width="45"/>
|
<column/>
|
||||||
<column width="50"/>
|
<column/>
|
||||||
</columns>
|
</columns>
|
||||||
<rows>
|
<rows>
|
||||||
<row disabled="@no_types">
|
<row disabled="@no_types">
|
||||||
<et2-description value="Type"></et2-description>
|
<et2-description value="Type"></et2-description>
|
||||||
<et2-select span="3" id="cf_type2" rows="5" multiple="1" noLang="1"></et2-select>
|
<et2-select span="3" id="cf_type2" rows="5" multiple="1" noLang="1"></et2-select>
|
||||||
<et2-description></et2-description>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<et2-description value="Label"></et2-description>
|
<et2-description value="Label"></et2-description>
|
||||||
@ -22,10 +21,7 @@
|
|||||||
<row>
|
<row>
|
||||||
<et2-description value="Type of field"></et2-description>
|
<et2-description value="Type of field"></et2-description>
|
||||||
<customfields-types statustext="Type of customfield" id="cf_type" class="et2_fullWidth" span="2" onchange="app.admin.cf_type_change"/>
|
<customfields-types statustext="Type of customfield" id="cf_type" class="et2_fullWidth" span="2" onchange="app.admin.cf_type_change"/>
|
||||||
<et2-hbox span="2">
|
<et2-checkbox id="cf_needed" label="Required" style="padding-left: .5em"></et2-checkbox>
|
||||||
<et2-description value="Required"></et2-description>
|
|
||||||
<et2-checkbox id="cf_needed"></et2-checkbox>
|
|
||||||
</et2-hbox>
|
|
||||||
</row>
|
</row>
|
||||||
<row disabled="!@use_private">
|
<row disabled="!@use_private">
|
||||||
<et2-description value="Private"></et2-description>
|
<et2-description value="Private"></et2-description>
|
||||||
@ -41,19 +37,15 @@
|
|||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<et2-description value="Length"></et2-description>
|
<et2-description value="Length"></et2-description>
|
||||||
<et2-hbox span="all">
|
<et2-number statustext="displayed length of input field (set rows=1 to limit length)" id="cf_len" precision="0"></et2-number>
|
||||||
<et2-number statustext="displayed length of input field (set rows=1 to limit length)" id="cf_len" precision="0"></et2-number>
|
<et2-description value="Rows"></et2-description>
|
||||||
<et2-description value="Rows"></et2-description>
|
<et2-number statustext="number of row for a multiline inputfield or line of a multi-select-box" id="cf_rows" min="0" precision="0" placeholder="1"></et2-number>
|
||||||
<et2-number statustext="number of row for a multiline inputfield or line of a multi-select-box" id="cf_rows" min="0" precision="0" placeholder="1"></et2-number>
|
|
||||||
</et2-hbox>
|
|
||||||
</row>
|
</row>
|
||||||
<row>
|
<row>
|
||||||
<et2-description value="Order"></et2-description>
|
<et2-description value="Order"></et2-description>
|
||||||
<et2-hbox span="all">
|
<et2-number statustext="determines the order the fields are displayed" id="cf_order" min="1" precision="0"></et2-number>
|
||||||
<et2-number statustext="determines the order the fields are displayed" id="cf_order" min="1" precision="0"></et2-number>
|
<et2-description value="Tab"></et2-description>
|
||||||
<et2-description value="Tab"></et2-description>
|
<et2-textbox id="cf_tab" maxlength="64" placeholder="custom fields tab" statustext="Name of tab to create and show field in" style="min-width: 15em"></et2-textbox>
|
||||||
<et2-textbox id="cf_tab" size="32" maxlength="64" placeholder="custom fields tab" statustext="Name of tab to create and show field in"></et2-textbox>
|
|
||||||
</et2-hbox>
|
|
||||||
</row>
|
</row>
|
||||||
</rows>
|
</rows>
|
||||||
</grid>
|
</grid>
|
||||||
|
@ -88,7 +88,7 @@
|
|||||||
</grid>
|
</grid>
|
||||||
</template>
|
</template>
|
||||||
<template id="admin.customfields.add" template="" lang="" group="0" version="1.9.001">
|
<template id="admin.customfields.add" template="" lang="" group="0" version="1.9.001">
|
||||||
<et2-button label="Add" id="add" onclick="egw.open_link('admin.admin_customfields.edit&appname='+widget.getArrayMgr('content').getRoot().getEntry('nm[appname]')+'&use_private='+widget.getArrayMgr('content').getRoot().getEntry('use_private'),false,'450x380');" noSubmit="true"></et2-button>
|
<et2-button label="Add" id="add" onclick="egw.open_link('admin.admin_customfields.edit&appname='+widget.getArrayMgr('content').getRoot().getEntry('nm[appname]')+'&use_private='+widget.getArrayMgr('content').getRoot().getEntry('use_private'),false,'600x600');" noSubmit="true"></et2-button>
|
||||||
</template>
|
</template>
|
||||||
<template id="admin.customfields" template="" lang="" group="0" version="1.9.001">
|
<template id="admin.customfields" template="" lang="" group="0" version="1.9.001">
|
||||||
<template id="@type_template"/>
|
<template id="@type_template"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user