2021-03-26 00:11:03 +03:00
|
|
|
%include ('header.tpl')
|
|
|
|
<h1 class="raw">
|
|
|
|
Welcome to libvirt domain ctl
|
2021-03-25 22:53:50 +03:00
|
|
|
</h1>
|
|
|
|
|
2021-03-26 00:16:11 +03:00
|
|
|
RAW: {{name}}
|
2021-03-26 00:11:03 +03:00
|
|
|
|
2021-03-25 22:53:50 +03:00
|
|
|
|
|
|
|
%for i in name:
|
|
|
|
<li>
|
|
|
|
{{i['name']}}, state:
|
|
|
|
{{i['state']}}
|
2021-03-26 00:11:03 +03:00
|
|
|
<form method="POST" action="http://192.168.100.50:5000/action">
|
2021-03-26 00:16:11 +03:00
|
|
|
<input name="name" value="{{i['name']}}" hidden>
|
2021-03-26 00:11:03 +03:00
|
|
|
<button name="act" value="start">
|
|
|
|
Start
|
|
|
|
</button>
|
2021-03-26 00:16:11 +03:00
|
|
|
<button name="act" value="destroy">
|
|
|
|
Destroy
|
|
|
|
</button>
|
2021-03-26 00:11:03 +03:00
|
|
|
</form>
|
2021-03-25 22:53:50 +03:00
|
|
|
</li>
|
2021-03-26 00:11:03 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2021-03-25 22:53:50 +03:00
|
|
|
%end
|
2021-03-26 00:11:03 +03:00
|
|
|
%include ('footer.tpl')
|