Skip to content

Commit

Permalink
cleanup css a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
hexylena committed Dec 20, 2016
1 parent 4756cab commit 64b0d03
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions templates/show_params.mako
Expand Up @@ -9,6 +9,21 @@
text-align: center;
background-color: #eee;
}
table.info_data_table {
table-layout: fixed;
word-break: break-word;
}
table.info_data_table td:nth-child(1) {
width: 25%;
}
.code {
white-space: pre-wrap;
background: #1d1f21;
color: white;
padding: 1em;
}
</style>
<%def name="inputs_recursive( input_params, param_values, depth=1, upgrade_messages=None )">
Expand Down Expand Up @@ -217,20 +232,10 @@

%if job and job.command_line and trans.user_is_admin():
<h3>Command Line</h3>
<pre style="white-space: pre-wrap; background: #1d1f21; color: white; padding: 1em;">
<pre class="code">
${ job.command_line | h }</pre>
%endif

<style type="text/css">
table.info_data_table {
table-layout: fixed;
word-break: break-word;
}
table.info_data_table td:nth-child(1) {
width: 25%;
}
</style>

%if job and trans.user_is_admin():
<h3>Job Metrics</h3>
<% job_metrics = trans.app.job_metrics %>
Expand Down

0 comments on commit 64b0d03

Please sign in to comment.