source: trunk/expressoCalendar/xsl/viewDay.xsl @ 656

Revision 656, 1.2 KB checked in by niltonneto, 15 years ago (diff)

Implementações do desenvolvedor. amuller@…

  • Property svn:executable set to *
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3<xsl:template match="/retorno">
4<xsl:variable name="today" select="today" />
5<div id="day">
6        <div id="{$today}"></div>
7</div>
8<div width="100%" class="title" align="left" ><label id="l_date"></label><br/><br/>
9        <table class="table_common" width="100%" cellpadding="0" cellspacing="0" border="0">
10<tbody>
11<xsl:for-each select="workday">
12        <tr>
13                <xsl:variable name="time" select="timeid" />
14                <td width="65px" class="td_header" id="header_{$today}{$time}">
15                <xsl:value-of select="hour" /></td>
16                <td class="td_common" id="{$today}{$time}">
17                </td>
18        </tr>
19</xsl:for-each>
20</tbody>
21</table>
22</div>
23<div id="returnEvents">
24<xsl:for-each select="calEvent">
25        <xsl:variable name="event_id" select="id" />
26        <xsl:variable name="datetime" select="datetime" />
27        <xsl:variable name="edatetime" select="edatetime" />
28                <xsl:if test="id > 0">
29                        <div id="event_{$event_id}">
30                                <div id="{$datetime}"></div>
31                                <div id="{$edatetime}"></div>
32                                <xsl:value-of select='title' />
33                                <br/>
34                                <xsl:value-of select='description' />
35                        </div>
36                </xsl:if>
37</xsl:for-each>
38</div>
39</xsl:template>
40</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.