[Rt-commit] r11241 - in rt/branches/3.8-TESTING: . html/Admin html/Admin/Elements html/Admin/Groups html/Elements html/NoAuth/css/web2 html/Ticket/Elements

jesse at bestpractical.com jesse at bestpractical.com
Thu Mar 27 14:51:23 EDT 2008


Author: jesse
Date: Thu Mar 27 14:51:22 2008
New Revision: 11241

Added:
   rt/branches/3.8-TESTING/html/Elements/ListMenu
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/admin.css
Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/html/Admin/Elements/EditCustomFieldValues
   rt/branches/3.8-TESTING/html/Admin/Elements/EditQueueWatchers
   rt/branches/3.8-TESTING/html/Admin/Elements/EditScrips
   rt/branches/3.8-TESTING/html/Admin/Elements/EditTemplates
   rt/branches/3.8-TESTING/html/Admin/Global/index.html
   rt/branches/3.8-TESTING/html/Admin/Groups/Members.html
   rt/branches/3.8-TESTING/html/Admin/index.html
   rt/branches/3.8-TESTING/html/Elements/EditLinks
   rt/branches/3.8-TESTING/html/Elements/RefreshHomepage
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/boxes.css
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/main.css
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/nav.css
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-lists.css
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-search.css
   rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket.css
   rt/branches/3.8-TESTING/html/Ticket/Elements/ShowTransaction

Log:
 r28667 at 31b:  jesse | 2008-03-27 14:51:08 -0400
 * Misc style cleanups. admin ui tweaks
 


Modified: rt/branches/3.8-TESTING/html/Admin/Elements/EditCustomFieldValues
==============================================================================
--- rt/branches/3.8-TESTING/html/Admin/Elements/EditCustomFieldValues	(original)
+++ rt/branches/3.8-TESTING/html/Admin/Elements/EditCustomFieldValues	Thu Mar 27 14:51:22 2008
@@ -50,7 +50,6 @@
 %    return;
 % }
 
-<i><&|/l&>(Check box to delete)</&></i>
 <table>
 
 <tr>
@@ -78,6 +77,7 @@
 % }
 
 </table>
+<i><&|/l&>(Check box to delete)</&></i>
 <%init>
 
 my $values = $CustomField->ValuesObj();

Modified: rt/branches/3.8-TESTING/html/Admin/Elements/EditQueueWatchers
==============================================================================
--- rt/branches/3.8-TESTING/html/Admin/Elements/EditQueueWatchers	(original)
+++ rt/branches/3.8-TESTING/html/Admin/Elements/EditQueueWatchers	Thu Mar 27 14:51:22 2008
@@ -49,7 +49,6 @@
 <ul>
 <li><i><&|/l&>none</&></i>
 % } else {
-<i><&|/l&>(Check box to delete)</&></i><br /><br />
 <ul>
 % while (my $watcher=$Members->Next) {
 <li>
@@ -64,6 +63,7 @@
 % }
 % }
 </ul>
+<i><&|/l&>(Check box to delete)</&></i><br /><br />
 
 <%INIT>
 my $Members = $Watchers->MembersObj;

Modified: rt/branches/3.8-TESTING/html/Admin/Elements/EditScrips
==============================================================================
--- rt/branches/3.8-TESTING/html/Admin/Elements/EditScrips	(original)
+++ rt/branches/3.8-TESTING/html/Admin/Elements/EditScrips	Thu Mar 27 14:51:22 2008
@@ -51,7 +51,6 @@
 <input type="hidden" class="hidden" name="id" value="<% $id %>" />
 
 <h2><&|/l&>Current Scrips</&></h2>
-<p><i><&|/l&>(Check box to delete)</&></i></p>
 <& /Elements/CollectionList,
     OrderBy => 'Description',
     Order => 'ASC',
@@ -64,10 +63,11 @@
     PassArguments => [ qw(Query Format Rows Page Order OrderBy id) ],
 &>
 
-% unless ( $Scrips->Count ) {
+% if ( $Scrips->Count ) {
+<p><i><&|/l&>(Check box to delete)</&></i></p>
+% } else  {
 <p><i><&|/l&>(No scrips)</&></i></p>
 % }
-
 <& /Elements/Submit,
     Caption => loc("Delete selected scrips"),
     Label => loc("Delete")

Modified: rt/branches/3.8-TESTING/html/Admin/Elements/EditTemplates
==============================================================================
--- rt/branches/3.8-TESTING/html/Admin/Elements/EditTemplates	(original)
+++ rt/branches/3.8-TESTING/html/Admin/Elements/EditTemplates	Thu Mar 27 14:51:22 2008
@@ -54,7 +54,6 @@
 <p><i><&|/l&>(No templates)</&></i></p>
 % } else {
 
-<i><&|/l&>(Check box to delete)</&></i>
 
 <& /Elements/CollectionList,
     OrderBy       => 'id',
@@ -66,6 +65,8 @@
     AllowSorting  => 1,
     PassArguments => [qw(Format Rows Page Order OrderBy FindDisabledQueues)],
 &>
+
+<i><&|/l&>(Check box to delete)</&></i>
 % }
 
 <& /Elements/Submit, Label => loc('Delete Template') &>

Modified: rt/branches/3.8-TESTING/html/Admin/Global/index.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Admin/Global/index.html	(original)
+++ rt/branches/3.8-TESTING/html/Admin/Global/index.html	Thu Mar 27 14:51:22 2008
@@ -49,43 +49,35 @@
 <& /Admin/Elements/Header, Title => loc('Admin/Global configuration') &>
 <& /Admin/Elements/SystemTabs, 
     Title => loc('Admin/Global configuration') &>
-
-<ul>
-% foreach my $key (sort keys %$tabs) {
-<li><span><a href="<% $tabs->{$key}{path} %>"><% $tabs->{$key}{title} %></a></span><br />
-<% $tabs->{$key}{text} %>
-</li>
-% }
-</ul>
-
+    <& /Elements/ListMenu, items => $tabs &>
 <%INIT>
   my $tabs = {
                 
                A => { title => loc('Scrips'),
                            text => loc('Modify scrips which apply to all queues'),
-                           path => 'Scrips.html',
+                           path => '/Admin/Global/Scrips.html',
                          },
                B => { title => loc('Templates'),
                         text => loc('Edit system templates'),
-                        path => 'Templates.html',
+                        path => '/Admin/Global/Templates.html',
                       },
               
                 F => { title => loc('Custom Fields'),
                 text => loc('Modify global custom fields'),
-                        path => 'CustomFields/index.html',
+                        path => '/Admin/Global/CustomFields/index.html',
                         },
 
                 G => { title => loc('Group Rights'),
                                 text => loc('Modify global group rights'),
-                                path => 'GroupRights.html',
+                                path => '/Admin/Global/GroupRights.html',
                       },
                 H => { title => loc('User Rights'),
                                 text => loc('Modify global user rights'),
-                                path => 'UserRights.html',
+                                path => '/Admin/Global/UserRights.html',
                       },
                 I => { title => loc('RT at a glance'),
                                 text => loc('Modify the default "RT at a glance" view'),
-                                path => 'MyRT.html',
+                                path => '/Admin/Global/MyRT.html',
                       },
 
 

Modified: rt/branches/3.8-TESTING/html/Admin/Groups/Members.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Admin/Groups/Members.html	(original)
+++ rt/branches/3.8-TESTING/html/Admin/Groups/Members.html	Thu Mar 27 14:51:22 2008
@@ -72,7 +72,6 @@
 % if ($Group->MembersObj->Count == 0 ) {
 <em><&|/l&>(No members)</&></em>
 % } else {
-<em><&|/l&>(Check box to delete)</&></em>
 <br />
 <br />
 <&|/l&>Users</&>
@@ -104,6 +103,7 @@
 </tr>
 </table>
 </&>
+<em><&|/l&>(Check box to delete)</&></em>
 <& /Elements/Submit, Label => loc('Modify Members'), Reset => 1 &>
 </form>
 

Modified: rt/branches/3.8-TESTING/html/Admin/index.html
==============================================================================
--- rt/branches/3.8-TESTING/html/Admin/index.html	(original)
+++ rt/branches/3.8-TESTING/html/Admin/index.html	Thu Mar 27 14:51:22 2008
@@ -48,13 +48,7 @@
 <& /Admin/Elements/Header, Title => loc('RT Administration') &>
 <& /Admin/Elements/Tabs, Title => loc('RT Administration') &>
 
-<ul>
-%    foreach my $key (sort keys %$tabs) {
-<li><span><a href="<%RT->Config->Get('WebPath')%>/<%$tabs->{$key}->{'path'}|n %>"><%$tabs->{$key} ->{'title'}%></a></span><br />
-<%$tabs->{$key}->{description}%>
-</li>
-%}
-</ul>
+<& /Elements/ListMenu, items => $tabs &>
 <%init>
 
 

Modified: rt/branches/3.8-TESTING/html/Elements/EditLinks
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/EditLinks	(original)
+++ rt/branches/3.8-TESTING/html/Elements/EditLinks	Thu Mar 27 14:51:22 2008
@@ -52,10 +52,6 @@
 
 <table>
   <tr>
-    <td></td>
-    <td><i><&|/l&>(Check box to delete)</&></i></td>
-  </tr>
-  <tr>
     <td class="labeltop"><&|/l&>Depends on</&>:</td>
     <td class="value">
 % while (my $link = $Object->DependsOn->Next) {
@@ -111,6 +107,10 @@
 % }
     </td>
   </tr>
+  <tr>
+    <td></td>
+    <td><i><&|/l&>(Check box to delete)</&></i></td>
+  </tr>
 </table>
 			    
 </td>

Added: rt/branches/3.8-TESTING/html/Elements/ListMenu
==============================================================================
--- (empty file)
+++ rt/branches/3.8-TESTING/html/Elements/ListMenu	Thu Mar 27 14:51:22 2008
@@ -0,0 +1,11 @@
+<%args>
+$items
+</%args>
+<ul class="list-menu">
+%    foreach my $key (sort keys %$items) {
+<li><span class="menu-item"><a href="<%RT->Config->Get('WebPath')%><%$items->{$key}->{'path'}|n %>"><%$items->{$key}->{'title'}%></a></span><br />
+<span class="description"><%$items->{$key}->{description} || $items->{$key}->{text} %></span>
+
+</li>
+%}
+</ul>

Modified: rt/branches/3.8-TESTING/html/Elements/RefreshHomepage
==============================================================================
--- rt/branches/3.8-TESTING/html/Elements/RefreshHomepage	(original)
+++ rt/branches/3.8-TESTING/html/Elements/RefreshHomepage	Thu Mar 27 14:51:22 2008
@@ -45,7 +45,9 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
+<&|/Widgets/TitleBox, title => 'Refresh'&>
 <form method="get" action="<%RT->Config->Get('WebPath') . $m->request_comp->path %>">
 <& /Elements/Refresh, Name => 'HomeRefreshInterval', Default => $session {'home_refresh_interval'} &>
-<div align="right"><input type="submit" class="button" value="<&|/l&>Go!</&>" /></div>
+<& /Elements/Submit,  Label => loc('Go!') &>
+</&>
 </form>

Added: rt/branches/3.8-TESTING/html/NoAuth/css/web2/admin.css
==============================================================================
--- (empty file)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/admin.css	Thu Mar 27 14:51:22 2008
@@ -0,0 +1,13 @@
+ul.list-menu .menu-item {
+ font-size: 1.25em;
+}
+ul.list-menu {
+ list-style: none;
+
+}
+ul.list-menu .description {
+ display: block;
+ padding: 0.5em;
+ font-style: italic;
+ padding-left: 1em;
+}

Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/boxes.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/boxes.css	(original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/boxes.css	Thu Mar 27 14:51:22 2008
@@ -10,7 +10,7 @@
  margin-bottom: 2em;
  border-bottom: 2px solid #aaa;
  border-right: 2px solid #aaa;
-
+ padding-right: 1em;
 }
 
 
@@ -22,8 +22,7 @@
  -moz-border-radius: 0.5em;
  -webkit-border-radius: 0.5em;
  margin-right: 1em;
-
-
+ 
 }
 
 
@@ -33,6 +32,7 @@
  margin-top: -1.5em;
  padding-bottom: 0.25em;
  padding-left: 1em;
+ margin-right: -1em;
  
 }
 

Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/main.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/main.css	(original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/main.css	Thu Mar 27 14:51:22 2008
@@ -13,5 +13,6 @@
 @import "portlets.css";
 @import "ticket.css";
 @import "tools.css";
+ at import "admin.css";
 @import "misc.css";
 

Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/nav.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/nav.css	(original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/nav.css	Thu Mar 27 14:51:22 2008
@@ -8,6 +8,8 @@
  background: #fff;
  -moz-border-radius-bottomright: 0.5em;
  -webkit-border-bottom-right-radius: 0.5em;
+  border-left: 1px solid #999;  
+border-top: 1px solid #999;
 
  -moz-border-radius-topright: 0.5em;
  -webkit-border-top-right-radius: 0.5em;

Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-lists.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-lists.css	(original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-lists.css	Thu Mar 27 14:51:22 2008
@@ -1,6 +1,5 @@
-table.ticket-list, table.queue-summary {
+table.ticket-list, table.queue-summary, table.collection {
   margin-top: 0.75em;
-  margin-right: 1em;
   font-size: 0.9em;
   border: 1px solid #aaa;
   border-bottom: 2px solid #999;
@@ -20,12 +19,12 @@
 
 }
 
-table.ticket-list a, table.queue-summary a {
+table.ticket-list a, table.queue-summary a, table.collection a  {
   font-weight: bold;
 }
 
 
-table.ticket-list th.collection-as-table {
+table.ticket-list th.collection-as-table, table.collection th.collection-as-table {
   background: #ddd;
  font-size: 0.9em;
   margin-bottom: 0.5em;

Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-search.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-search.css	(original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket-search.css	Thu Mar 27 14:51:22 2008
@@ -33,8 +33,8 @@
 
 
 #comp-Search-Build #sorting.titlebox {
- width: 57%;
-
+ width: 55%;
+ padding-right: 1em;
 }
 
 #comp-Search-Build #columns {

Modified: rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket.css
==============================================================================
--- rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket.css	(original)
+++ rt/branches/3.8-TESTING/html/NoAuth/css/web2/ticket.css	Thu Mar 27 14:51:22 2008
@@ -16,7 +16,13 @@
 }
 
 div#ticket-history {
- margin-right: 1em;
+
+ margin-top: 0.75em;
+ border-left: 1px solid #ccc;
+
+ border-right: 2px solid #999; 
+  border-bottom: 2px solid #999;
+
 }
 
 div#ticket-history td.actions {
@@ -37,6 +43,9 @@
  margin: 0.25em;
  width: 1em;
  height: 1.5em;
+ border-right: 1px solid #999;
+ border-bottom: 1px solid #999;
+
  -moz-border-radius: 0.25em;
  -webkit-border-bottom-right-radius: 0.25em;
 
@@ -112,6 +121,10 @@
 }
 
 
+
+
+
+
 .ticket-transaction.basics .type { background: #b32; }
 .ticket-transaction.cfs .type { background: #b32; }
 .ticket-transaction.people .type { background: #48c; }

Modified: rt/branches/3.8-TESTING/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.8-TESTING/html/Ticket/Elements/ShowTransaction	(original)
+++ rt/branches/3.8-TESTING/html/Ticket/Elements/ShowTransaction	Thu Mar 27 14:51:22 2008
@@ -60,7 +60,7 @@
       <% $Transaction->CreatorObj->Name %> - <% $TicketString %> <% $desc %>
     </td>
     <td class="time-taken"><% $TimeTaken %></td>
-    <td class="actions"><% $titlebar_commands |n %></td>
+    <td class="actions<% $titlebar_commands ? '': ' hidden'%>"><% $titlebar_commands |n %></td>
   </tr>
 
   <tr>
@@ -157,7 +157,7 @@
     $attachments->Columns( qw( Id Filename ContentType Headers Subject Parent ContentEncoding ContentType TransactionId) );
     $Attachments = $attachments->ItemsArrayRef();
 }
-my $titlebar_commands = '&nbsp;';
+my $titlebar_commands = '';
 
 if ( $type =~ /EmailRecord$/ ) {
 


More information about the Rt-commit mailing list