instance_pause: Add buttons to start/stop instance

This commit is contained in:
Tom Wiesing 2023-01-12 13:15:18 +01:00
parent 092304f891
commit 1f7d92bea8
No known key found for this signature in database
4 changed files with 67 additions and 0 deletions

View file

@ -48,6 +48,15 @@
</td>
<td>
<code>{{ .Info.Running }}</code>
<div class="pure-button-group" role="group">
<button class="remote-action pure-button pure-button-action" data-action="start" data-param="{{ .Instance.Slug }}" data-buffer="1000" data-force-reload="true">
(Re)Start
</button>
<button class="remote-action pure-button pure-button-danger" data-action="stop" data-param="{{ .Instance.Slug }}" data-buffer="1000" data-force-reload="true">
Stop
</button>
</div>
</td>
</tr>
<tr>