mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
fix template to be 16.1-nish: move add button from extra row to left
using egw.open_link instead of window.open
This commit is contained in:
parent
3de70526d0
commit
9b4da018f0
@ -5,13 +5,12 @@
|
||||
<template id="importexport.definition_index.row" template="" lang="" group="0" version="1.9.002">
|
||||
<grid width="100%">
|
||||
<columns>
|
||||
<column width="20px"/>
|
||||
<column width="50px"/>
|
||||
<column/>
|
||||
<column width="150px"/>
|
||||
<column width="150px"/>
|
||||
<column width="150px"/>
|
||||
<column width="10px"/>
|
||||
<column width="10px" disabled="@no_actions"/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="th">
|
||||
@ -40,26 +39,11 @@
|
||||
}
|
||||
</styles>
|
||||
</template>
|
||||
<template id="importexport.definition_index.add" template="" lang="" group="0" version="1.9.002">
|
||||
<buttononly statustext="Add a new definition" label="Add" id="add" onclick="egw(window).open_link('importexport.importexport_definitions_ui.edit','_blank','500x500'); return false;"/>
|
||||
</template>
|
||||
<template id="importexport.definition_index" template="" lang="" group="0" version="1.9.002">
|
||||
<grid width="100%">
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<buttononly align="right" statustext="Add a new definition" label="Add" id="add" onclick="window.open(egw::link('/index.php','menuaction=importexport.importexport_definitions_ui.edit'),'_blank','dependent=yes,width=500,height=500,status=yes'); return false;"/>
|
||||
</row>
|
||||
<row>
|
||||
<nextmatch id="nm" template="importexport.definition_index.row"/>
|
||||
</row>
|
||||
<row disabled="!@nm[selectcols]=/actions/">
|
||||
<hbox align="right">
|
||||
<buttononly statustext="Select action" label="Select action" id="legacy_actions" onclick="if (!egw_globalObjectManager.getObjectById('importexport.definition_index.row').executeActionImplementation(this, 'popup')) alert(egw::lang('You need to select some entries first!')); return false;;"/>
|
||||
<button statustext="Check all" label="Check all" id="check_all" needed="1" onclick="egw_globalObjectManager.getObjectById('importexport.definition_index.row').toggleAllSelected(); return false;" image="arrow_ltr" class="checkAllArrow"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<box>
|
||||
<nextmatch id="nm" template="importexport.definition_index.row" header_left="importexport.definition_index.add"/>
|
||||
<box id="owner_popup" class="action_popup prompt">
|
||||
<description value="Change owner" class="promptheader"/>
|
||||
<vbox class="action_popup-content">
|
||||
@ -84,10 +68,6 @@
|
||||
</hbox>
|
||||
</vbox>
|
||||
</box>
|
||||
</box>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<styles>
|
||||
td.lr_padding { padding-left: 5px; padding-right: 5px; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user