[hg] galaxy 1469: Reports: Wrap the stderr and traceback in pre ...

classic Classic list List threaded Threaded
1 message Options
| Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[hg] galaxy 1469: Reports: Wrap the stderr and traceback in pre ...

Nate Coraor (nate@bx.psu.edu)
details:   http://www.bx.psu.edu/hg/galaxy/rev/b9142bbae4ad
changeset: 1469:b9142bbae4ad
user:      Nate Coraor <[hidden email]>
date:      Fri Aug 08 13:42:32 2008 -0400
description:
Reports: Wrap the stderr and traceback in pre tags so they display nicely.

6 file(s) affected in this change:

lib/galaxy/webapps/reports/static/january_2008_style/blue/base.css
lib/galaxy/webapps/reports/templates/jobs_all_unfinished.mako
lib/galaxy/webapps/reports/templates/jobs_specified_date_all.mako
lib/galaxy/webapps/reports/templates/jobs_specified_date_in_error.mako
lib/galaxy/webapps/reports/templates/jobs_tool_for_month.mako
lib/galaxy/webapps/reports/templates/jobs_user_for_month.mako

diffs (105 lines):

diff -r c17db2e5f334 -r b9142bbae4ad lib/galaxy/webapps/reports/static/january_2008_style/blue/base.css
--- a/lib/galaxy/webapps/reports/static/january_2008_style/blue/base.css Thu Aug 07 19:28:42 2008 -0400
+++ b/lib/galaxy/webapps/reports/static/january_2008_style/blue/base.css Fri Aug 08 13:42:32 2008 -0400
@@ -322,3 +322,6 @@
   display: none;
 }
 
+pre {
+    font-size: 80%;
+}
diff -r c17db2e5f334 -r b9142bbae4ad lib/galaxy/webapps/reports/templates/jobs_all_unfinished.mako
--- a/lib/galaxy/webapps/reports/templates/jobs_all_unfinished.mako Thu Aug 07 19:28:42 2008 -0400
+++ b/lib/galaxy/webapps/reports/templates/jobs_all_unfinished.mako Fri Aug 08 13:42:32 2008 -0400
@@ -60,13 +60,13 @@
             <td colspan="5">Stderr</td>
           </tr>
           <tr>
-            <td colspan="5">${job[9]}</td>
+            <td colspan="5"><pre>${job[9]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Stack Trace</td>
           </tr>
           <tr>
-            <td colspan="5">${job[10]}</td>
+            <td colspan="5"><pre>${job[10]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Info</td>
diff -r c17db2e5f334 -r b9142bbae4ad lib/galaxy/webapps/reports/templates/jobs_specified_date_all.mako
--- a/lib/galaxy/webapps/reports/templates/jobs_specified_date_all.mako Thu Aug 07 19:28:42 2008 -0400
+++ b/lib/galaxy/webapps/reports/templates/jobs_specified_date_all.mako Fri Aug 08 13:42:32 2008 -0400
@@ -64,13 +64,13 @@
             <td colspan="5">Stderr</td>
           </tr>
           <tr>
-            <td colspan="5">${job[9]}</td>
+            <td colspan="5"><pre>${job[9]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Stack Trace</td>
           </tr>
           <tr>
-            <td colspan="5">${job[10]}</td>
+            <td colspan="5"><pre>${job[10]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Info</td>
diff -r c17db2e5f334 -r b9142bbae4ad lib/galaxy/webapps/reports/templates/jobs_specified_date_in_error.mako
--- a/lib/galaxy/webapps/reports/templates/jobs_specified_date_in_error.mako Thu Aug 07 19:28:42 2008 -0400
+++ b/lib/galaxy/webapps/reports/templates/jobs_specified_date_in_error.mako Fri Aug 08 13:42:32 2008 -0400
@@ -51,13 +51,13 @@
             <td colspan="5">Stderr</td>
           </tr>
           <tr>
-            <td colspan="5">${job[9]}</td>
+            <td colspan="5"><pre>${job[9]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Stack Trace</td>
           </tr>
           <tr>
-            <td colspan="5">${job[10]}</td>
+            <td colspan="5"><pre>${job[10]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Info</td>
diff -r c17db2e5f334 -r b9142bbae4ad lib/galaxy/webapps/reports/templates/jobs_tool_for_month.mako
--- a/lib/galaxy/webapps/reports/templates/jobs_tool_for_month.mako Thu Aug 07 19:28:42 2008 -0400
+++ b/lib/galaxy/webapps/reports/templates/jobs_tool_for_month.mako Fri Aug 08 13:42:32 2008 -0400
@@ -64,13 +64,13 @@
             <td colspan="5">Stderr</td>
           </tr>
           <tr>
-            <td colspan="5">${job[9]}</td>
+            <td colspan="5"><pre>${job[9]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Stack Trace</td>
           </tr>
           <tr>
-            <td colspan="5">${job[10]}</td>
+            <td colspan="5"><pre>${job[10]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Info</td>
diff -r c17db2e5f334 -r b9142bbae4ad lib/galaxy/webapps/reports/templates/jobs_user_for_month.mako
--- a/lib/galaxy/webapps/reports/templates/jobs_user_for_month.mako Thu Aug 07 19:28:42 2008 -0400
+++ b/lib/galaxy/webapps/reports/templates/jobs_user_for_month.mako Fri Aug 08 13:42:32 2008 -0400
@@ -64,13 +64,13 @@
             <td colspan="5">Stderr</td>
           </tr>
           <tr>
-            <td colspan="5">${job[9]}</td>
+            <td colspan="5"><pre>${job[9]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Stack Trace</td>
           </tr>
           <tr>
-            <td colspan="5">${job[10]}</td>
+            <td colspan="5"><pre>${job[10]}</pre></td>
           </tr>
           <tr class="header">
             <td colspan="5">Info</td>

Loading...