nirvash/templates/build_run.html

18 lines
423 B
HTML
Raw Permalink Normal View History

{{ $buildOpts := (.Context).Value "build-options" }}
2022-06-07 06:59:41 +00:00
{{ $status := ((.Context).Value "adapter").Build $buildOpts }}
{{ template "header" . }}
{{ if ne ($status).Success true }}
2022-06-07 06:59:41 +00:00
<h2>Build Error</h2>
<span class="adapter-error"><pre>{{($status).Message}}</pre></span>
2022-06-07 06:59:41 +00:00
{{ else }}
2022-06-07 06:59:41 +00:00
<h2>Build Successful</h2>
<span class="adapter-success"><pre>{{($status).Message}}</pre></span>
2022-06-07 06:59:41 +00:00
{{ end }}
{{ template "footer" . }}