mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
next step: conflict display (now including a freetime-search button)
This commit is contained in:
parent
e600ee01c7
commit
71b15ceabf
31
calendar/templates/default/conflicts.xet
Normal file
31
calendar/templates/default/conflicts.xet
Normal file
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<template id="calendar.conflicts" template="" lang="" group="0" version="1.0.1.001">
|
||||
<description value=" Scheduling conflict" class="size120b"/>
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row valign="top">
|
||||
<image src="conflicts[$row][icon_participants]" label="@conflicts[$row][tooltip_participants]" no_lang="1"/>
|
||||
<image src="conflicts[$row][icon_recur]" label="@conflicts[$row][text_recur]" no_lang="1"/>
|
||||
<description id="conflicts[$row][time]" no_lang="1"/>
|
||||
<vbox statustext="conflict[$row][tooltip]" orient=",0,0">
|
||||
<description id="conflicts[$row][title]" no_lang="1" options="b"/>
|
||||
<description id="conflicts[$row][conflicting_participants]" no_lang="1"/>
|
||||
</vbox>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
<hbox>
|
||||
<button label="Ignore conflict" id="button[ignore]" statustext="Saves the event ignoring the conflict"/>
|
||||
<button id="button[reedit]" label="Re-Edit event" statustext="Allows to edit the event again"/>
|
||||
<button label="Freetime search" id="button[freetime]" statustext="Find free timeslots where the selected participants are availible for the given timespan"/>
|
||||
</hbox>
|
||||
</template>
|
||||
</overlay>
|
84
calendar/templates/default/freetimesearch.xet
Normal file
84
calendar/templates/default/freetimesearch.xet
Normal file
@ -0,0 +1,84 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- $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"/>
|
||||
<date-time id="${row}[end]" readonly="true"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
<template id="calendar.freetimesearch" template="" lang="" group="0" version="1.0.1.002">
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<description class="size120b" value="Freetime Search"/>
|
||||
<description class="ired" no_lang="1" id="msg"/>
|
||||
</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"/>
|
||||
</menulist>
|
||||
<description value="or Enddate / -time"/>
|
||||
<date-time id="end" statustext="Enddate / -time of the meeting, eg. for more then one day"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<description value="Timeframe"/>
|
||||
<hbox>
|
||||
<date-houronly id="start_time" statustext="Timeframe to search"/>
|
||||
<description value="til"/>
|
||||
<date-houronly id="end_time" statustext="Timeframe to search"/>
|
||||
<description value="Weekdays"/>
|
||||
<listbox type="select-dow" rows="3" id="weekdays" statustext="Weekdays to use in search"/>
|
||||
</hbox>
|
||||
</row>
|
||||
<row>
|
||||
<button label="New search" id="search" 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>
|
||||
.size120b { text-size: 120%; font-weight: bold; }
|
||||
.ired { color: red; font-style: italic; }
|
||||
</styles>
|
||||
</template>
|
||||
</overlay>
|
Loading…
Reference in New Issue
Block a user