[Rt-commit] r2692 - in rt/branches/PLATANO-EXPERIMENTAL-CSS: . html html/Elements html/NoAuth html/Prefs html/Widgets

jesse at bestpractical.com jesse at bestpractical.com
Sat Apr 16 04:14:43 EDT 2005


Author: jesse
Date: Sat Apr 16 04:14:42 2005
New Revision: 2692

Modified:
   rt/branches/PLATANO-EXPERIMENTAL-CSS/   (props changed)
   rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Quicksearch
   rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/ShowSearch
   rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/webrt.css
   rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Prefs/MyRT.html
   rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Prefs/Quicksearch.html
   rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/SelectionBox
   rt/branches/PLATANO-EXPERIMENTAL-CSS/html/index.html
Log:
 r13081 at hualien:  jesse | 2005-04-16 03:01:21 -0400
  r12975 at hualien:  jesse | 2005-04-16 02:16:37 -0400
   r6764 at hualien:  jesse | 2005-03-11 18:54:06 -0500
   A bunch of small UI cleanups per customer request.
   
  
 


Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Quicksearch
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Quicksearch	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/Quicksearch	Sat Apr 16 04:14:42 2005
@@ -45,7 +45,7 @@
 %# END BPS TAGGED BLOCK }}}
 <div class="ticket-overview">
 <&|/Widgets/TitleBox, title => loc("Quick search"), bodyclass => "",
-#   titleright => loc("Customize"), titleright_href => $RT::WebPath.'/Prefs/Quicksearch.html' &>
+   titleright => loc("Edit"), titleright_href => $RT::WebPath.'/Prefs/Quicksearch.html' &>
 <& /Elements/QueueSummary,
    cache => 'quick_search_queues',
    queue_filter => sub { $_->CurrentUserHasRight('ShowTicket') && !exists $unwanted->{$_->Name} },

Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/ShowSearch
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/ShowSearch	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Elements/ShowSearch	Sat Apr 16 04:14:42 2005
@@ -46,8 +46,8 @@
 <&|/Elements/TitleBox,
     title => loc($search->Description, $rows),
     title_href => "Search/Results.html".$QueryString,
-#    titleright => loc('Customize'),
-#    titleright_href => $customize &>
+    titleright => loc('Edit'),
+    titleright_href => $customize &>
 <& /Elements/TicketList, %$SearchArg,
         Rows => $rows,
         ShowNavigation => 0

Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/webrt.css
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/webrt.css	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/NoAuth/webrt.css	Sat Apr 16 04:14:42 2005
@@ -592,13 +592,6 @@
 	content: "...";
 }
 
-SPAN.titleboxright {
-        font-size: 0.8em;
-        color: #ffffff;
-	 vertical-align: middle;
-	 text-align: right;
-        }
-
 SPAN.attribution {
   font-weight: bold;
 }
@@ -729,6 +722,13 @@
 
 /* END */
 
+SPAN.titleboxright a {
+        font-size: 0.5em;
+        color: #ffffff;
+         vertical-align: top;
+         text-align: right;
+        }
+
 %# Provide a callback for adding/modifying the style sheet.
 %# http://www.w3.org/TR/REC-CSS1 - section 3.2, says:
 %#   "latter specified rule wins"

Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Prefs/MyRT.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Prefs/MyRT.html	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Prefs/MyRT.html	Sat Apr 16 04:14:42 2005
@@ -57,13 +57,14 @@
 <&|/Elements/TitleBox, title => loc('Options'), bodyclass => "" &>
 <form method="POST" action="MyRT.html">
 <&|/l&>Summary rows</&>:<input name="SummaryRows" value="<% $ARGS{SummaryRows} %>">
-<& /Elements/Submit, Caption => loc("Save"), Label => loc('Save'), Name => 'Save' &>
+<& /Elements/Submit, Caption => loc("Save Changes"), Label => loc('Save'), Name => 'Save' &>
 </form>
 </&>
+<br>
 % for my $pane (@panes) {
 <&|/Elements/TitleBox, title => loc('RT at a glance').': '.loc($pane->{Name}), bodyclass => "" &>
-<& /Widgets/SelectionBox:show, self => $pane &>
-</&>
+<& /Widgets/SelectionBox:show, self => $pane &></&>
+<br>
 % }
 <%INIT>
 my @actions;

Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Prefs/Quicksearch.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Prefs/Quicksearch.html	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Prefs/Quicksearch.html	Sat Apr 16 04:14:42 2005
@@ -50,19 +50,18 @@
     Title => $title
 &>
 <& /Elements/ListActions, actions => \@actions &>
-
+<h1><&|/l&>Select queues to be displayed on the "RT at a glance" page</&></h1>
 <FORM METHOD="POST" ACTION="Quicksearch.html" NAME="Preferences">
-
+<ul>
 % for my $queue (@queues) {
-<input type=checkbox name="Want-<%$queue->Name%>" value="1"
+<li><input type=checkbox name="Want-<%$queue->Name%>" value="1"
 % unless ($unwanted->{$queue->Name}) {
 CHECKED
 % }
-><%$queue->Name%>
-<br>
-
+><%$queue->Name%></li>
 % }
-<& /Elements/Submit, Caption => loc("Save"), Label => loc('Save'), Name => 'Save'&>
+</ul>
+<& /Elements/Submit, Caption => loc("Save Changes"), Label => loc('Save'), Name => 'Save'&>
 
 </form>
 

Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/SelectionBox
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/SelectionBox	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/Widgets/SelectionBox	Sat Apr 16 04:14:42 2005
@@ -67,11 +67,14 @@
 %# and selected is an arrayref of selected values from @items.
 %#
 %# and in html:
-%# <& /Widgets/SelectionBox:show, self => $sel &>
+%# <& /Widgets/SelectionBox:sow, self => $sel &>
 %# 
 <%method header>
+% if (0) {
+% # no javascript for now. it's broken in ie
 <script type="text/javascript" src="<%$RT::WebPath%>/NoAuth/class.js"></script>
 <script type="text/javascript" src="<%$RT::WebPath%>/NoAuth/list.js"></script>
+% }
 </%method>
 
 <%method new>
@@ -174,9 +177,6 @@
 <& SelectionBox:current, self => $self &>
 <input type="hidden" name="fromjs" value="0">
 <&|/l&>Available</&>:
-% if ($self->{Modified}) {
-<b><&|/l&>(Modified, Please save)</&></b>
-% }
 <br>
 <select name="<%$name%>-Available" id="<%$name%>-Available" size="<%$size%>" multiple="multiple">
 % for (@{$self->{Available}}) {
@@ -197,7 +197,11 @@
  <input name="movedown" type="submit" value="v"/>
  <input name="remove" type="submit" value="<&|/l&>Delete</&>"/>
 
-<& /Elements/Submit, Caption => loc("Save"), Label => loc('Save'), Name => $name.'-Save' &>
+% my $caption = "";
+% if ($self->{Modified}) {
+% $caption = loc('Selections modified. Please save your changes');
+% }
+<& /Elements/Submit, Caption => loc($caption), Label => loc('Save'), Name => $name.'-Save' &>
 
 </form>
 

Modified: rt/branches/PLATANO-EXPERIMENTAL-CSS/html/index.html
==============================================================================
--- rt/branches/PLATANO-EXPERIMENTAL-CSS/html/index.html	(original)
+++ rt/branches/PLATANO-EXPERIMENTAL-CSS/html/index.html	Sat Apr 16 04:14:42 2005
@@ -72,7 +72,11 @@
 %# END BPS TAGGED BLOCK }}}
 <& /Elements/Tabs, 
     current_toptab => '', 
-    Title=>loc("RT at a glance") &>
+    Title=>loc("RT at a glance"),
+    actions => { A => { title => loc('Edit'),
+                        path => 'Prefs/MyRT.html'
+             } } 
+    &>
 <& /Elements/ListActions, actions => \@results &>    
 <& /Elements/MyRT &>
 <%init>


More information about the Rt-commit mailing list