egroupware_official/resources/templates/mobile/show.xet

116 lines
4.8 KiB
Plaintext
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
<overlay>
<template id="resources.show.nm_right" template="" lang="" group="0" version="1.9.002">
<et2-button class="plus_button" id="add_button" onclick="window.open(egw::link('/index.php','menuaction=resources.resources_ui.edit'),'','dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes'); return false; return false;" noSubmit="true" parentId="resources-show_plus_button_container"></et2-button>
</template>
<template id="resources.show.rows" template="" lang="" group="0" version="1.9.003">
<grid width="100%">
<columns>
<column width="10"/>
<column width="90%"/>
<column width="130"/>
<column width="70"/>
</columns>
<rows>
<row class="th">
</row>
<row class="$row_cont[class]">
<et2-description class="cat_$row_cont[cat_id] mobile_cat_col"></et2-description>
<et2-vbox>
<customfields-list id="$row" class="customfields" app="resources" disabled="true"/>
<et2-description id="${row}[name]" noLang="1"></et2-description>
<et2-description id="${row}[short_description]" noLang="1"></et2-description>
<et2-hbox>
<et2-description href="resources.resources_ui.edit&amp;res_id=$row_cont[accessory_of]" id="${row}[accessory_of_label]" extraLinkPopup="850x600" noLang="1"></et2-description>
<grid width="100%" id="${row}[accessories]">
<columns>
<column/>
</columns>
<rows>
<row>
<et2-description href="resources.resources_ui.edit&amp;res_id=$row_cont[acc_id]" id="${row}[name]" extraLinkPopup="850x600" noLang="1"></et2-description>
</row>
</rows>
</grid>
</et2-hbox>
</et2-vbox>
<et2-vbox class="resourcesCol2">
<et2-hbox>
<et2-label value="Useable"></et2-label>
<et2-description align="left" id="${row}[useable]" noLang="1"></et2-description>
</et2-hbox>
<et2-hbox>
<et2-label value="Quantity"></et2-label>
<et2-description align="left" id="${row}[quantity]" noLang="1"></et2-description>
</et2-hbox>
<et2-select-cat id="{$row}[cat_id]" readonly="true" noLang="1"></et2-select-cat>
</et2-vbox>
<et2-vbox>
<et2-hbox class="avatar">
<et2-image-expose id="${row}[picture_thumb]" width="50px" height="50px" href="$row_cont[picture_original]" src="${row}[picture_thumb]" ></et2-image-expose>
</et2-hbox>
</et2-vbox>
</row>
</rows>
</grid>
</template>
<template id="resources.show" template="" lang="" group="0" version="1.9.003">
<grid width="100%">
<columns>
<column width="100%"/>
</columns>
<rows>
<row disabled="!@msg">
<et2-description align="center" id="msg" span="all" class="message"></et2-description>
</row>
<row>
<et2-description id="plus_button_container"></et2-description>
</row>
<row>
<nextmatch id="nm" no_lang="1" template="resources.show.rows"/>
</row>
<row>
<et2-box id="delete_popup" class="action_popup prompt">
<et2-vbox class="prompt">
<et2-description value="Delete" class="promptheader"></et2-description>
<et2-description value="Delete accessories of selected resources too?"></et2-description>
<et2-hbox>
<et2-button label="Yes - Delete accessories too" id="delete" onclick="nm_submit_popup(this); return false;"></et2-button>
<et2-button label="No - Make them resources" id="delete_promote" onclick="nm_popup_action.id = 'delete_promote'; nm_submit_popup(this); return false;"></et2-button>
<et2-button label="Cancel" onclick="nm_hide_popup(this,'delete_popup');" noSubmit="true"></et2-button>
</et2-hbox>
</et2-vbox>
</et2-box>
</row>
<row>
<et2-box id="restore_popup" class="action_popup prompt">
<et2-vbox class="prompt">
<et2-description value="Un-delete" class="promptheader"></et2-description>
<et2-description value="Un-delete accessories of selected resources too?"></et2-description>
<et2-hbox>
<et2-button label="Yes - Un-delete accessories too" id="restore_accessories" onclick="nm_popup_action.id = 'restore_accessories';nm_submit_popup(this); return false;"></et2-button>
<et2-button label="No - Leave them" id="restore" onclick="nm_popup_action.id = 'restore'; nm_submit_popup(this); return false;"></et2-button>
<et2-button label="Cancel" onclick="nm_hide_popup(this,'restore_popup');" noSubmit="true"></et2-button>
</et2-hbox>
</et2-vbox>
</et2-box>
</row>
</rows>
</grid>
<styles>
2022-09-27 12:15:19 +02:00
.action_popup[id] {
position: fixed;
top: 200px;
left: 450px;
width: 76ex;
z-index: 20000;
display: none;
border-collapse:collapse;
border-spacing:0px
}
</styles>
</template>
</overlay>