nirvash/templates/deploy.html

16 lines
432 B
HTML
Raw Normal View History

2023-10-21 04:46:37 +00:00
{{ $csrfToken := (.Context).Value "csrfToken" }}
{{ template "header" . }}
<h2>Deployment</h2>
<form class="build" method="POST" action="/deploy">
<input hidden name="csrfToken" value="{{$csrfToken}}"/>
<input type="submit" value="Deploy"/>
</form>
<form class="build" method="POST" action="/revert">
<input hidden name="csrfToken" value="{{$csrfToken}}"/>
<input type="submit" value="Revert"/>
</form>
{{ template "footer" . }}