nirvash/templates/deployed.html

18 lines
369 B
HTML
Raw Permalink Normal View History

2023-10-21 04:46:37 +00:00
{{ $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" . }}