Revision 748,
1.4 KB
checked in by niltonneto, 15 years ago
(diff) |
Implementações para nova agenda. Desenvolvedor: Alexandre Muller.
|
-
Property svn:executable set to
*
|
Rev | Line | |
---|
[632] | 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> |
---|
[696] | 8 | <div width="100%" class="title" align="left" ><br/> |
---|
[632] | 9 | <table class="table_common" width="100%" cellpadding="0" cellspacing="0" border="0"> |
---|
| 10 | <tr> |
---|
| 11 | <td class="td_common" height="100%" width="1%"> |
---|
| 12 | |
---|
| 13 | <table class="table_common" height="100%" width="100%" cellpadding="0" cellspacing="0"> |
---|
| 14 | <tr id="tr_week"> |
---|
| 15 | <td class="td_header" width="10%"></td> |
---|
| 16 | <xsl:for-each select="workweek"> |
---|
[748] | 17 | <xsl:variable name="dayid" select="dayid" /> |
---|
| 18 | <td id="weekday_{$dayid}" class="td_header" height="1%"> |
---|
[632] | 19 | <xsl:value-of select='dayofweek' /> |
---|
| 20 | </td> |
---|
| 21 | </xsl:for-each> |
---|
| 22 | </tr> |
---|
| 23 | <xsl:for-each select="/retorno/workday"> |
---|
| 24 | <tr> |
---|
| 25 | <xsl:variable name="time" select="timeid" /> |
---|
| 26 | <xsl:variable name="event_id" select="id" /> |
---|
| 27 | <td width="1%" id="header_{$today}{$time}" class="td_header"> |
---|
| 28 | <xsl:value-of select="hour" /></td> |
---|
| 29 | <xsl:for-each select="/retorno/workweek"> |
---|
| 30 | <xsl:variable name="day" select="dayid" /> |
---|
| 31 | <td class="td_common" id="{$day}{$time}"> |
---|
| 32 | </td> |
---|
| 33 | </xsl:for-each> |
---|
| 34 | </tr> |
---|
| 35 | </xsl:for-each> |
---|
| 36 | </table> |
---|
| 37 | </td> |
---|
| 38 | </tr> |
---|
| 39 | </table> |
---|
| 40 | </div> |
---|
| 41 | </xsl:template> |
---|
| 42 | </xsl:stylesheet> |
---|
Note: See
TracBrowser
for help on using the repository browser.