nirvash/templates/deployed.html

17 lines
369 B
HTML

{{ $status := ((.Context).Value "adapter").Deploy }}
{{ template "header" . }}
{{ if ne ($status).Success true }}
<h2>Deployment Error</h2>
<span class="adapter-error"><pre>{{($status).Message}}</pre></span>
{{ else }}
<h2>Deployment Successful</h2>
<span class="adapter-success"><pre>{{($status).Message}}</pre></span>
{{ end }}
{{ template "footer" . }}