Changeset 2122
- Timestamp:
- 04/09/09 15:07:52
- Files:
-
- trunk/deployment/resources/javascript/bedework/bedeworkAccess.js (modified) (2 diffs)
- trunk/deployment/resources/javascript/jquery/bedeworkJqueryThemes.css (modified) (1 diff)
- trunk/deployment/resources/login/login.html (modified) (2 diffs)
- trunk/deployment/webadmin/webapp/resources/default/default/default.css (modified) (1 diff)
- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (6 diffs)
- trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/resources/javascript/bedework/bedeworkAccess.js
r2079 r2122 655 655 try { 656 656 657 // get the aclWidget and throw out the existing contents 657 658 var aclWidget = document.getElementById(id); 658 aclWidget. innerHTML = "";659 aclWidget.removeChild(aclWidget.firstChild); 659 660 660 661 var bwCurrentAccess = document.createElement("table"); … … 663 664 bwCurrentAccess.createTHead(); 664 665 bwCurrAccessHead = bwCurrentAccess.tHead.insertRow(0); 665 bwCurrAccessHead.innerHTML = '<th>' + bwAclWidgetEntryStr + '</th>' + '<th>' + bwAclWidgetAccessStr + '</th>' + '<th>' + bwAclWidgetInheritedStr + '</th><th></th>'; 666 // build the th row using the DOM to avoid IE8 issues (i.e. avoid innerHTML) 667 var th1 = document.createElement("th"); 668 var txt1 = document.createTextNode(bwAclWidgetEntryStr); 669 var th2 = document.createElement("th"); 670 var txt2 = document.createTextNode(bwAclWidgetAccessStr); 671 var th2 = document.createElement("th"); 672 var txt3 = document.createTextNode(bwAclWidgetInheritedStr); 673 var th3 = document.createElement("th"); 674 var th4 = document.createElement("th"); 675 th1.appendChild(txt1); 676 th2.appendChild(txt2); 677 th3.appendChild(txt3); 678 bwCurrAccessHead.appendChild(th1); 679 bwCurrAccessHead.appendChild(th2); 680 bwCurrAccessHead.appendChild(th3); 681 bwCurrAccessHead.appendChild(th4); 682 666 683 var bwCurrAccessTBody = document.createElement("tbody"); 667 684 bwCurrentAccess.appendChild(bwCurrAccessTBody); trunk/deployment/resources/javascript/jquery/bedeworkJqueryThemes.css
r1967 r2122 214 214 height: 200px; /*must have*/ 215 215 } 216 217 216 /* UI DIALOG */ 217 218 /* Dialog 219 ----------------------------------*/ 220 .ui-dialog { position: relative; padding: .2em; width: 300px; } 221 .ui-dialog .ui-dialog-titlebar { padding: .5em .3em .3em 1em; position: relative; } 222 .ui-dialog .ui-dialog-title { float: left; margin: .1em 0 .2em; } 223 .ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } 224 .ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } 225 .ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } 226 .ui-dialog .ui-dialog-content { border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } 227 .ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } 228 .ui-dialog .ui-dialog-buttonpane button { float: right; margin: .5em .4em .5em 0; cursor: pointer; padding: .2em .6em .3em .6em; line-height: 1.4em; width:auto; overflow:visible; } 229 .ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } 230 .ui-draggable .ui-dialog-titlebar { cursor: move; } trunk/deployment/resources/login/login.html
r2071 r2122 35 35 padding-right: 0.5em; 36 36 } 37 #loginBox input { 38 width: 10em; 39 } 40 #loginBox input.submit { 41 width: 6em; 42 } 37 43 form { 38 44 margin: 1em 0; … … 63 69 <td> 64 70 <input type="password" name="j_password" size="20"/> 65 <input type="submit" name="j_security_check" value="login"/>71 <input type="submit" class="submit" name="j_security_check" value="login"/> 66 72 </td> 67 73 </tr> trunk/deployment/webadmin/webapp/resources/default/default/default.css
r2105 r2122 484 484 background-color: transparent; 485 485 } 486 table.common2 { 487 border-top: 1px solid #ddd; 488 border-left: 1px solid #ddd; 489 } 490 table.common2 th, 491 table.common2 td { 492 padding: 0.5em; 493 border-bottom: 1px solid #ddd; 494 border-right: 1px solid #ddd; 495 text-align: left; 496 vertical-align: top; 497 font-weight: normal; 498 } 499 table.common2 th { 500 color: black; 501 background-color: #eee; 502 } 486 503 #confirmButtons { 487 504 margin: 1em 0 !important; trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2109 r2122 2081 2081 </td> 2082 2082 <td> 2083 <xsl:copy-of select="form/desc/*"/> 2083 <textarea name="description" cols="55" rows="8"> 2084 <xsl:copy-of select="form/desc/textarea/*"/> 2085 <xsl:if test="form/desc/textarea = ''"><xsl:text> </xsl:text></xsl:if> 2086 </textarea> 2084 2087 <div class="fieldInfo"> 2085 2088 Enter all pertinent information, including the academic titles of … … 4714 4717 <form name="eventForm" method="post" action="{$event-upload}" id="standardForm" enctype="multipart/form-data"> 4715 4718 <h2>Upload iCAL File</h2> 4716 <table class="common " cellspacing="0">4717 <tr> 4718 <t d class="fieldname">4719 <table class="common2" cellspacing="0"> 4720 <tr> 4721 <th> 4719 4722 Filename: 4720 </t d>4723 </th> 4721 4724 <td align="left"> 4722 4725 <input type="file" name="uploadFile" size="60" /> … … 4724 4727 </tr> 4725 4728 <tr> 4726 <t d class="fieldname padMeTop">4729 <th> 4727 4730 Into calendar: 4728 </t d>4731 </th> 4729 4732 <td align="left" class="padMeTop"> 4730 4733 <input type="hidden" name="newCalPath" value=""/> … … 4737 4740 </tr> 4738 4741 <tr> 4739 <t d class="fieldname padMeTop">4742 <th > 4740 4743 Effects free/busy: 4741 </t d>4744 </th> 4742 4745 <td align="left" class="padMeTop"> 4743 4746 <input type="radio" value="" name="transparency" checked="checked"/> accept event's settings<br/> … … 4747 4750 </tr> 4748 4751 <tr> 4749 <t d class="fieldname padMeTop">4752 <th> 4750 4753 Status: 4751 </t d>4754 </th> 4752 4755 <td align="left" class="padMeTop"> 4753 4756 <input type="radio" value="" name="status" checked="checked"/> accept event's status<br/> … … 5919 5922 </th> 5920 5923 <td> 5921 <textarea name="def" rows="30" cols="80"></textarea> 5924 <textarea name="def" rows="30" cols="80"> 5925 <xsl:text> </xsl:text> 5926 </textarea> 5922 5927 </td> 5923 5928 </tr> trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r2121 r2122 402 402 losing the script closing tags (which avoids browser problems) --> 403 403 <script type="text/javascript" src="{$resourcesRoot}/resources/bedework.js"> </script> 404 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1. 3.2.min.js"> </script>405 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1. 7.1.custom.min.js"> </script>406 <link rel="stylesheet" href="/bedework-common/javascript/jquery/ css/custom-theme/jquery-ui-1.7.1.custom.css"/>404 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.2.6.min.js"> </script> 405 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-ui-1.5.2.min.js"> </script> 406 <link rel="stylesheet" href="/bedework-common/javascript/jquery/bedeworkJqueryThemes.css"/> 407 407 408 408 <xsl:if test="/bedework/page='modSchedulingPrefs' or … … 411 411 <script type="text/javascript" src="{$resourcesRoot}/resources/bedeworkPrefs.js"> </script> 412 412 </xsl:if> 413 413 414 <xsl:if test="/bedework/page='modCalendar' or 414 415 /bedework/page='modSchedulingPrefs'"> … … 422 423 </xsl:if> 423 424 </xsl:if> 425 424 426 <xsl:if test="/bedework/page='attendees'"> 425 427 <script type="text/javascript" src="/bedework-common/javascript/jquery/jquery-1.2.6.min.js"> </script> … … 429 431 <link rel="stylesheet" type="text/css" href="/bedework-common/javascript/jquery/autocomplete/jquery.autocomplete.css" /> 430 432 </xsl:if> 433 431 434 <xsl:if test="/bedework/page='addEvent' or 432 435 /bedework/page='editEvent' or … … 489 492 </script> 490 493 </xsl:if> 494 491 495 <script type="text/javascript"> 492 496 <xsl:comment> … … 723 727 </ul> 724 728 </div> 725 <!-- table cellspacing="0" id="tabsTable">726 <tr>727 <td>728 <xsl:choose>729 <xsl:when test="/bedework/periodname='Day'">730 <a href="{$navAction}&viewType=dayView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-day-on.gif" width="90" height="20" border="0" alt="DAY"/></a>731 </xsl:when>732 <xsl:otherwise>733 <a href="{$navAction}&viewType=dayView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-day-off.gif" width="90" height="20" border="0" alt="DAY"/></a>734 </xsl:otherwise>735 </xsl:choose>736 </td>737 <td>738 <xsl:choose>739 <xsl:when test="/bedework/periodname='Week' or /bedework/periodname=''">740 <a href="{$navAction}&viewType=weekView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-week-on.gif" width="92" height="20" border="0" alt="WEEK"/></a>741 </xsl:when>742 <xsl:otherwise>743 <a href="{$navAction}&viewType=weekView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a>744 </xsl:otherwise>745 </xsl:choose>746 </td>747 <td>748 <xsl:choose>749 <xsl:when test="/bedework/periodname='Month'">750 <a href="{$navAction}&viewType=monthView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-month-on.gif" width="90" height="20" border="0" alt="MONTH"/></a>751 </xsl:when>752 <xsl:otherwise>753 <a href="{$navAction}&viewType=monthView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a>754 </xsl:otherwise>755 </xsl:choose>756 </td>757 <td>758 <xsl:choose>759 < ! - - don't allow switching to year for free busy view, so only use setViewPeriod action - - >760 <xsl:when test="/bedework/periodname='Year'">761 <a href="{$setViewPeriod}&viewType=yearView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-year-on.gif" width="92" height="20" border="0" alt="YEAR"/></a>762 </xsl:when>763 <xsl:otherwise>764 <xsl:choose>765 <xsl:when test="/bedework/page='attendees' or /bedework/page='freeBusy'">766 <img src="{$resourcesRoot}/resources/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/>767 </xsl:when>768 <xsl:otherwise>769 <a href="{$setViewPeriod}&viewType=yearView&date={$curdate}"><img src="{$resourcesRoot}/resources/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a>770 </xsl:otherwise>771 </xsl:choose>772 </xsl:otherwise>773 </xsl:choose>774 </td>775 <td class="rightCell">776 logged in as777 <xsl:text> </xsl:text>778 <strong><xsl:value-of select="/bedework/userid"/></strong>779 <xsl:text> </xsl:text>780 <span class="logout"><a href="{$setup}&logout=true">logout</a></span>781 </td>782 </tr>783 </table-->784 729 </xsl:template> 785 730 … … 2609 2554 </xsl:when> 2610 2555 <xsl:otherwise> 2611 <!-- span dojoType="dropdowndatepicker" formatLength="medium" value="today" saveFormat="yyyyMMdd" id="bwEventWidgetStartDate" iconURL="{$resourcesRoot}/resources/calIcon.gif">2612 <xsl:attribute name="value"><xsl:value-of select="form/start/rfc3339DateTime"/></xsl:attribute>2613 <xsl:text> </xsl:text>2614 </span -->2615 2556 <input type="text" name="bwEventWidgetStartDate" id="bwEventWidgetStartDate" size="10"/> 2616 2557 <script type="text/javascript"> … … 2620 2561 }).attr("readonly", "readonly"); 2621 2562 $("#bwEventWidgetStartDate").val('<xsl:value-of select="substring-before(form/start/rfc3339DateTime,'T')"/>'); 2622 //alert($("#bwEventWidgetStartDate").datepicker("getDate"));2623 2563 </xsl:comment> 2624 2564 </script> … … 3712 3652 </xsl:apply-templates> 3713 3653 </xsl:if> 3714 < pclass="editAttendees">3654 <div class="editAttendees"> 3715 3655 <xsl:choose> 3716 3656 <xsl:when test="form/scheduleMethod = '2'"> … … 3728 3668 </xsl:otherwise> 3729 3669 </xsl:choose> 3730 </ p>3670 </div> 3731 3671 </div> 3732 3672 </div>
