[Rt-commit] rt branch, query-logging, updated. rt-3.8.8-941-g6a2cea2

Shawn Moore sartak at bestpractical.com
Tue Sep 28 19:10:59 EDT 2010


The branch, query-logging has been updated
       via  6a2cea2070688ce37db93821673fe2980c2d66dd (commit)
       via  228218af2fe9d4415a50753cec4beafe37f3a4f4 (commit)
      from  3b3e8c50e6d3ae08d054c94cc309cfd76d8eff0f (commit)

Summary of changes:
 share/html/Admin/Tools/Queries.html           |    4 +-
 share/html/NoAuth/css/base/main.css           |    1 +
 share/html/NoAuth/css/base/tablesorter.css    |   39 +++++++++++++++++++++++++
 share/html/NoAuth/images/tablesorter/asc.gif  |  Bin 0 -> 54 bytes
 share/html/NoAuth/images/tablesorter/bg.gif   |  Bin 0 -> 64 bytes
 share/html/NoAuth/images/tablesorter/desc.gif |  Bin 0 -> 54 bytes
 6 files changed, 42 insertions(+), 2 deletions(-)
 create mode 100644 share/html/NoAuth/css/base/tablesorter.css
 create mode 100644 share/html/NoAuth/images/tablesorter/asc.gif
 create mode 100644 share/html/NoAuth/images/tablesorter/bg.gif
 create mode 100644 share/html/NoAuth/images/tablesorter/desc.gif

- Log -----------------------------------------------------------------
commit 228218af2fe9d4415a50753cec4beafe37f3a4f4
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Sep 28 19:13:50 2010 -0400

    Use the recommended class name instead

diff --git a/share/html/Admin/Tools/Queries.html b/share/html/Admin/Tools/Queries.html
index e00a781..b0b60ed 100644
--- a/share/html/Admin/Tools/Queries.html
+++ b/share/html/Admin/Tools/Queries.html
@@ -53,7 +53,7 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
 </%init>
 <& /Admin/Elements/Header,
     Title => $title,
-    onload => 'function () { jQuery(".sortable-table").tablesorter(); }',
+    onload => 'function () { jQuery(".tablesorter").tablesorter(); }',
 &>
 <& /Admin/Elements/ToolTabs, 
     current_tab => 'Admin/Tools/Queries.html',
@@ -71,7 +71,7 @@ unless ($session{'CurrentUser'}->HasRight( Object=> $RT::System, Right => 'Super
 %     for my $request (@$history) {
           <li>
               <tt><% $request->{Path} %></tt>
-              <table class="sortable-table">
+              <table class="tablesorter">
                   <thead>
                       <tr>
                           <th><&|/l&>index</&></th>

commit 6a2cea2070688ce37db93821673fe2980c2d66dd
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Sep 28 19:14:05 2010 -0400

    Use a theme for sorted tables

diff --git a/share/html/NoAuth/css/base/main.css b/share/html/NoAuth/css/base/main.css
index e1e916e..af80183 100644
--- a/share/html/NoAuth/css/base/main.css
+++ b/share/html/NoAuth/css/base/main.css
@@ -53,6 +53,7 @@
 @import "rights-editor.css";
 @import "theme-editor.css";
 @import "ticket.css";
+ at import "tablesorter.css";
 
 % $m->callback(CallbackName => 'End');
 
diff --git a/share/html/NoAuth/css/base/tablesorter.css b/share/html/NoAuth/css/base/tablesorter.css
new file mode 100644
index 0000000..5e9e95a
--- /dev/null
+++ b/share/html/NoAuth/css/base/tablesorter.css
@@ -0,0 +1,39 @@
+/* tables */
+table.tablesorter {
+	font-family:arial;
+	background-color: #CDCDCD;
+	margin:10px 0pt 15px;
+	font-size: 8pt;
+	width: 100%;
+	text-align: left;
+}
+table.tablesorter thead tr th, table.tablesorter tfoot tr th {
+	background-color: #e6EEEE;
+	border: 1px solid #FFF;
+	font-size: 8pt;
+	padding: 4px;
+}
+table.tablesorter thead tr .header {
+	background-image: url(/NoAuth/images/tablesorter/bg.gif);
+	background-repeat: no-repeat;
+	background-position: center right;
+	cursor: pointer;
+}
+table.tablesorter tbody td {
+	color: #3D3D3D;
+	padding: 4px;
+	background-color: #FFF;
+	vertical-align: top;
+}
+table.tablesorter tbody tr.odd td {
+	background-color:#F0F0F6;
+}
+table.tablesorter thead tr .headerSortUp {
+	background-image: url(/NoAuth/images/tablesorter/asc.gif);
+}
+table.tablesorter thead tr .headerSortDown {
+	background-image: url(/NoAuth/images/tablesorter/desc.gif);
+}
+table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
+background-color: #8dbdd8;
+}
diff --git a/share/html/NoAuth/images/tablesorter/asc.gif b/share/html/NoAuth/images/tablesorter/asc.gif
new file mode 100644
index 0000000..7415786
Binary files /dev/null and b/share/html/NoAuth/images/tablesorter/asc.gif differ
diff --git a/share/html/NoAuth/images/tablesorter/bg.gif b/share/html/NoAuth/images/tablesorter/bg.gif
new file mode 100644
index 0000000..fac668f
Binary files /dev/null and b/share/html/NoAuth/images/tablesorter/bg.gif differ
diff --git a/share/html/NoAuth/images/tablesorter/desc.gif b/share/html/NoAuth/images/tablesorter/desc.gif
new file mode 100644
index 0000000..3b30b3c
Binary files /dev/null and b/share/html/NoAuth/images/tablesorter/desc.gif differ

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


More information about the Rt-commit mailing list