egroupware_official/calendar/templates/mobile/list.xet

106 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2.0//EN" "https://www.egroupware.org/etemplate2.0.dtd">
<!-- $Id: list.xet 54765 2016-01-19 00:48:21Z nathangray $ -->
<overlay>
<template id="calendar.list.add" template="" lang="" group="0" version="16.1.001">
<et2-button id="add" class="plus_button" onclick="egw.open('calendar');" parentId="calendar-list_plus_button_container"></et2-button>
</template>
<template id="calendar.list.dates" template="" lang="" group="0" version="1.3.001">
<et2-hbox>
<et2-description value="Start"></et2-description>
<et2-date id="startdate" onchange="app.calendar.update_state({date: widget.getValue()}); return false;"></et2-date>
<et2-description value="End"></et2-description>
<et2-date id="enddate" onchange="app.calendar.update_state({end_date: widget.getValue()}); return false;"></et2-date>
</et2-hbox>
</template>
<template id="calendar.list.rows" template="" lang="" group="0" version="1.9.004">
<grid width="100%" >
<columns>
<column width="10"/>
<column width="95%" />
<column width="50"/>
</columns>
<rows>
<row class="th">
</row>
<row class="$row_cont[class]" valign="top">
<et2-description class="cat_$row_cont[cat_id] mobile_cat_col"></et2-description>
<et2-vbox class="calendar_fullWidth">
<customfields-list id="$row" class="customfields" app="calendar" disabled="true"/>
<et2-hbox class="calTitleRow">
<et2-description id="${row}[title]" class="$row_cont[sub_class] et2_ellipsis" overflow="hidden" width="100%" noLang="1"></et2-description>
</et2-hbox>
<et2-hbox class="calDates">
<et2-date-time-today id="${row}[start]" readonly="true" options=",$cont[format]" class="noWrap"></et2-date-time-today>
<et2-description class="dash" value="-"></et2-description>
<et2-date-time-today id="${row}[end]" readonly="true" options=",$cont[format]" class="noWrap"></et2-date-time-today>
</et2-hbox>
</et2-vbox>
</row>
</rows>
</grid>
</template>
<template id="calendar.list" template="" lang="" group="0" version="1.9.003">
<grid width="100%" border="0" spacing="0" padding="0">
<columns>
<column width="70%"/>
<column/>
</columns>
<rows>
<row disabled="!@css">
<html id="css" span="all"/>
</row>
<row>
<et2-description align="center" id="msg" span="all" class="message" noLang="1"></et2-description>
</row>
<row>
<et2-description id="plus_button_container"></et2-description>
</row>
<row>
<nextmatch id="nm" template="calendar.list.rows" header_right="calendar.list.add" header_left="calendar.list.dates" span="all"/>
</row>
<row>
<et2-hbox>
<et2-box class="action_popup prompt" id="delete_popup">
<et2-vbox>
<et2-description value="Delete" class="promptheader"></et2-description>
<et2-description value="This is a recurring event. Do you want to delete just this recurrence or the whole series?"></et2-description>
<et2-hbox>
<et2-button label="Delete this recurrence" id="delete" onclick="nm_submit_popup(this); return false;"></et2-button>
<et2-button label="Delete series" id="delete_series" onclick="nm_popup_action.id = 'delete_series'; 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>
<et2-box class="action_popup prompt" id="undelete_popup">
<et2-vbox>
<et2-description value="Un-delete" class="promptheader"></et2-description>
<et2-description value="This is a recurring event. Do you want to Un-delete just this recurrence or the whole series?"></et2-description>
<et2-hbox>
<et2-button label="Un-delete this recurrence" id="undelete" onclick="nm_submit_popup(this); return false;"></et2-button>
<et2-button label="Un-delete series" id="undelete_series" onclick="nm_popup_action.id = 'undelete_series'; nm_submit_popup(this); return false;"></et2-button>
<et2-button label="Cancel" onclick="nm_hide_popup(this,'undelete_popup');" noSubmit="true"></et2-button>
</et2-hbox>
</et2-vbox>
</et2-box>
</et2-hbox>
<et2-description></et2-description>
</row>
</rows>
</grid>
<styles>
.noWrap { white-space: nowrap; }
.image16 img {
height: 16px;
}
.listVbox {
width: 100%;
}
</styles>
</template>
</overlay>