egroupware/calendar/templates/default/freetimesearch.xet

83 lines
2.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE overlay PUBLIC "-//EGroupware GmbH//eTemplate 2//EN" "http://www.egroupware.org/etemplate2.dtd">
<!-- $Id$ -->
<overlay>
<template id="calendar.freetimesearch.rows" template="" lang="" group="0" version="1.0.1.001">
<grid>
<columns>
<column/>
<column/>
<column/>
<column/>
</columns>
<rows>
<row class="th">
<description value="Date"/>
<description value="Time"/>
<description value="Select"/>
<description value="Enddate"/>
</row>
<row class="row">
<date options=",16" id="${row}[start]" readonly="true"/>
<menulist>
<menupopup no_lang="1" id="{$row}start" statustext="select a time"/>
</menulist>
<button label="Select" id="select[$row]" statustext="use the selected time and close the popup" onclick="app.calendar.freetime_select" />
<date-time id="${row}[end]" readonly="true"/>
</row>
</rows>
</grid>
</template>
<template id="calendar.freetimesearch" template="" lang="" group="0" version="1.3.001">
<grid>
<columns>
<column/>
<column/>
</columns>
<rows>
<row class="dialogHeader">
<description class="calendar_freetime_header" value="Freetime Search" span="all"/>
</row>
<row >
<description value="Startdate / -time"/>
<date-time id="start" statustext="Startdate and -time of the search"/>
</row>
<row>
<description value="Duration"/>
<hbox>
<menulist>
<menupopup no_lang="1" id="duration" statustext="Duration of the meeting" onchange="app.calendar.set_enddate_visibility" options="Use end date"/>
</menulist>
<date-time id="end" statustext="Enddate / -time of the meeting, eg. for more then one day"/>
</hbox>
</row>
<row>
<description value="Timeframe"/>
<hbox class="calendar_freetime_timeframe">
<date-timeonly id="start_time" statustext="Timeframe to search"/>
<description value="til"/>
<date-timeonly id="end_time" statustext="Timeframe to search"/>
<description value="Weekdays"/>
<select-dow rows="10" id="weekdays" statustext="Weekdays to use in search" class="calendar_freetime_dow"/>
</hbox>
</row>
<row class="dialogFooterToolbar">
<button label="New search" id="search" image="search" background_image="1" statustext="new search with the above parameters"/>
<hbox>
<menulist>
<menupopup no_lang="1" id="search_window" statustext="how far to search (from startdate)"/>
</menulist>
<button id="cancel" label="Cancel" statustext="Close the window" onclick="window.close();"/>
</hbox>
</row>
<row>
<template content="freetime" span="all" id="calendar.freetimesearch.rows"/>
</row>
</rows>
</grid>
<styles>
body { background-color: white; }
</styles>
</template>
</overlay>