diff options
author | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-09 01:05:47 +0100 |
---|---|---|
committer | Pedro Alvarez Piedehierro <palvarez89@gmail.com> | 2017-07-09 01:08:58 +0100 |
commit | 1c3e3fbbb6d27071a92e384ec4f5ee126c86520e (patch) | |
tree | 7c17de6b22914570d40931939a8aac192f289852 | |
parent | 9d3637d61edcce7c9cc95d9acff4ef7e4e6197b2 (diff) | |
download | lorry-controller-1c3e3fbbb6d27071a92e384ec4f5ee126c86520e.tar.gz |
improve table
-rw-r--r-- | templates/status.tpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/status.tpl b/templates/status.tpl index 4931a41..d7310c9 100644 --- a/templates/status.tpl +++ b/templates/status.tpl @@ -113,14 +113,14 @@ % name = obj.keys()[0] % fields = obj[name] <tr> -<td>{{i+1}}</td> +<td style="vertical-align:top">{{i+1}}</td> % if links: -<td><a href="/1.0/lorry-html/{{spec['path']}}">{{spec['path']}}</a></td> +<td style="vertical-align:top"><a href="/1.0/lorry-html/{{spec['path']}}">{{spec['path']}}</a></td> % else: -<td>{{spec['path']}}</td> +<td style="vertical-align:top">{{spec['path']}}</td> % end -<td>{{spec['interval_nice']}}</td> -<td nowrap>{{spec['due_nice']}}</td> +<td style="vertical-align:top">{{spec['interval_nice']}}</td> +<td nowrap style="vertical-align:top">{{spec['due_nice']}}</td> % if publish_failures and spec['last_run_exit'] is not None and spec['last_run_exit'] is not "0": <td><details> <summary>{{spec['last_run_exit']}}: Show log</summary> @@ -128,10 +128,10 @@ </details></td> % else: -<td>{{spec['last_run_exit']}}</td> +<td style="vertical-align:top">{{spec['last_run_exit']}}</td> % end % if spec['running_job'] and links: -<td><a href="/1.0/job-html/{{spec['running_job']}}">{{spec['running_job']}}</a></td> +<td style="vertical-align:top"><a href="/1.0/job-html/{{spec['running_job']}}">{{spec['running_job']}}</a></td> % else: <td></td> % end |