Changeset 1165
- Timestamp:
- 12/17/06 02:45:41
- Files:
-
- trunk/deployment/resources/bedework/index.html (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/blue.css (modified) (3 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl (modified) (4 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/errors.xsl (modified) (2 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/green.css (modified) (6 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/red.css (modified) (7 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/resources (added)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/resources/javascript (added)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/resources/javascript/bedework.js (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/resources/bedework/index.html
r952 r1165 82 82 <a href="http://www.bedework.org">Bedework website</a> 83 83 </li> 84 <li> 85 <a href="http://www.bedework.org/bedework/update.do?artcenterkey=36">Bedework documentation</a> 86 </li> 87 <li> 88 <a href="http://www.bedework.org/trac/bedework/">Bedework wiki</a> 89 </li> 90 <li> 91 <a href="http://www.bedework.org/bedework/update.do?artcenterkey=27">Bedework mailing lists</a> 92 </li> 84 93 </ul> 85 94 </div> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/blue.css
r1162 r1165 133 133 margin: 0px; 134 134 padding: 0em; 135 border-left: 3px solid #aaa;135 border-left: 2px solid #aaa; 136 136 padding: 0.1em 0 0 0.5em; 137 137 white-space: nowrap; … … 155 155 padding: 0em; 156 156 text-align: right; 157 border-right: 3px solid #aaa;157 border-right: 2px solid #aaa; 158 158 padding: 0.1em 0.1em 0em 0em; 159 159 white-space: nowrap; … … 989 989 visibility: hidden; 990 990 } 991 .invisible { 992 display: none; 993 } 994 /* dojo widget overrides */ 995 html .dojoFloatingPane { 996 width: 400px; 997 height: 200px; 998 text-align: left; 999 } 1000 html .dojoFloatingPaneTitleBar { 1001 color: white; 1002 background: #2c5f89 url(../../images/curDateRangeBlue.gif) repeat-x bottom; 1003 } 1004 html .dojoFloatingPaneTitleText { 1005 padding: 0.25em 1em; 1006 font-weight: bold; 1007 font-size: 0.8em; 1008 } 1009 html .dojoFloatingPaneClient { 1010 padding: 1em; 1011 } 1012 html .dojoFloatingPaneClient input.bwWidgetSubmit { 1013 position: absolute; 1014 bottom: 1em; 1015 right: 1em; 1016 } 1017 html .dojoFloatingPaneClient #exportDateRange { 1018 margin: 1em 0; 1019 text-align: center; 1020 } 1021 html .dojoFloatingPaneClient #bwCalendarExportWidgetCalName { 1022 padding-left: 1em; 1023 } trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl
r1163 r1165 104 104 <head> 105 105 <title>Bedework Events Calendar</title> 106 <!-- load css --> 106 107 <xsl:choose> 107 108 <xsl:when test="/bedework/appvar[key='style']/value='red'"> … … 117 118 <link rel="stylesheet" href="{$resourcesRoot}/default/default/subColors.css"/> 118 119 <link rel="stylesheet" type="text/css" media="print" href="{$resourcesRoot}/default/default/print.css" /> 119 <script type="text/javascript" src="{$resourcesRoot}/default/default/includes.js"/> 120 <!-- load javascript --> 121 <xsl:if test="/bedework/page='calendarList'"> 122 <script type="text/javascript" src="{$resourcesRoot}/resources/javascript/dojo/dojo.js"/> 123 <script type="text/javascript" src="{$resourcesRoot}/resources/javascript/bedework.js"/> 124 </xsl:if> 125 <!-- address bar icon --> 120 126 <link rel="icon" type="image/ico" href="{$resourcesRoot}/images/bedework.ico" /> 121 127 </head> … … 1152 1158 <td colspan="2" class="infoCell"> 1153 1159 Select a calendar from the list below to see only that calendar's events. 1160 <div dojoType="FloatingPane" id="bwCalendarExportWidget" 1161 title="Export Calendar as iCal" toggle="fade" toggleDuration="150" 1162 windowState="minimized" hasShadow="true" displayMinimizeAction="true"> 1163 <form name="exportCalendarForm" id="exportCalendarForm" action="{$export}" method="post"> 1164 <input type="hidden" name="calPath" value=""/> 1165 <input type="hidden" name="nocache" value="no"/> 1166 <input type="hidden" name="skinName" value="ical"/> 1167 <input type="hidden" name="contentType" value="text/calendar"/> 1168 <input type="hidden" name="contentName" value="calendar.ics"/> 1169 1170 1171 <p> 1172 <strong>Calendar to export:</strong> 1173 <span id="bwCalendarExportWidgetCalName"></span> 1174 </p> 1175 <strong>Event date limits:</strong><br/> 1176 <input type="radio" name="dateLimits" value="active" checked="checked" onclick="changeClass('exportDateRange','invisible')"/> today forward 1177 <input type="radio" name="dateLimits" value="none" onclick="changeClass('exportDateRange','invisible')"/> all dates 1178 <input type="radio" name="dateLimits" value="limited" onclick="changeClass('exportDateRange','visible')"/> date range 1179 <div id="exportDateRange" class="invisible"> 1180 to be implemented 1181 <!-- <strong>Start:</strong> 1182 <div class="dateFields"> 1183 <xsl:copy-of select="/bedework/formElements/form/start/month/*"/> 1184 <xsl:copy-of select="/bedework/formElements/form/start/day/*"/> 1185 <xsl:copy-of select="/bedework/formElements/form/start/yearText/*"/> 1186 </div> 1187 <script language="JavaScript" type="text/javascript"> 1188 <xsl:comment> 1189 startDateDynCalWidget = new dynCalendar('startDateDynCalWidget', <xsl:value-of select="number(/bedework/formElements/form/start/yearText/input/@value)"/>, <xsl:value-of select="number(/bedework/formElements/form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(/bedework/formElements/form/start/day/select/option[@selected='selected']/@value)"/>, 'startDateCalWidgetCallback',false,'<xsl:value-of select="$resourcesRoot"/>/resources/'); 1190 </xsl:comment> 1191 </script> 1192    1193 <strong>End:</strong> 1194 <div class="dateFields"> 1195 <xsl:copy-of select="/bedework/formElements/form/end/month/*"/> 1196 <xsl:copy-of select="/bedework/formElements/form/end/day/*"/> 1197 <xsl:copy-of select="/bedework/formElements/form/end/yearText/*"/> 1198 </div> 1199 <script language="JavaScript" type="text/javascript"> 1200 <xsl:comment> 1201 endDateDynCalWidget = new dynCalendar('endDateDynCalWidget', <xsl:value-of select="number(/bedework/formElements/form/start/yearText/input/@value)"/>, <xsl:value-of select="number(/bedework/formElements/form/start/month/select/option[@selected='selected']/@value)-1"/>, <xsl:value-of select="number(/bedework/formElements/form/start/day/select/option[@selected='selected']/@value)"/>, 'endDateCalWidgetCallback',false,'<xsl:value-of select="$resourcesRoot"/>/resources/'); 1202 </xsl:comment> 1203 </script> 1204 --> 1205 </div> 1206 <p><input type="submit" value="export" class="bwWidgetSubmit" onclick="hideWidget('bwCalendarExportWidget')"/></p> 1207 </form> 1208 </div> 1154 1209 </td> 1155 1210 </tr> … … 1183 1238 <xsl:variable name="calPath" select="encodedPath"/> 1184 1239 <span class="exportCalLink"> 1185 <a href="{$export}&calPath={$calPath}&dateLimits=active&nocache=no&skinName=ical&contentType=text/calendar&contentName={$name}.ics" title="export calendar as iCal (excluding past events)"> 1240 <!--<a href="{$export}&calPath={$calPath}&dateLimits=active&nocache=no&skinName=ical&contentType=text/calendar&contentName={$name}.ics" title="export calendar as iCal (excluding past events)">--> 1241 <a href="javascript:launchExportWidget('exportCalendarForm','{$name}','{$calPath}')" id="{$calPath}"> 1186 1242 <img src="{$resourcesRoot}/images/calIconExport-sm.gif" width="13" height="13" alt="export calendar" border="0"/> 1187 1243 </a> 1244 <!--</a>--> 1188 1245 <!--export 1189 1246 <a href="{$export}&calPath={$calPath}&dateLimits=active&nocache=no&skinName=ical&contentType=text/calendar&contentName={$name}.ics" title="export calendar as iCal (excluding past events)">current</a> | trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/errors.xsl
r1164 r1165 24 24 No default view 25 25 </xsl:when> 26 <xsl:when test="id='edu.rpi.sss.util.error.exc'"> 27 An exception occurred: <em><xsl:value-of select="param"/></em> 28 </xsl:when> 26 29 <xsl:otherwise> 27 30 <xsl:value-of select="id"/> … … 29 32 = <xsl:value-of select="param"/> 30 33 </xsl:if> 31 <xsl:when test="id='edu.rpi.sss.util.error.exc'">32 An exception occurred: <em><xsl:value-of select="param"/></em>33 </xsl:when>34 34 </xsl:otherwise> 35 35 </xsl:choose> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/green.css
r1162 r1165 59 59 width: 100%; 60 60 height: 26px; 61 background: # 2c5f89url(../../images/curDateRangeGreen.gif) repeat-x bottom;61 background: #326432 url(../../images/curDateRangeGreen.gif) repeat-x bottom; 62 62 color : #eee; 63 63 margin: 0em; … … 142 142 margin: 0px; 143 143 padding: 0em; 144 border-left: 3px solid #333;144 border-left: 2px solid #333; 145 145 padding: 0.1em 0 0 0.5em; 146 146 white-space: nowrap; … … 164 164 padding: 0em; 165 165 text-align: right; 166 border-right: 3px solid #333;166 border-right: 2px solid #333; 167 167 padding: 0.1em 0.1em 0em 0em; 168 168 white-space: nowrap; … … 902 902 padding: 0.2em 0.2em 0.2em 0.5em; 903 903 font-size: 1.3em; 904 border-bottom: 1px solid # ccc;905 border-left: 2px solid # aaa;906 border-right: 2px solid # aaa;904 border-bottom: 1px solid #999; 905 border-left: 2px solid #333; 906 border-right: 2px solid #333; 907 907 } 908 908 h2 a:link, … … 917 917 background-color: #eee; 918 918 color: black; 919 border-top: 1px solid # bbb;919 border-top: 1px solid #333; 920 920 } 921 921 h2.bwStatusCancelled { 922 922 background-color: #eee; 923 923 color: black; 924 border-top: 1px solid # bbb;924 border-top: 1px solid #333; 925 925 } 926 926 h2.bwStatusTentative { 927 927 background: #eee url('../../images/tentativeLines.gif') top; 928 928 color: black; 929 border-top: 1px solid # bbb;929 border-top: 1px solid #333; 930 930 } 931 931 /* Header IDs and classes */ … … 994 994 visibility: hidden; 995 995 } 996 .invisible { 997 display: none; 998 } 999 /* dojo widget overrides */ 1000 html .dojoFloatingPane { 1001 width: 400px; 1002 height: 200px; 1003 text-align: left; 1004 } 1005 html .dojoFloatingPaneTitleBar { 1006 color: white; 1007 background-color: #326432; 1008 } 1009 html .dojoFloatingPaneTitleText { 1010 padding: 0.25em 1em; 1011 font-weight: bold; 1012 font-size: 0.8em; 1013 } 1014 html .dojoFloatingPaneClient { 1015 padding: 1em; 1016 } 1017 html .dojoFloatingPaneClient input.bwWidgetSubmit { 1018 position: absolute; 1019 bottom: 1em; 1020 right: 1em; 1021 } 1022 html .dojoFloatingPaneClient #exportDateRange, 1023 html .dojoFloatingPaneClient #bwCalendarExportWidgetCalName { 1024 margin: 1em 0; 1025 text-align: center; 1026 } trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/red.css
r1162 r1165 59 59 width: 100%; 60 60 height: 26px; 61 background: # 2c5f89url(../../images/curDateRangeRed.gif) repeat-x bottom;61 background: #7E0000 url(../../images/curDateRangeRed.gif) repeat-x bottom; 62 62 color : #eee; 63 63 margin: 0em; … … 84 84 } 85 85 #curDateRangeTable td.rssPrint { 86 background : url(../../images/curDateRangeRed-right.gif) no-repeat top right;86 background-image: url(../../images/curDateRangeRed-right.gif) no-repeat top right; 87 87 color: inherit; 88 88 width: 200px; … … 142 142 margin: 0px; 143 143 padding: 0em; 144 border-left: 3px solid #333;144 border-left: 2px solid #333; 145 145 padding: 0.1em 0 0 0.5em; 146 146 white-space: nowrap; … … 164 164 padding: 0em; 165 165 text-align: right; 166 border-right: 3px solid #333;166 border-right: 2px solid #333; 167 167 padding: 0.1em 0.1em 0em 0em; 168 168 white-space: nowrap; … … 907 907 padding: 0.2em 0.2em 0.2em 0.5em; 908 908 font-size: 1.3em; 909 border-bottom: 1px solid # ccc;910 border-left: 2px solid # aaa;911 border-right: 2px solid # aaa;909 border-bottom: 1px solid #999; 910 border-left: 2px solid #333; 911 border-right: 2px solid #333; 912 912 } 913 913 h2 a:link, … … 922 922 background-color: #eee; 923 923 color: black; 924 border-top: 1px solid # bbb;924 border-top: 1px solid #333; 925 925 } 926 926 h2.bwStatusCancelled { 927 927 background-color: #eee; 928 928 color: black; 929 border-top: 1px solid # bbb;929 border-top: 1px solid #333; 930 930 } 931 931 h2.bwStatusTentative { 932 932 background: #eee url('../../images/tentativeLines.gif') top; 933 933 color: black; 934 border-top: 1px solid # bbb;934 border-top: 1px solid #333; 935 935 } 936 936 /* Header IDs and classes */ … … 999 999 visibility: hidden; 1000 1000 } 1001 .invisible { 1002 display: none; 1003 } 1004 /* dojo widget overrides */ 1005 html .dojoFloatingPane { 1006 width: 400px; 1007 height: 200px; 1008 text-align: left; 1009 } 1010 html .dojoFloatingPaneTitleBar { 1011 color: white; 1012 background-color: #7E0000; 1013 } 1014 html .dojoFloatingPaneTitleText { 1015 padding: 0.25em 1em; 1016 font-weight: bold; 1017 font-size: 0.8em; 1018 } 1019 html .dojoFloatingPaneClient { 1020 padding: 1em; 1021 } 1022 html .dojoFloatingPaneClient input.bwWidgetSubmit { 1023 position: absolute; 1024 bottom: 1em; 1025 right: 1em; 1026 } 1027 html .dojoFloatingPaneClient #exportDateRange, 1028 html .dojoFloatingPaneClient #bwCalendarExportWidgetCalName { 1029 margin: 1em 0; 1030 text-align: center; 1031 }
