Changeset 2518
- Timestamp:
- 12/19/09 03:11:31
- Files:
-
- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (5 diffs)
- trunk/deployment/webadmin/webapp/resources/default/default/strings.xsl (modified) (2 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/strings.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/bedework.xsl (modified) (3 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/css/fixed.css (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/deadlines.xsl (added)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeSettings.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeUtil.xsl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2506 r2518 1280 1280 </td> 1281 1281 <td> 1282 <input type="text" value="Bfranklin plays chess"size="60" name="summary">1282 <input type="text" size="60" name="summary"> 1283 1283 <xsl:attribute name="value"><xsl:value-of select="form/title/input/@value"/></xsl:attribute> 1284 1284 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> … … 1289 1289 </div> 1290 1290 </xsl:if> 1291 </td> 1292 </tr> 1293 1294 <tr> 1295 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 1296 <td class="fieldName"> 1297 <xsl:copy-of select="$bwStr-AEEF-Type"/> 1298 </td> 1299 <td> 1300 <input type="radio" name="entityType" value="1"/><xsl:copy-of select="$bwStr-AEEF-Event"/> 1301 <input type="radio" name="entityType" value="2"/><xsl:copy-of select="$bwStr-AEEF-Deadline"/> 1291 1302 </td> 1292 1303 </tr> … … 1394 1405 1395 1406 <!-- floating event: no timezone (and not UTC) --> 1396 <xsl:choose> 1397 <xsl:when test="form/floating/input/@checked='checked'"> 1398 <input type="checkbox" name="floatingFlag" id="floatingFlag" onclick="swapFloatingTime(this)" value="on" checked="checked"/> 1399 <input type="hidden" name="eventStartDate.floating" value="on" id="startFloating"/> 1400 <input type="hidden" name="eventEndDate.floating" value="on" id="endFloating"/> 1401 </xsl:when> 1402 <xsl:otherwise> 1403 <input type="checkbox" name="floatingFlag" id="floatingFlag" onclick="swapFloatingTime(this)" value="off"/> 1404 <input type="hidden" name="eventStartDate.floating" value="off" id="startFloating"/> 1405 <input type="hidden" name="eventEndDate.floating" value="off" id="endFloating"/> 1406 </xsl:otherwise> 1407 </xsl:choose> 1408 <xsl:copy-of select="$bwStr-AEEF-Floating"/> 1407 <!-- let's hide it completely unless it comes in checked 1408 (e.g. from import); to restore this field, remove the if --> 1409 <xsl:if test="form/floating/input/@checked='checked'"> 1410 <xsl:choose> 1411 <xsl:when test="form/floating/input/@checked='checked'"> 1412 <input type="checkbox" name="floatingFlag" id="floatingFlag" onclick="swapFloatingTime(this)" value="on" checked="checked"/> 1413 <input type="hidden" name="eventStartDate.floating" value="on" id="startFloating"/> 1414 <input type="hidden" name="eventEndDate.floating" value="on" id="endFloating"/> 1415 </xsl:when> 1416 <xsl:otherwise> 1417 <input type="checkbox" name="floatingFlag" id="floatingFlag" onclick="swapFloatingTime(this)" value="off"/> 1418 <input type="hidden" name="eventStartDate.floating" value="off" id="startFloating"/> 1419 <input type="hidden" name="eventEndDate.floating" value="off" id="endFloating"/> 1420 </xsl:otherwise> 1421 </xsl:choose> 1422 <xsl:copy-of select="$bwStr-AEEF-Floating"/> 1423 </xsl:if> 1409 1424 1410 1425 <!-- store time as coordinated universal time (UTC) --> 1411 <xsl:choose> 1412 <xsl:when test="form/storeUTC/input/@checked='checked'"> 1413 <input type="checkbox" name="storeUTCFlag" id="storeUTCFlag" onclick="swapStoreUTC(this)" value="on" checked="checked"/> 1414 <input type="hidden" name="eventStartDate.storeUTC" value="on" id="startStoreUTC"/> 1415 <input type="hidden" name="eventEndDate.storeUTC" value="on" id="endStoreUTC"/> 1416 </xsl:when> 1417 <xsl:otherwise> 1418 <input type="checkbox" name="storeUTCFlag" id="storeUTCFlag" onclick="swapStoreUTC(this)" value="off"/> 1419 <input type="hidden" name="eventStartDate.storeUTC" value="off" id="startStoreUTC"/> 1420 <input type="hidden" name="eventEndDate.storeUTC" value="off" id="endStoreUTC"/> 1421 </xsl:otherwise> 1422 </xsl:choose> 1423 <xsl:copy-of select="$bwStr-AEEF-StoreAsUTC"/> 1426 <!-- like floating time, let's hide UTC completely unless an 1427 event comes in checked; (e.g. from import); 1428 to restore this field, remove the if --> 1429 <xsl:if test="form/storeUTC/input/@checked='checked'"> 1430 <xsl:choose> 1431 <xsl:when test="form/storeUTC/input/@checked='checked'"> 1432 <input type="checkbox" name="storeUTCFlag" id="storeUTCFlag" onclick="swapStoreUTC(this)" value="on" checked="checked"/> 1433 <input type="hidden" name="eventStartDate.storeUTC" value="on" id="startStoreUTC"/> 1434 <input type="hidden" name="eventEndDate.storeUTC" value="on" id="endStoreUTC"/> 1435 </xsl:when> 1436 <xsl:otherwise> 1437 <input type="checkbox" name="storeUTCFlag" id="storeUTCFlag" onclick="swapStoreUTC(this)" value="off"/> 1438 <input type="hidden" name="eventStartDate.storeUTC" value="off" id="startStoreUTC"/> 1439 <input type="hidden" name="eventEndDate.storeUTC" value="off" id="endStoreUTC"/> 1440 </xsl:otherwise> 1441 </xsl:choose> 1442 <xsl:copy-of select="$bwStr-AEEF-StoreAsUTC"/> 1443 </xsl:if> 1424 1444 1425 1445 <br/> … … 2343 2363 </tr> 2344 2364 <!-- Transparency --> 2365 <!-- let's not set this in the public client, and let the defaults hold 2345 2366 <tr> 2346 2367 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> … … 2359 2380 <xsl:copy-of select="$bwStr-AEEF-NoTransparent"/> 2360 2381 </td> 2361 </tr> 2382 </tr> --> 2362 2383 <!-- Description --> 2363 2384 <tr> trunk/deployment/webadmin/webapp/resources/default/default/strings.xsl
r2492 r2518 121 121 <xsl:variable name="bwStr-AEEF-For">for</xsl:variable> 122 122 <xsl:variable name="bwStr-AEEF-Title">Title:</xsl:variable> 123 <xsl:variable name="bwStr-AEEF-Type">Type:</xsl:variable> 123 124 <xsl:variable name="bwStr-AEEF-Calendar">Calendar:</xsl:variable> 124 125 <xsl:variable name="bwStr-AEEF-SelectColon">Select:</xsl:variable> … … 143 144 <xsl:variable name="bwStr-AEEF-Task">task</xsl:variable> 144 145 <xsl:variable name="bwStr-AEEF-Event">event</xsl:variable> 146 <xsl:variable name="bwStr-AEEF-Deadline">deadline</xsl:variable> 145 147 <xsl:variable name="bwStr-AEEF-HasNoDurationEndDate">has no duration / end date</xsl:variable> 146 148 <xsl:variable name="bwStr-AEEF-ThisEventHasNoDurationEndDate">This event has no duration / end date</xsl:variable> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/strings.xsl
r2517 r2518 28 28 <xsl:variable name="bwStr-Ongoing-Title">Ongoing</xsl:variable> 29 29 <xsl:variable name="bwStr-Ongoing-NoEvents">There are no ongoing events in this time period or view</xsl:variable> 30 31 <!-- deadlines --> 32 <xsl:variable name="bwStr-Deadline-Title">Deadlines</xsl:variable> 33 <xsl:variable name="bwStr-Deadline-NoEvents">There are no deadlines in this time period or view</xsl:variable> 34 30 35 31 36 <!-- xsl:template name="tabs" --> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/bedework.xsl
r2517 r2518 54 54 <!-- DEFINE INCLUDES --> 55 55 <!-- Theme preferences --> 56 <xsl:include href=" ./themeSettings.xsl" />57 s 56 <xsl:include href="themeSettings.xsl" /> 57 58 58 <!-- theme utility functions --> 59 <xsl:include href=" ./themeUtil.xsl" />59 <xsl:include href="themeUtil.xsl" /> 60 60 61 61 <!-- Page subsections --> 62 <xsl:include href=" ./head.xsl" />63 <xsl:include href=" ./header.xsl" />64 <xsl:include href=" ./leftColumn.xsl" />62 <xsl:include href="head.xsl" /> 63 <xsl:include href="header.xsl" /> 64 <xsl:include href="leftColumn.xsl" /> 65 65 <xsl:include href="views.xsl" /> 66 66 <xsl:include href="featuredEvents.xsl"/> … … 72 72 <xsl:include href="search.xsl"/> 73 73 <xsl:include href="ongoing.xsl" /> 74 <xsl:include href="deadlines.xsl" /> 74 75 <xsl:include href="groups.xsl"/> 75 76 <xsl:include href="systemStats.xsl"/> … … 169 170 </div> 170 171 171 <!-- ONGOING EVENTS , if enabled -->172 <xsl:if test="$ongoingEvents = 'true' ">172 <!-- ONGOING EVENTS and DEADLINES, if enabled --> 173 <xsl:if test="$ongoingEvents = 'true' or $deadlines = 'true'"> 173 174 <div class="right_column" id="right_column"> 174 <xsl:call-template name="ongoingEventList" /> 175 <xsl:if test="$ongoingEvents = 'true'"> 176 <xsl:call-template name="ongoingEventList" /> 177 </xsl:if> 178 <xsl:if test="$deadlines = 'true'"> 179 <xsl:call-template name="deadlines" /> 180 </xsl:if> 175 181 </div> 176 182 </xsl:if> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/css/fixed.css
r2517 r2518 295 295 .secondaryColHeader { 296 296 padding: 0 0 0 10px; 297 background : #273E6D;297 background-color: #273E6D; 298 298 white-space: nowrap; 299 299 clear: both; 300 300 } 301 .secondaryColHeader h3 { 301 .secondaryColHeaderGray { 302 padding: 0 0 0 10px; 303 background-color: #E0E6D8; 304 color: #273E6D; 305 white-space: nowrap; 306 clear: both; 307 } 308 .secondaryColHeader h3, 309 .secondaryColHeaderGray h3 { 302 310 display: inline; 303 311 } trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeSettings.xsl
r2516 r2518 44 44 45 45 46 <!-- DEADLINES/TASKS --> 47 <!-- use the deadlines sidebar? --> 48 <!-- if deadlines sidebar is enabled, deadlines will appear 49 in the sidebar under ongoing events --> 50 <xsl:variable name="deadlinesEnabled">true</xsl:variable> 51 52 <!-- always display sidebar, even if no deadlines are present? --> 53 <xsl:variable name="deadlinesAlwaysDisplayed">true</xsl:variable> 54 46 55 47 56 <!-- VIEW HIERARCHY --> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeUtil.xsl
r2511 r2518 23 23 </xsl:variable> 24 24 25 <!-- look for existence of deadlines --> 26 <xsl:variable name="deadlines"> 27 <xsl:choose> 28 <xsl:when test="$deadlinesEnabled = 'true' and 29 /bedework/page = 'eventscalendar' and 30 /bedework/periodname != 'Year'"> 31 <xsl:choose> 32 <xsl:when test="$deadlinesAlwaysDisplayed = 'true'">true</xsl:when> 33 <xsl:when test="/bedework/eventscalendar//event/entityType = 2">true</xsl:when> 34 <xsl:otherwise>false</xsl:otherwise> 35 </xsl:choose> 36 </xsl:when> 37 <xsl:otherwise>false</xsl:otherwise> 38 </xsl:choose> 39 </xsl:variable> 40 25 41 </xsl:stylesheet>
