Changeset 2426
- Timestamp:
- 12/08/09 16:11:50
- Files:
-
- trunk/deployment/feeder/webapp/resources/demoskins/MainCampus/default/default/config.xsl (added)
- trunk/deployment/feeder/webapp/resources/demoskins/MainCampus/default/default/grid-html.xsl (modified) (19 diffs)
- trunk/deployment/feeder/webapp/resources/demoskins/MainCampus/default/default/strings.xsl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/feeder/webapp/resources/demoskins/MainCampus/default/default/grid-html.xsl
r2425 r2426 5 5 xmlns="http://www.w3.org/1999/xhtml"> 6 6 7 <xsl:output8 method="xml"9 indent="no"10 media-type="text/html"11 doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"12 doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"13 standalone="yes"14 omit-xml-declaration="yes"/>15 16 <!-- =========================================================17 18 DEMONSTRATION CALENDAR STYLESHEET19 20 MainCampus Calendar Suite21 22 This stylesheet is devoid of school branding. It is a good23 starting point for development of a customized calendar.24 25 For detailed instructions on how to work with the XSLT26 stylesheets included with this distribution, please see the27 Bedework Design Guide at28 http://www.bedework.org/bedework/update.do?artcenterkey=2429 30 =============================================================== -->31 7 <!-- ********************************************************************** 32 Copyright 200 6Rensselaer Polytechnic Institute. All worldwide rights reserved.8 Copyright 2009 Rensselaer Polytechnic Institute. All worldwide rights reserved. 33 9 34 10 Redistribution and use of this distribution in source and binary forms, … … 54 30 to the maximum extent the law permits. --> 55 31 56 <!-- ================================= -->57 <!-- DEMO PUBLIC CALENDAR STYLESHEET -->58 <!-- ================================= -->59 60 32 <!-- URL of resources common to all bedework apps (javascript, images) --> 61 33 <xsl:variable name="resourceCommons">../../../bedework-common</xsl:variable> … … 66 38 <xsl:include href="../../../bedework-common/default/default/messages.xsl"/> 67 39 <xsl:include href="../../../bedework-common/default/default/util.xsl"/> 40 <xsl:include href="./config.xsl"/> 68 41 <xsl:include href="./strings.xsl"/> 69 42 … … 529 502 <xsl:variable name="group" select="substring-before($filterVal, '~')" /> 530 503 <xsl:variable name="cats" select="substring-after($filterVal, '~')" /> 531 <a href=" http://localhost:3000/v1.0/genFeedPeriod/day/{$date}/grid-html/{$group}/{$cats}">504 <a href="{$bwCacheHostUrl}/v1.0/genFeedPeriod/day/{$date}/grid-html/{$group}/{$cats}"> 532 505 <xsl:value-of select="name"/>, <xsl:value-of select="longdate"/> 533 506 </a> … … 535 508 <xsl:otherwise> 536 509 <!-- Filter name not defined? Turn off filtering. --> 537 <a href=" http://localhost:3000/v1.0/genFeedPeriod/day/{$date}/grid-html/all/all">510 <a href="{$bwCacheHostUrl}/v1.0/genFeedPeriod/day/{$date}/grid-html/all/all"> 538 511 <xsl:value-of select="name"/>, <xsl:value-of select="longdate"/> 539 512 </a> … … 542 515 </xsl:when> 543 516 <xsl:otherwise> 544 <a href=" http://localhost:3000/v1.0/genFeedPeriod/day/{$date}/grid-html/all/all">517 <a href="{$bwCacheHostUrl}/v1.0/genFeedPeriod/day/{$date}/grid-html/all/all"> 545 518 <xsl:value-of select="name"/>, <xsl:value-of select="longdate"/> 546 519 </a> … … 584 557 <!--<a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 585 558 <xsl:value-of select="start/time"/> --> 586 <a href=" http://localhost:3000/v1.0/event/blah2/list-html/{$recurrenceId}/{$guid}">559 <a href="{$bwCacheHostUrl}/v1.0/event/blah2/list-html/{$recurrenceId}/{$guid}"> 587 560 </a> 588 561 </td> … … 607 580 </td> 608 581 <td class="{$dateRangeStyle} center"> 609 <a href=" http://localhost:3000/v1.0/event/blah3/list-html/{$recurrenceId}/{$guid}"></a>582 <a href="{$bwCacheHostUrl}/v1.0/event/blah3/list-html/{$recurrenceId}/{$guid}"></a> 610 583 <!-- <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">-</a> --> 611 584 </td> 612 585 <td class="{$dateRangeStyle} left"> 613 <a href=" http://localhost:3000/v1.0/event/blah4/list-html/{$recurrenceId}/{$guid}">586 <a href="{$bwCacheHostUrl}/v1.0/event/blah4/list-html/{$recurrenceId}/{$guid}"> 614 587 <!-- <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> --> 615 588 <xsl:choose> … … 650 623 <xsl:choose> 651 624 <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 652 <a href=" http://localhost:3000/v1.0/event/blah/5/list-html/{$recurrenceId}/{$guid}">625 <a href="{$bwCacheHostUrl}/v1.0/event/blah/5/list-html/{$recurrenceId}/{$guid}"> 653 626 <!-- ><a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> --> 654 627 <strong> … … 688 661 <xsl:otherwise> 689 662 <!-- ><a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> --> 690 <a href=" http://localhost:3000/v1.0/event/blah6/list-html/{$recurrenceId}/{$guid}">663 <a href="{$bwCacheHostUrl}/v1.0/event/blah6/list-html/{$recurrenceId}/{$guid}"> 691 664 <xsl:value-of select="summary"/> 692 665 <xsl:if test="location/address != ''">, <xsl:value-of select="location/address"/></xsl:if> … … 773 746 <xsl:if test="status='CANCELLED'"><strong><xsl:copy-of select="$bwStr-LsEv-Canceled"/><xsl:text> </xsl:text></strong></xsl:if> 774 747 <xsl:if test="status='TENTATIVE'"><em><xsl:copy-of select="$bwStr-LsEv-Tentative"/><xsl:text> </xsl:text></em></xsl:if> 775 <a href=" http://localhost:3000/v1.0/event/blah7/list-html/{$recurrenceId}/{$guid}">748 <a href="{$bwCacheHostUrl}/v1.0/event/blah7/list-html/{$recurrenceId}/{$guid}"> 776 749 <!-- <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> --> 777 750 <xsl:value-of select="summary"/> … … 893 866 <xsl:variable name="dayDate" select="date"/> 894 867 <!-- ><a href="{$setViewPeriod}&viewType=dayView&date={$dayDate}" class="dayLink"> --> 895 <a href=" http://localhost:3000/v1.0/genFeedPeriod/day/{$dayDate}/grid-html/all/all" class="dayLink">868 <a href="{$bwCacheHostUrl}/v1.0/genFeedPeriod/day/{$dayDate}/grid-html/all/all" class="dayLink"> 896 869 <xsl:value-of select="value"/> 897 870 </a> … … 964 937 <xsl:variable name="group" select="substring-before($filterVal, '~')" /> 965 938 <xsl:variable name="cats" select="substring-after($filterVal, '~')" /> 966 <a href=" http://localhost:3000/v1.0/genFeedPeriod/day/{dayDate}/grid-html/{$group}/{$cats}">939 <a href="{$bwCacheHostUrl}/v1.0/genFeedPeriod/day/{dayDate}/grid-html/{$group}/{$cats}"> 967 940 <xsl:value-of select="value"/> 968 941 </a> … … 970 943 <xsl:otherwise> 971 944 <!-- Filter name not defined? Turn off filtering. --> 972 <a href=" http://localhost:3000/v1.0/genFeedPeriod/day/{$dayDate}/grid-html/all/all">945 <a href="{$bwCacheHostUrl}/v1.0/genFeedPeriod/day/{$dayDate}/grid-html/all/all"> 973 946 <xsl:value-of select="value"/> 974 947 </a> … … 977 950 </xsl:when> 978 951 <xsl:otherwise> 979 <a href=" http://localhost:3000/v1.0/genFeedPeriod/day/{$dayDate}/grid-html/all/all">952 <a href="{$bwCacheHostUrl}/v1.0/genFeedPeriod/day/{$dayDate}/grid-html/all/all"> 980 953 <xsl:value-of select="value"/> 981 954 </a> … … 1048 1021 <li> 1049 1022 <!-- <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" class="{$eventClass} {$subscriptionClass}"> --> 1050 <a href=" http://localhost:3000/v1.0/event/blah1/list-html/{$recurrenceId}/{$guid}" class="{$eventClass} {$subscriptionClass}">1023 <a href="{$bwCacheHostUrl}/v1.0/event/list-html/{$recurrenceId}/{$guid}" class="{$eventClass} {$subscriptionClass}"> 1051 1024 <xsl:if test="status='CANCELLED'"><xsl:copy-of select="$bwStr-EvCG-CanceledColon"/><xsl:text> </xsl:text></xsl:if> 1052 1025 <xsl:choose> … … 1150 1123 <td colspan="8" class="monthName"> 1151 1124 <xsl:variable name="firstDayOfMonth" select="week/day/date"/> 1152 <a href=" http://localhost:3000/v1.0/genFeedPeriod/month/{$firstDayOfMonth}/grid-html/all/all">1125 <a href="{$bwCacheHostUrl}/v1.0/v1.0/genFeedPeriod/month/{$firstDayOfMonth}/grid-html/all/all"> 1153 1126 <!-- <a href="{$setViewPeriod}&viewType=monthView&date={$firstDayOfMonth}"> --> 1154 1127 <xsl:value-of select="longname"/> … … 1166 1139 <td class="weekCell"> 1167 1140 <xsl:variable name="firstDayOfWeek" select="day/date"/> 1168 <a href=" http://localhost:3000/v1.0/genFeedPeriod/week/{$firstDayOfWeek}/grid-html/all/all">1141 <a href="{$bwCacheHostUrl}/v1.0/genFeedPeriod/week/{$firstDayOfWeek}/grid-html/all/all"> 1169 1142 <!-- <a href="{$setViewPeriod}&viewType=weekView&date={$firstDayOfWeek}"> --> 1170 1143 <xsl:value-of select="value"/> … … 1182 1155 </xsl:if> 1183 1156 <xsl:variable name="dayDate" select="date"/> 1184 <a href=" http://localhost:3000/v1.0/genFeedPeriod/day/{$dayDate}/grid-html/all/all">1157 <a href="{$bwCacheHostUrl}/v1.0/genFeedPeriod/day/{$dayDate}/grid-html/all/all"> 1185 1158 <!-- <a href="{$setViewPeriod}&viewType=dayView&date={$dayDate}"> --> 1186 1159 <xsl:attribute name="class">today</xsl:attribute> trunk/deployment/feeder/webapp/resources/demoskins/MainCampus/default/default/strings.xsl
r2417 r2426 1 <?xml version="1.0" encoding="UTF-8"?> 1 2 <xsl:stylesheet 2 3 version="1.0" 3 4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 4 5 xmlns="http://www.w3.org/1999/xhtml"> 6 7 <!-- ********************************************************************** 8 Copyright 2009 Rensselaer Polytechnic Institute. All worldwide rights reserved. 9 10 Redistribution and use of this distribution in source and binary forms, 11 with or without modification, are permitted provided that: 12 The above copyright notice and this permission notice appear in all 13 copies and supporting documentation; 14 15 The name, identifiers, and trademarks of Rensselaer Polytechnic 16 Institute are not used in advertising or publicity without the 17 express prior written permission of Rensselaer Polytechnic Institute; 18 19 DISCLAIMER: The software is distributed" AS IS" without any express or 20 implied warranty, including but not limited to, any implied warranties 21 of merchantability or fitness for a particular purpose or any warrant)' 22 of non-infringement of any current or pending patent rights. The authors 23 of the software make no representations about the suitability of this 24 software for any particular purpose. The entire risk as to the quality 25 and performance of the software is with the user. Should the software 26 prove defective, the user assumes the cost of all necessary servicing, 27 repair or correction. In particular, neither Rensselaer Polytechnic 28 Institute, nor the authors of the software are liable for any indirect, 29 special, consequential, or incidental damages related to the software, 30 to the maximum extent the law permits. 31 --> 5 32 6 33 <!-- xsl:template match="/" -->
