[Rt-commit] rt branch, query-logging, updated. rt-3.9.4-58-g22a3834

Shawn Moore sartak at bestpractical.com
Wed Sep 29 22:00:02 EDT 2010


The branch, query-logging has been updated
       via  22a3834041324f3d96fb80492304831b6c98f174 (commit)
       via  d44e27edc4614b9a6b9dfda6dfa113d8cc6a4165 (commit)
      from  e5c2021a096ce4965d2adcd8977e7258fdbba91a (commit)

Summary of changes:
 share/html/Admin/Tools/Queries.html |    2 +-
 share/html/Admin/Tools/index.html   |   22 +++++++++++++++++++---
 share/html/NoAuth/css/base/misc.css |    5 +++++
 3 files changed, 25 insertions(+), 4 deletions(-)

- Log -----------------------------------------------------------------
commit d44e27edc4614b9a6b9dfda6dfa113d8cc6a4165
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Sep 29 21:12:20 2010 -0400

    Add a more useful index page to /Admin/Tools

diff --git a/share/html/Admin/Tools/index.html b/share/html/Admin/Tools/index.html
index 9eda091..4789ea7 100644
--- a/share/html/Admin/Tools/index.html
+++ b/share/html/Admin/Tools/index.html
@@ -45,11 +45,27 @@
 %# those contributions and any derivatives thereof.
 %#
 %# END BPS TAGGED BLOCK }}}
-<%init>
-my $title = loc('System Tools');
-</%init>
 <& /Admin/Elements/Header, Title => $title &>
 <& /Admin/Elements/ToolTabs, 
     current_tab => 'Admin/Tools/index.html',
     current_subtab => 'Admin/Tools/Configuration.html', 
     Title => $title &>
+<& /Elements/ListMenu, items => $tabs &>
+<%init>
+my $title = loc('System Tools');
+
+my $tabs = {
+        A => { title => loc('System Configuration'),
+               path => '/Admin/Tools/Configuration.html',
+               text => loc('Detailed information about your RT setup'),
+        },
+        B => { title => loc('SQL Queries'),
+               path => '/Admin/Tools/Queries.html',
+               text => loc('Browse the SQL queries made in this process'),
+        },
+        E => { title => loc('Shredder'),
+               path  => '/Admin/Tools/Shredder/',
+               text  => loc('Permanently wipeout data from RT'),
+        },
+};
+</%init>

commit 22a3834041324f3d96fb80492304831b6c98f174
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Sep 29 21:16:28 2010 -0400

    Make the query stacktrace toggle float right

diff --git a/share/html/Admin/Tools/Queries.html b/share/html/Admin/Tools/Queries.html
index 8e83a5d..9f0765a 100644
--- a/share/html/Admin/Tools/Queries.html
+++ b/share/html/Admin/Tools/Queries.html
@@ -102,7 +102,7 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
                            <td>
                                <tt><% $sql %></tt>
 %                              if ($trace) {
-                                   <a href="#" onclick="return hideshow('trace-<%$r%>-<%$s%>');"><&|/l &>Toggle stack trace</&></a>
+                                   <a class="query-stacktrace-toggle" href="#" onclick="return hideshow('trace-<%$r%>-<%$s%>');"><&|/l &>Toggle stack trace</&></a>
                                    <pre id="trace-<%$r%>-<%$s%>" class="hidden"><% $trace %></pre>
 
 %                              }
diff --git a/share/html/NoAuth/css/base/misc.css b/share/html/NoAuth/css/base/misc.css
index 6c30f25..74fb421 100644
--- a/share/html/NoAuth/css/base/misc.css
+++ b/share/html/NoAuth/css/base/misc.css
@@ -99,7 +99,12 @@ fieldset.cfedit {
     margin: 0;
 }
 
+.query-stacktrace-toggle {
+    float: right;
+}
+
 /* jQuery UI overrides */
 .ui-widget {
     font-family: arial,helvetica,sans-serif !important;
 }
+

-----------------------------------------------------------------------


More information about the Rt-commit mailing list