| OLD | NEW |
| 1 {{define "title"}}Luci Build{{end}} | 1 {{define "title"}}Luci Build{{end}} |
| 2 | 2 |
| 3 | 3 |
| 4 {{define "head"}}{{end}} | 4 {{define "head"}}{{end}} |
| 5 | 5 |
| 6 {{define "body"}} | 6 {{define "body"}} |
| 7 <div class="row"> | 7 <div class="row"> |
| 8 <div class="col-md-12"> | 8 <div class="col-md-12"> |
| 9 <div class="alert alert-success"> | 9 <div class="alert alert-success"> |
| 10 This build passed | 10 This build passed |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 {{ else if eq .Status.String "Failure" }} | 24 {{ else if eq .Status.String "Failure" }} |
| 25 <tr class="danger"><td> | 25 <tr class="danger"><td> |
| 26 {{ else }} | 26 {{ else }} |
| 27 <tr><td> | 27 <tr><td> |
| 28 {{ end }} | 28 {{ end }} |
| 29 <strong>{{ .Label }}</strong> | 29 <strong>{{ .Label }}</strong> |
| 30 {{ if .MainLink }} | 30 {{ if .MainLink }} |
| 31 (<a href="{{.MainLink.URL}}">{{ .MainLink.Label }}</a>) | 31 (<a href="{{.MainLink.URL}}">{{ .MainLink.Label }}</a>) |
| 32 {{ end }} | 32 {{ end }} |
| 33 <small class="muted"> | 33 <small class="muted"> |
| 34 {{ range .Text }} {{ . }} {{ end }} | 34 {{ range .Text }}<div>{{ . }}</div>{{ end }} |
| 35 </small> | 35 </small> |
| 36 <span class="pull-right muted"> | 36 <span class="pull-right muted"> |
| 37 {{ .Duration }} secs | 37 {{ .Duration }} secs |
| 38 </span> | 38 </span> |
| 39 <ol> | 39 <ol> |
| 40 {{ range .SubLink }} | 40 {{ range .SubLink }} |
| 41 <li><a href="{{.URL}}">{{.Label}}</a></li> | 41 <li><a href="{{.URL}}">{{.Label}}</a></li> |
| 42 {{ end }} | 42 {{ end }} |
| 43 </ol> | 43 </ol> |
| 44 </td></tr> | 44 </td></tr> |
| 45 {{ end }} | 45 {{ end }} |
| 46 </table> | 46 </table> |
| 47 </div> | 47 </div> |
| 48 | 48 |
| 49 <div class="col-md-6"> | 49 <div class="col-md-6"> |
| 50 <h4>Build Properties</h4> | 50 <h4>Build Properties</h4> |
| 51 {{ range .Build.PropertyGroup }} | 51 {{ range .Build.PropertyGroup }} |
| 52 {{ $group := .GroupName }} | 52 {{ $group := .GroupName }} |
| 53 {{ range .Property }} | 53 {{ range .Property }} |
| 54 <strong>{{ .Key }}</strong>: | 54 <strong>{{ .Key }}</strong>: |
| 55 {{ .Value }} | 55 {{ .Value }} |
| 56 <small class="muted">({{ $group }})</small> | 56 <small class="muted">({{ $group }})</small> |
| 57 <br> | 57 <br> |
| 58 {{ end }} | 58 {{ end }} |
| 59 {{ end }} | 59 {{ end }} |
| 60 | 60 |
| 61 </div> | 61 </div> |
| 62 </div> | 62 </div> |
| 63 {{end}} | 63 {{end}} |
| OLD | NEW |