mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-01 19:42:48 +00:00
Monotone-Parent: 5cf7ca16573b57f14380a1da5611560a68f5fd45
Monotone-Revision: d09e531b223359ae63e2198ec126138aff0422d8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-14T20:30:19 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
224
UI/Templates/SchedulerUI/UIxCalWeekOverview.wox
Normal file
224
UI/Templates/SchedulerUI/UIxCalWeekOverview.wox
Normal file
@@ -0,0 +1,224 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
<var:component xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:var="http://www.skyrix.com/od/binding"
|
||||
xmlns:const="http://www.skyrix.com/od/constant"
|
||||
xmlns:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
xmlns:uix="OGo:uix"
|
||||
className="UIxPageFrame"
|
||||
title="name"
|
||||
>
|
||||
<table id="skywintable" class="wintable" cellspacing="0" cellpadding="5"
|
||||
width="100%">
|
||||
<tr>
|
||||
<td class="wintitle">
|
||||
<table cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr>
|
||||
<td width="5"/>
|
||||
<td class="wintitle">[<var:component className="UIxCalDateLabel"
|
||||
startDate="startDate"
|
||||
endDate="endDate"
|
||||
const:selection="week"
|
||||
/>]</td>
|
||||
<td width="36" align="right" valign="center">
|
||||
<var:component className="UIxWinClose" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id="skywinbodycell" class="wincontent">
|
||||
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
||||
<tr bgcolor="#e8e8e0">
|
||||
<td align="left">
|
||||
<var:component className="UIxCalBackForthNavView"
|
||||
methodName="ownMethodName"
|
||||
prevQueryParameters="prevWeekQueryParameters"
|
||||
currentQueryParameters="todayQueryParameters"
|
||||
nextQueryParameters="nextWeekQueryParameters"
|
||||
label:label="this week"
|
||||
/>
|
||||
</td><!-- 99% -->
|
||||
<td align="right" valign="middle" width="80%">
|
||||
<var:component
|
||||
className="UIxContactSelector"
|
||||
const:selectorId="uids" />
|
||||
<!-- <var:component className="AnaisUidSelector"
|
||||
calendarUIDs="clientObject.calendarUIDs"
|
||||
/> -->
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td id="skywinbodycell" class="wincontent">
|
||||
<table border="0" width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<var:component className="UIxCalSelectTab"
|
||||
const:selection="week"
|
||||
currentDate="selectedDate"
|
||||
>
|
||||
<table border="0" cellpadding="4" width="100%" cellspacing="2">
|
||||
<tr>
|
||||
<td width="1%" align="left" valign="middle" bgcolor="#e8e8e0">
|
||||
<table border='0' cellpadding='0' cellspacing='0'>
|
||||
<tr>
|
||||
<td><img rsrc:src="icon_view_overview_inactive.gif"
|
||||
label:title="Overview" label:alt="Overview"
|
||||
border="0" valign="top" /></td>
|
||||
<td><a href="weekchartview"
|
||||
var:queryDictionary="queryParameters"
|
||||
><img rsrc:src="icon_view_chart.gif"
|
||||
label:title="Chart" label:alt="Chart"
|
||||
border="0" valign="top" /></a></td>
|
||||
<td><a href="weeklistview"
|
||||
var:queryDictionary="queryParameters"
|
||||
><img rsrc:src="icon_view_list.gif"
|
||||
label:title="List" label:alt="List"
|
||||
border="0" valign="top" /></a></td>
|
||||
<td>
|
||||
<a href="weekcolumnsview"
|
||||
var:queryDictionary="queryParameters"
|
||||
><img rsrc:src="icon_view_columns.gif"
|
||||
label:title="Columns" label:alt="Columns"
|
||||
border="0" valign="top" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td align="left" bgcolor="#e8e8e0" class="button_auto_env">
|
||||
<a var:href="ownMethodName"
|
||||
class="button_auto"
|
||||
var:queryDictionary="toggleShowRejectedAptsQueryParameters"
|
||||
label:string="$toggleShowRejectedAptsLabel"
|
||||
/>
|
||||
</td>
|
||||
<td align="right" bgcolor="#e8e8e0">
|
||||
<table border='0' cellpadding='0' cellspacing='1'>
|
||||
<tr>
|
||||
<td class="button_auto_env" nowrap="true" valign='middle'
|
||||
align='center'>
|
||||
<!--<a class="button_auto"
|
||||
href="weekprintview"
|
||||
var:queryDictionary="queryParameters"
|
||||
target="SOGoPrintView"
|
||||
><var:string label:value="printview" /></a>-->
|
||||
</td>
|
||||
<td class="button_auto_env" nowrap="true" valign='middle'
|
||||
align='center'>
|
||||
<a class="button_auto"
|
||||
href="proposal"
|
||||
var:queryDictionary="queryParameters"
|
||||
><var:string label:value="proposal" /></a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<var:week-overview list="appointments"
|
||||
item="appointment"
|
||||
weekStart="startDate"
|
||||
dayIndex="dayIndex"
|
||||
const:startDateKey="startDate"
|
||||
const:endDateKey="endDate"
|
||||
const:titleStyle="weekoverview_title"
|
||||
hideWeekend="shouldHideWeekend"
|
||||
contentStyle="contentStyle"
|
||||
>
|
||||
<var:week-title>
|
||||
<table cellpadding="0" width="100%" border="0" cellspacing="0"
|
||||
var:class="titleStyle">
|
||||
<tr>
|
||||
<td align="left" valign="top">
|
||||
<a href="dayoverview"
|
||||
var:queryDictionary="currentDayQueryParameters"
|
||||
class="weekoverview_title_daylink"
|
||||
><var:string value="currentDay.dayOfMonth"
|
||||
const:numberformat="02"
|
||||
/></a>
|
||||
</td>
|
||||
<td align="center" valign="top" width="97%">
|
||||
<var:string value="currentDayName" /><br />
|
||||
[<a href="new"
|
||||
var:queryDictionary="currentDayQueryParameters"
|
||||
class="weekoverview_title_newlink"
|
||||
><var:string label:value="new" /></a>]
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</var:week-title>
|
||||
<var:if condition="hasDayInfo">
|
||||
<var:week-info>
|
||||
<var:if condition="hasHolidayInfo">
|
||||
<var:string value="holidayInfo"
|
||||
const:class="weekoverview_holidayinfo" />
|
||||
</var:if>
|
||||
<var:foreach list="allDayApts" item="appointment">
|
||||
<var:component className="UIxCalInlineAptView"
|
||||
appointment="appointment"
|
||||
formatter="aptFormatter"
|
||||
tooltipFormatter="aptTooltipFormatter"
|
||||
url="appointmentViewURL"
|
||||
style="aptStyle"
|
||||
referenceDate="currentDay"
|
||||
queryDictionary="currentDayQueryParameters"
|
||||
canAccess="canAccessApt"
|
||||
/>
|
||||
<br />
|
||||
</var:foreach>
|
||||
</var:week-info>
|
||||
</var:if>
|
||||
<var:week>
|
||||
<var:component className="UIxCalInlineAptView"
|
||||
appointment="appointment"
|
||||
formatter="aptFormatter"
|
||||
tooltipFormatter="aptTooltipFormatter"
|
||||
url="appointmentViewURL"
|
||||
style="aptStyle"
|
||||
referenceDate="currentDay"
|
||||
canAccess="canAccessApt"
|
||||
/>
|
||||
<br />
|
||||
</var:week>
|
||||
</var:week-overview>
|
||||
</var:component>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#F5F5E9"> <!-- use CSS -->
|
||||
<td align="left" width="10"><var:entity const:name="nbsp"/></td>
|
||||
<td align="right"
|
||||
><img border="0"
|
||||
alt=""
|
||||
rsrc:src="corner_right.gif"
|
||||
/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" bgcolor="#F5F5E9"> <!-- use CSS -->
|
||||
<table border="0" width="100%" cellpadding="10" cellspacing="0">
|
||||
<tr />
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!--
|
||||
<hr />
|
||||
<var:string value="thisWeekQueryParameters" />
|
||||
-->
|
||||
<!--
|
||||
<hr/>
|
||||
|
||||
Appointments:
|
||||
<var:component className="UIxAptTableView" appointments="appointments"/>
|
||||
-->
|
||||
<!-- pre><var:string value="appointments" const:insertBR="YES"/></pre -->
|
||||
</var:component>
|
||||
Reference in New Issue
Block a user