Changeset 339
- Timestamp:
- 04/06/06 14:41:36
- Files:
-
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css (modified) (10 diffs)
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl (modified) (6 diffs)
- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/resources/std-print-icon.gif (modified) (previous)
- trunk/calendar3/webadmin/war/WEB-INF/web.xml (modified) (1 diff)
- trunk/calendar3/webadmin/war/docs/header.jsp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.css
r335 r339 72 72 text-decoration: none; 73 73 } 74 /*#titleBar { 75 display: none; 76 }*/ 77 #curDateRange { 74 #curDateRangeTable { 75 width: 100%; 78 76 background-color: #663; 79 77 color : #eee; 80 padding-top: 2px;78 padding-top: 3px; 81 79 padding-bottom: 1px; 82 80 padding-left: 0.5em; 83 81 padding-right: 0.5em; 84 82 margin: 0em; 83 line-height: 1.5em; 85 84 font-weight : bold; 86 85 text-align : center; 87 white-space: nowrap; 88 } 89 .rssPrint { 90 margin: 0; 91 padding-right: 1em; 86 vertical-align: middle; 87 white-space: nowrap; 88 } 89 #curDateRangeTable td.date { 90 width: 100%; 91 font-weight : bold; 92 text-align : center; 93 white-space: nowrap; 94 } 95 #curDateRangeTable td.rssPrint { 92 96 font-weight : bold; 93 97 text-align : right; 94 98 white-space: nowrap; 95 99 } 96 .rssPrint img { 97 display: inline; 100 #curDateRangeTable td.rssPrint img { 98 101 position: relative; 99 102 top: 3px; 100 103 } 101 .rssPrint a:link,102 .rssPrint a:active,103 .rssPrint a:visited {104 #curDateRangeTable td.rssPrint a:link, 105 #curDateRangeTable td.rssPrint a:active, 106 #curDateRangeTable td.rssPrint a:visited { 104 107 font-size: 10px; 105 108 color: #eee; … … 112 115 top: -3px; 113 116 } 114 .rssPrint a:hover {117 #curDateRangeTable td.rssPrint a:hover { 115 118 color: #663; 116 119 background-color: #fff; 117 120 } 118 .rssPrint a.rss:link,119 .rssPrint a.rss:active,120 .rssPrint a.rss:visited {121 #curDateRangeTable td.rssPrint a.rss:link, 122 #curDateRangeTable td.rssPrint a.rss:active, 123 #curDateRangeTable td.rssPrint a.rss:visited { 121 124 font-size: 10px; 122 125 font-weight: bold; … … 132 135 border: solid 1px #666; 133 136 } 134 .rssPrint a.rss:hover {137 #curDateRangeTable td.rssPrint a.rss:hover { 135 138 color: #900; 136 139 background-color: #fff; … … 164 167 } 165 168 #sideBarOpenCloseIcon { 166 position: absolute; 169 float: left; 170 margin: 3px 0; 171 vertical-align: middle; 172 /*position: absolute; 167 173 left: 32px; 168 padding-top: 3px; 174 padding-top: 3px;*/ 169 175 }/* 170 176 #bodyBlock td#sideBar #sideBarTabs { … … 206 212 padding: 0; 207 213 } 208 #u serBarTable {214 #utilBarTable { 209 215 margin: 0; 210 216 padding: 0; … … 213 219 font-size: 0.9em; 214 220 } 215 #u serBarTable .leftCell {221 #utilBarTable .leftCell { 216 222 margin: 0; 217 223 padding: 0; … … 219 225 white-space: nowrap; 220 226 } 221 #u serBarTable .leftCell .link {227 #utilBarTable .leftCell .link { 222 228 font-size: 0.8em; 223 229 padding-left: 1em; … … 225 231 background-color: transparent; 226 232 } 227 #u serBarTable .leftCell a {233 #utilBarTable .leftCell a { 228 234 color: #999; 229 235 background-color: transparent; 230 236 } 231 #u serBarTable .logout {232 font-size: 0.8em; 233 } 234 #u serBarTable .rightCell {237 #utilBarTable .logout { 238 font-size: 0.8em; 239 } 240 #utilBarTable .rightCell { 235 241 margin: 0; 236 242 padding: 0.1em 0.2em 0 0; … … 238 244 white-space: nowrap; 239 245 } 240 #u serBarTable form {246 #utilBarTable form { 241 247 margin: 0px 0px 1px 0px; 242 248 padding: 0em; … … 249 255 background-color: #333; 250 256 color: #eee; 257 font-size: 0.8em; 258 } 259 #tabsTable td { 260 white-space: nowrap; 251 261 } 252 262 #tabsTable .centerCell { 253 263 text-align: left; 254 264 background : url(../../resources/std-tab-space.gif); 255 font-size: 0.8em;256 white-space: nowrap;257 265 width: 100%; 258 266 padding-left: 0.5em; 259 267 } 260 #tabsTable .centerCell a { 268 #tabsTable a { 269 background-color: inherit; 261 270 color: #ccc; 262 271 } 263 272 #tabsTable .rightCell { 264 273 background : url(../../resources/std-tab-space.gif); 265 padding -right:0.5em;274 padding: 0 0.5em; 266 275 } 267 276 #navigationBarTable { trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r335 r339 148 148 <!-- otherwise, show the eventsCalendar --> 149 149 <xsl:call-template name="navigation"/> 150 <xsl:call-template name="u serBar"/>150 <xsl:call-template name="utilBar"/> 151 151 <!-- main eventCalendar content --> 152 152 <xsl:choose> … … 231 231 </tr> 232 232 </table> 233 < div id="curDateRange">234 < div id="sideBarOpenCloseIcon">233 <table id="curDateRangeTable" cellspacing="0"> 234 <td> 235 235 <xsl:choose> 236 236 <xsl:when test="/bedework/appvar[key='sidebar']/value='closed'"> … … 245 245 </xsl:otherwise> 246 246 </xsl:choose> 247 </div> 248 <xsl:value-of select="/bedework/firstday/longdate"/> 249 <xsl:if test="/bedework/periodname!='Day'"> 250 - 251 <xsl:value-of select="/bedework/lastday/longdate"/> 252 </xsl:if> 253 </div> 247 </td> 248 <td class="date"> 249 <xsl:value-of select="/bedework/firstday/longdate"/> 250 <xsl:if test="/bedework/periodname!='Day'"> 251 - 252 <xsl:value-of select="/bedework/lastday/longdate"/> 253 </xsl:if> 254 </td> 255 <td class="rssPrint"> 256 <a href="javascript:window.print()" title="print this view"> 257 <img alt="print this view" src="{$resourcesRoot}/resources/std-print-icon.gif" width="20" height="14" border="0"/> print 258 </a> 259 <a class="rss" href="{$setSelection}?calId=&setappvar=summaryMode(details)&skinName=rss" title="RSS feed">RSS</a> 260 </td> 261 </table> 254 262 </xsl:template> 255 263 … … 312 320   313 321 </td> 314 <td class="rssPrint">315 <a href="javascript:window.print()" title="print this view">316 <img alt="print this view" src="{$resourcesRoot}/resources/std-print-icon.gif" width="20" height="14" border="0"/> print317 </a>318 <a class="rss" href="{$setSelection}?calId=&setappvar=summaryMode(details)&skinName=rss" title="RSS feed">RSS</a>319 </td>320 321 322 <td class="rightCell"> 322   323 Welcome 324 <xsl:text> </xsl:text> 325 <strong><xsl:value-of select="/bedework/userid"/></strong> 326 <xsl:text> </xsl:text> 327 <span class="logout"><a href="{$setup}?logout=true">logout</a></span> 323 328 </td> 324 329 </tr> … … 344 349 </td> 345 350 <td class="rightCell"> 346   351 Welcome 352 <xsl:text> </xsl:text> 353 <strong><xsl:value-of select="/bedework/userid"/></strong> 354 <xsl:text> </xsl:text> 355 <span class="logout"><a href="{$setup}?logout=true">logout</a></span> 347 356 </td> 348 357 </tr> … … 461 470 </xsl:template> 462 471 463 <xsl:template name="u serBar">464 <table width="100%" border="0" cellpadding="0" cellspacing="0" id="u serBarTable">472 <xsl:template name="utilBar"> 473 <table width="100%" border="0" cellpadding="0" cellspacing="0" id="utilBarTable"> 465 474 <tr> 466 475 <td class="leftCell"> 467 Logged in as:468 <xsl:text> </xsl:text>469 <strong><xsl:value-of select="/bedework/userid"/></strong>470 <xsl:text> </xsl:text>471 <span class="logout"><a href="{$setup}?logout=true">logout</a></span>472 476 <!--<xsl:choose> 473 477 <xsl:when test="/bedework/title!=''"> trunk/calendar3/webadmin/war/WEB-INF/web.xml
r293 r339 175 175 <taglib-uri>struts-template</taglib-uri> 176 176 <taglib-location>/WEB-INF/tlds/struts-template.tld</taglib-location> 177 </taglib> 178 179 <taglib> 180 <taglib-uri>bedework</taglib-uri> 181 <taglib-location>/WEB-INF/tlds/bedework.tld</taglib-location> 177 182 </taglib> 178 183 </jsp-config> trunk/calendar3/webadmin/war/docs/header.jsp
r317 r339 4 4 <%@ taglib uri='struts-html' prefix='html' %> 5 5 <%@ taglib uri='struts-genurl' prefix='genurl' %> 6 <%@ taglib uri='bedework' prefix='bw' %> 6 7 <html:xhtml/> 7 8 <% … … 192 193 193 194 <!-- user and group --> 194 <logic:equal name="peForm" property="userAuth.contentAdminUser" value="true" > 195 <user><bean:write name="peForm" property="adminUserId" /></user> 196 <logic:present name="peForm" property="adminGroup" > 197 <group><bean:write name="peForm" property="adminGroup.account" /></group> 198 </logic:present> 199 </logic:equal> 200 195 <bw:emitText name="peForm" property="adminUserId" tagName="user"/> 196 <bw:emitText name="peForm" property="adminGroup.account" tagName="group"/> 201 197 </userInfo> 202 198
