From 673eb46a75423fb88003a78289dfa76a296125c3 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Piedehierro Date: Tue, 11 Jul 2017 19:58:45 +0100 Subject: move vertical align to css --- static/style.css | 1 + 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] -{{i+1}} +{{i+1}} % if links: -{{spec['path']}} +{{spec['path']}} % else: -{{spec['path']}} +{{spec['path']}} % end -{{spec['interval_nice']}} -{{spec['due_nice']}} +{{spec['interval_nice']}} +{{spec['due_nice']}} % if publish_failures and spec['last_run_exit'] is not None and spec['last_run_error'] != "":
{{spec['last_run_exit']}}: Show log

{{spec['last_run_error']}}

% else: -{{spec['last_run_exit']}} +{{spec['last_run_exit']}} % end % if spec['running_job'] and links: -{{spec['running_job']}} +{{spec['running_job']}} % else: % end -- cgit v1.2.1