summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-11 19:58:45 +0100
committerPedro Alvarez Piedehierro <palvarez89@gmail.com>2017-07-11 19:58:45 +0100
commit673eb46a75423fb88003a78289dfa76a296125c3 (patch)
treedf60318ecc42b290d1d51e00a8b8bc6fa41164c9
parent2018ccffce113cdfd2749b428fb088abd4a8e598 (diff)
downloadlorry-controller-pedro/publish-failures4.tar.gz
move vertical align to csspedro/publish-failures4
-rw-r--r--static/style.css1
-rw-r--r--templates/status.tpl14
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