nirvash/templates/build_run.html

14 lines
396 B
HTML
Raw Normal View History

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