destroy btn
This commit is contained in:
parent
c78d758770
commit
556d29cf25
@ -3,21 +3,21 @@
|
|||||||
Welcome to libvirt domain ctl
|
Welcome to libvirt domain ctl
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
SRC: {{name}}
|
RAW: {{name}}
|
||||||
|
|
||||||
<%
|
|
||||||
print(name)
|
|
||||||
%>
|
|
||||||
|
|
||||||
%for i in name:
|
%for i in name:
|
||||||
<li>
|
<li>
|
||||||
{{i['name']}}, state:
|
{{i['name']}}, state:
|
||||||
{{i['state']}}
|
{{i['state']}}
|
||||||
<form method="POST" action="http://192.168.100.50:5000/action">
|
<form method="POST" action="http://192.168.100.50:5000/action">
|
||||||
<input name="name" value="{{i['name']}}">
|
<input name="name" value="{{i['name']}}" hidden>
|
||||||
<button name="act" value="start">
|
<button name="act" value="start">
|
||||||
Start
|
Start
|
||||||
</button>
|
</button>
|
||||||
|
<button name="act" value="destroy">
|
||||||
|
Destroy
|
||||||
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user