2015-02-17 10:55:05 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2023-01-04 18:28:10 +01:00
|
|
|
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
|
2011-05-27 12:35:00 +02:00
|
|
|
<overlay>
|
|
|
|
<template id="importexport.definition_index.row" template="" lang="" group="0" version="1.9.002">
|
|
|
|
<grid width="100%">
|
|
|
|
<columns>
|
2016-07-06 08:42:36 +02:00
|
|
|
<column width="50px"/>
|
2011-05-27 12:35:00 +02:00
|
|
|
<column/>
|
2013-11-01 23:04:43 +01:00
|
|
|
<column width="150px"/>
|
|
|
|
<column width="150px"/>
|
|
|
|
<column width="150px"/>
|
|
|
|
<column width="10px"/>
|
2011-05-27 12:35:00 +02:00
|
|
|
</columns>
|
|
|
|
<rows>
|
|
|
|
<row class="th">
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-nextmatch-header-filter id="type" class="lr_padding" emptyLabel="importexport"/>
|
2011-05-27 12:35:00 +02:00
|
|
|
<nextmatch-sortheader label="Name" id="name" class="lr_padding"/>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-nextmatch-header-filter id="application" class="lr_padding" emptyLabel="Application"/>
|
|
|
|
<et2-nextmatch-header-account align="center" id="allowed_users" class="lr_padding" emptyLabel="Allowed users" accountType="groups"/>
|
|
|
|
<et2-nextmatch-header-account id="owner" emptyLabel="Owner"/>
|
2011-05-27 12:35:00 +02:00
|
|
|
</row>
|
2011-10-26 21:54:15 +02:00
|
|
|
<row class="row $row_cont[class]">
|
2023-01-19 21:36:49 +01:00
|
|
|
<et2-image src="${row_cont[type]}" onclick="app.importexport.open_definition"
|
|
|
|
class="lr_padding button" noLang="1"></et2-image>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-description id="${row}[name]" class="lr_padding" noLang="1"></et2-description>
|
|
|
|
<et2-description id="${row}[application]" class="lr_padding"></et2-description>
|
|
|
|
<et2-select-account id="${row}[allowed_users]" readonly="true" rows="5" class="lr_padding" multiple="1" placeholder="Private" noLang="1"></et2-select-account>
|
|
|
|
<et2-select-account id="${row}[owner]" readonly="true"></et2-select-account>
|
2022-10-26 17:57:34 +02:00
|
|
|
</row>
|
2011-05-27 12:35:00 +02:00
|
|
|
</rows>
|
|
|
|
</grid>
|
|
|
|
<styles>
|
|
|
|
.redItalic { color:red; font-style:italic;} td.lr_padding { padding-left: 5px; padding-right: 5px; }
|
|
|
|
|
|
|
|
.button {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
</styles>
|
|
|
|
</template>
|
2016-07-06 08:42:36 +02:00
|
|
|
<template id="importexport.definition_index.add" template="" lang="" group="0" version="1.9.002">
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-button statustext="Add a new definition" label="Add" id="add" onclick="egw(window).open_link('importexport.importexport_definitions_ui.edit','_blank','500x500'); return false;" noSubmit="true"></et2-button>
|
2016-07-06 08:42:36 +02:00
|
|
|
</template>
|
2011-05-27 12:35:00 +02:00
|
|
|
<template id="importexport.definition_index" template="" lang="" group="0" version="1.9.002">
|
2016-07-06 08:42:36 +02:00
|
|
|
<nextmatch id="nm" template="importexport.definition_index.row" header_left="importexport.definition_index.add"/>
|
2023-01-04 18:28:10 +01:00
|
|
|
<et2-box id="owner_popup" class="action_popup prompt">
|
|
|
|
<et2-description value="Change owner" class="promptheader"></et2-description>
|
|
|
|
<et2-vbox class="action_popup-content">
|
|
|
|
<et2-description value="Select owner"></et2-description>
|
|
|
|
<et2-select-account id="owner" emptyLabel="None" accountType="accounts"></et2-select-account>
|
|
|
|
</et2-vbox>
|
|
|
|
<et2-hbox>
|
|
|
|
<et2-button id="save_owner" label="Save" onclick="nm_submit_popup(this); return false;" image="save"></et2-button>
|
|
|
|
<et2-button id="cancel_owner" label="Cancel" onclick="nm_hide_popup(this,'owner_popup');" image="cancel" noSubmit="true"></et2-button>
|
|
|
|
</et2-hbox>
|
|
|
|
</et2-box>
|
|
|
|
<et2-box id="allowed_popup" class="action_popup prompt">
|
|
|
|
<et2-description value="Change allowed users" class="promptheader"></et2-description>
|
|
|
|
<et2-vbox class="action_popup-content">
|
|
|
|
<et2-description value="Select groups"></et2-description>
|
|
|
|
<et2-checkbox label="%s Just me" id="allowed_private"></et2-checkbox>
|
|
|
|
<et2-checkbox label="%s All users" id="all_users"></et2-checkbox>
|
|
|
|
<et2-select-account id="allowed" rows="5" multiple="1" accountType="groups"></et2-select-account>
|
|
|
|
</et2-vbox>
|
|
|
|
<et2-hbox>
|
|
|
|
<et2-button id="save_allowed" label="Save" onclick="nm_submit_popup(this); return false;" image="save"></et2-button>
|
|
|
|
<et2-button id="cancel_allowed" label="Cancel" onclick="nm_hide_popup(this,'allowed_popup');" image="cancel" noSubmit="true"></et2-button>
|
|
|
|
</et2-hbox>
|
|
|
|
</et2-box>
|
2011-05-27 12:35:00 +02:00
|
|
|
<styles>
|
2013-11-01 23:04:43 +01:00
|
|
|
td.lr_padding { padding-left: 5px; padding-right: 5px; }
|
2011-05-27 12:35:00 +02:00
|
|
|
|
|
|
|
.button {
|
|
|
|
cursor: pointer;
|
2011-06-02 22:28:17 +02:00
|
|
|
}
|
|
|
|
/**
|
|
|
|
* 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%
|
2011-05-27 12:35:00 +02:00
|
|
|
}
|
|
|
|
</styles>
|
|
|
|
</template>
|
2023-01-04 18:28:10 +01:00
|
|
|
</overlay>
|