diff options
-rw-r--r-- | static/style.css | 1 | ||||
-rw-r--r-- | templates/status.tpl | 14 |
2 files changed, 8 insertions, 7 deletions
diff --git a/static/style.css b/static/style.css index 8a6937d..4998b2a 100644 --- a/static/style.css +++ b/static/style.css @@ -15,4 +15,5 @@ td { font-family: monospace; border-top: 1px solid black; text-align: left; + vertical-align: top; } diff --git a/templates/status.tpl b/templates/status.tpl index 0126180..939f77d 100644 --- a/templates/status.tpl +++ b/templates/status.tpl @@ -113,24 +113,24 @@ % name = obj.keys()[0] % fields = obj[name] <tr> -<td style="vertical-align:top">{{i+1}}</td> +<td>{{i+1}}</td> % if links: -<td style="vertical-align:top"><a href="/1.0/lorry-html/{{spec['path']}}">{{spec['path']}}</a></td> +<td><a href="/1.0/lorry-html/{{spec['path']}}">{{spec['path']}}</a></td> % else: -<td style="vertical-align:top">{{spec['path']}}</td> +<td>{{spec['path']}}</td> % end -<td style="vertical-align:top">{{spec['interval_nice']}}</td> -<td nowrap style="vertical-align:top">{{spec['due_nice']}}</td> +<td>{{spec['interval_nice']}}</td> +<td nowrap>{{spec['due_nice']}}</td> % if publish_failures and spec['last_run_exit'] is not None and spec['last_run_error'] != "": <td><details> <summary>{{spec['last_run_exit']}}: Show log</summary> <p><pre>{{spec['last_run_error']}}</pre></p> </details></td> % else: -<td style="vertical-align:top">{{spec['last_run_exit']}}</td> +<td>{{spec['last_run_exit']}}</td> % end % if spec['running_job'] and links: -<td style="vertical-align:top"><a href="/1.0/job-html/{{spec['running_job']}}">{{spec['running_job']}}</a></td> +<td><a href="/1.0/job-html/{{spec['running_job']}}">{{spec['running_job']}}</a></td> % else: <td></td> % end |