[Rt-commit] r3494 - in rt/branches/3.5-TESTING: . html/Helpers html/NoAuth/css/3.5-default html/NoAuth/js html/Widgets

trs at bestpractical.com trs at bestpractical.com
Sun Jul 17 19:23:08 EDT 2005


Author: trs
Date: Sun Jul 17 19:23:07 2005
New Revision: 3494

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/html/Helpers/CalPopup.html
   rt/branches/3.5-TESTING/html/NoAuth/css/3.5-default/misc.css
   rt/branches/3.5-TESTING/html/NoAuth/js/util.js
   rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart
Log:
 r5167 at wintermute:  tom | 2005-07-17 18:12:47 -0400
 * Fixed titlebox hide/show widget state-ness and reverted back to an 'X'.
 * Changed CalPopup.html to be a better size and have no footer


Modified: rt/branches/3.5-TESTING/html/Helpers/CalPopup.html
==============================================================================
--- rt/branches/3.5-TESTING/html/Helpers/CalPopup.html	(original)
+++ rt/branches/3.5-TESTING/html/Helpers/CalPopup.html	Sun Jul 17 19:23:07 2005
@@ -1,7 +1,7 @@
 <& /Elements/Header, ShowBar => 0 &>
 %# From /Elements/Header
 </div>
-<div id="body">
+<div id="body" class="calpopup">
 
 <a href="#" onclick="window.close(); return false;"><&|/l&>Close window</&></a>
 
@@ -33,6 +33,10 @@
 % } # foreach $week
   </table>
 </div>
+</div>
+</body>
+</html>
+% $m->abort();
 
 <%init>
 use Calendar::Simple;

Modified: rt/branches/3.5-TESTING/html/NoAuth/css/3.5-default/misc.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/3.5-default/misc.css	(original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/3.5-default/misc.css	Sun Jul 17 19:23:07 2005
@@ -52,9 +52,13 @@
 
 .hide, .hidden { display: none !important; }
 
+#body.calpopup {
+    margin-left: 2em;
+}
+
 .calendar {
     text-align: center;
-    margin: 2em auto 0 auto;
+    margin: 2em 0 0 0;
 }
 
 .calendar td, .calendar th { padding: 0.1em 0.25em 0.1em 0.25em; }

Modified: rt/branches/3.5-TESTING/html/NoAuth/js/util.js
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/js/util.js	(original)
+++ rt/branches/3.5-TESTING/html/NoAuth/js/util.js	Sun Jul 17 19:23:07 2005
@@ -18,7 +18,6 @@
         if (state == 'shown') {
             show(e);
             link.className = link.className.replace(/\s?\brolled-up\b/, '');
-            link.innerHTML = 'v';
         }
         else if (state == 'hidden') {
             hide(e);
@@ -26,8 +25,6 @@
                 link.className += ' rolled-up';
             else
                 link.className = 'rolled-up';
-
-            link.innerHTML = '^';
         }
     }
 }
@@ -70,7 +67,7 @@
 }
 
 function openCalWindow(field) {
-    var objWindow = window.open('<%$RT::WebPath%>/Helpers/CalPopup.html?field='+field, '<% loc("Choose a date") %>', 'height=400,width=400,scrollbars=1');
+    var objWindow = window.open('<%$RT::WebPath%>/Helpers/CalPopup.html?field='+field, '<% loc("Choose a date") %>', 'height=235,width=285,scrollbars=1');
     objWindow.focus();
 }
 

Modified: rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart
==============================================================================
--- rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart	(original)
+++ rt/branches/3.5-TESTING/html/Widgets/TitleBoxStart	Sun Jul 17 19:23:07 2005
@@ -46,7 +46,7 @@
 <div class="titlebox<% $class && " $class" %>"<% $id && qq[ id="$id"] |n %>>
   <div class="title<% $title_class && " $title_class" %>">
 % if ($hideable) {
-    <span class="widget"><a href="#" id="<%$tid%>-link" onclick="return rollup('<%$tid%>');" onfocus="this.blur(); return false;">^</a></span>
+    <span class="widget"><a href="#" id="<%$tid%>-link" onclick="return rollup('<%$tid%>');" onfocus="this.blur(); return false;" title="Toggle visibility">X</a></span>
 % }
     <span class="left"><% $title_href && qq[<a href="$title_href">] | n %><% $title |n %><% $title_href && "</a>" |n%></span>
     <span class="right"><% $titleright_href && qq[<a href="$titleright_href">] | n %><% $titleright |n %><% $titleright_href && "</a>" |n%></span>


More information about the Rt-commit mailing list