16 lines
432 B
HTML
16 lines
432 B
HTML
|
{{ $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" . }}
|