From 7c94dc04a794119dd9488fb491a56faa4507bf7e Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Tue, 20 Dec 2011 11:30:48 +1100 Subject: [PATCH] dashboard: display correct package build state Includes some boring whitespace tweaks. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5492067 --- misc/dashboard/app/build/ui.html | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/misc/dashboard/app/build/ui.html b/misc/dashboard/app/build/ui.html index 80a924bfca4..66b7df255a3 100644 --- a/misc/dashboard/app/build/ui.html +++ b/misc/dashboard/app/build/ui.html @@ -8,11 +8,11 @@ padding: 0; margin: 0; } h1, h2 { - margin: 0; + margin: 0; padding: 5px; } h1 { - background: #eee; + background: #eee; } h2 { margin-top: 10px; @@ -30,14 +30,14 @@ background-color: #f0f0f0; } .build .hash { - font-family: monospace; + font-family: monospace; } .build .result { text-align: center; width: 50px; } .build .time { - font-family: monospace; + font-family: monospace; color: #666; } .build .descr, .build .time, .build .user { @@ -54,6 +54,9 @@ .paginate a.inactive { color: #999; } + .fail { + color: #C00; + } @@ -129,7 +132,11 @@
{{$h := $state.Commit.Hash}} {{shortHash $h}} - failed + {{if .OK}} + ok + {{else}} + failed + {{end}} on {{.Builder}}/{{shortHash .GoHash}}
{{end}}