mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-29 18:18:56 +01:00
51f869e57d
- Fix definition list filter - Fix invalid option 'both' in definition list - No longer need separate checkboxes in wizard
129 lines
4.8 KiB
XML
129 lines
4.8 KiB
XML
<?xml version="1.0"?>
|
|
<!-- $Id$ -->
|
|
<overlay>
|
|
<template id="importexport.definition_index.row" template="" lang="" group="0" version="1.9.002">
|
|
<grid width="100%">
|
|
<columns>
|
|
<column width="20px"/>
|
|
<column/>
|
|
<column width="150px"/>
|
|
<column width="150px"/>
|
|
<column width="150px"/>
|
|
<column width="10px"/>
|
|
<column width="10px" disabled="@no_actions"/>
|
|
</columns>
|
|
<rows>
|
|
<row class="th">
|
|
<nextmatch-filterheader id="type" options="importexport" class="lr_padding"/>
|
|
<nextmatch-sortheader label="Name" id="name" class="lr_padding"/>
|
|
<nextmatch-filterheader id="application" options="Application" class="lr_padding"/>
|
|
<nextmatch-accountfilter align="center" id="allowed_users" options="Allowed users,groups" class="lr_padding"/>
|
|
<nextmatch-accountfilter empty_label="Owner" id="owner"/>
|
|
</row>
|
|
<row class="row $row_cont[class]">
|
|
<image src="${row}[type]" no_lang="1" onclick="window.open(egw::link('/index.php','menuaction=importexport.importexport_${row_cont[type]}_ui.{$row_cont[type]}_dialog&appname=${row_cont[application]}&definition=${row_cont[name]}'),'_blank','dependent=yes,width=850,height=440,scrollbars=yes,status=yes'); return false;" class="lr_padding button"/>
|
|
<description id="${row}[name]" no_lang="1" class="lr_padding"/>
|
|
<description id="${row}[application]" class="lr_padding"/>
|
|
<listbox type="select-account" id="${row}[allowed_users]" no_lang="1" readonly="true" rows="5" empty_label='Private' class="lr_padding"/>
|
|
<menulist>
|
|
<menupopup type="select-account" id="${row}[owner]" readonly="true"/>
|
|
</menulist>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<styles>
|
|
.redItalic { color:red; font-style:italic;} td.lr_padding { padding-left: 5px; padding-right: 5px; }
|
|
|
|
.button {
|
|
cursor: pointer;
|
|
}
|
|
</styles>
|
|
</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>
|
|
<box id="owner_popup" class="action_popup prompt">
|
|
<description value="Change owner" class="promptheader"/>
|
|
<vbox class="action_popup-content">
|
|
<description value="Select owner"/>
|
|
<listbox type="select-account" id="owner" options="None,accounts"/>
|
|
<hbox>
|
|
<button id="save_owner" label="Save" onclick="nm_submit_popup(this); return false;"/>
|
|
<buttononly label="Cancel" onclick="nm_hide_popup(this,'owner_popup');"/>
|
|
</hbox>
|
|
</vbox>
|
|
</box>
|
|
<box id="allowed_popup" class="action_popup prompt">
|
|
<vbox>
|
|
<description value="Change allowed users" class="promptheader"/>
|
|
<description value="Select groups"/>
|
|
<checkbox label="%s Just me" id="allowed_private"/>
|
|
<checkbox label="%s All users" id="all_users"/>
|
|
<listbox type="select-account" id="allowed" rows="5" account_type="groups"/>
|
|
<hbox>
|
|
<button id="save_allowed" label="Save" onclick="nm_submit_popup(this); return false;" image="save" background_image="1"/>
|
|
<buttononly label="Cancel" onclick="nm_hide_popup(this,'allowed_popup');" image="cancel" background_image="1"/>
|
|
</hbox>
|
|
</vbox>
|
|
</box>
|
|
</box>
|
|
</row>
|
|
</rows>
|
|
</grid>
|
|
<styles>
|
|
td.lr_padding { padding-left: 5px; padding-right: 5px; }
|
|
|
|
.button {
|
|
cursor: pointer;
|
|
}
|
|
/**
|
|
* Add / remove link or category popup used for actions on multiple entries
|
|
*/
|
|
|
|
.action_popup {
|
|
position: fixed;
|
|
top: 200px;
|
|
left: 450px;
|
|
width: 76ex;
|
|
z-index: 20000;
|
|
display: none;
|
|
border-collapse:collapse;
|
|
border-spacing:0px
|
|
}
|
|
.action_popup-content {
|
|
display:block;
|
|
padding:2ex;
|
|
color:#666666;
|
|
margin: -2px -1px 0px -2px;
|
|
}
|
|
.action_popup > table {
|
|
width: 100%
|
|
}
|
|
.action_popup .promptheader {
|
|
padding: 1ex;
|
|
width: 100%
|
|
}
|
|
|
|
.action_select {
|
|
width: 100%
|
|
}
|
|
</styles>
|
|
</template>
|
|
</overlay> |