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

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

Modulo calendar_new renomeado para expressoCalendar

  • 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" height="50%" width="100%" cellpadding="0" cellspacing="0">
10<xsl:for-each select="workday">
11        <tr>
12                <xsl:variable name="time" select="timeid" />
13                <td width="65px" class="td_header" id="header_{$today}{$time}">
14                <xsl:value-of select="hour" /></td>
15                <td class="td_common" id="{$today}{$time}">
16                </td>
17        </tr>
18</xsl:for-each>
19</table>
20</div>
21<div id="returnEvents">
22<xsl:for-each select="calEvent">
23        <xsl:variable name="event_id" select="id" />
24        <xsl:variable name="datetime" select="datetime" />
25        <xsl:variable name="edatetime" select="edatetime" />
26                <xsl:if test="id > 0">
27                        <div id="event_{$event_id}">
28                                <div id="{$datetime}"></div>
29                                <div id="{$edatetime}"></div>
30                                <xsl:value-of select='title' />
31                                <br/>
32                                <xsl:value-of select='description' />
33                        </div>
34                </xsl:if>
35</xsl:for-each>
36</div>
37</xsl:template>
38</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.