<buttonclass="btn btn-sm btn-secondary"type="button"name="clone"title="{% trans "Clone"%}"onclick="goto_instance_clone({{ host.0 }}, '{{ inst }}');">
<spanclass="fa fa-clone"></span>
</button>
{% else %}
<buttonclass="btn btn-sm btn-secondary"type="submit"name="poweron"title="{% trans "PowerOn"%}">
<spanclass="fa fa-play"></span>
</button>
{% endif %}
<buttonclass="btn btn-sm btn-secondary disabled"title="{% trans "Suspend"%}"disabled>
<spanclass="fa fa-pause"></span>
</button>
<buttonclass="btn btn-sm btn-secondary disabled"title="{% trans "PowerOff"%}"disabled>
<spanclass="fa fa-power-off"></span>
</button>
<buttonclass="btn btn-sm btn-secondary disabled"title="{% trans "PowerCycle"%}"disabled>
<spanclass="fa fa-refresh"></span>
</button>
<buttonclass="btn btn-sm btn-secondary disabled"title="{% trans "VNCConsole"%}"disabled>
<spanclass="fa fa-eye"></span>
</button>
{% endifequal %}
{% ifequal vm.status 3 %}
<buttonclass="btn btn-sm btn-secondary"type="submit"name="resume"title="{% trans "Resume"%}">
<spanclass="fa fa-play"></span>
</button>
<buttonclass="btn btn-sm btn-secondary disabled"title="{% trans "Suspend"%}"disabled>
<spanclass="fa fa-pause"></span>
</button>
<buttonclass="btn btn-sm btn-secondary"type="submit"name="powerforce"title="{% trans "ForceOff"%}"onclick="return confirm('Are you sure to force it down?')">
<spanclass="fa fa-power-off"></span>
</button>
<buttonclass="btn btn-sm btn-secondary disabled"title="{% trans "PowerCycle"%}"disabled>
<spanclass="fa fa-refresh"></span>
</button>
<buttonclass="btn btn-sm btn-secondary disabled"title="{% trans "VNCConsole"%}"disabled>
<spanclass="fa fa-eye"></span>
</button>
{% endifequal %}
{% ifequal vm.status 1 %}
<buttonclass="btn btn-sm btn-secondary disabled"title="{% trans "PowerOn"%}"disabled>
<spanclass="fa fa-play"></span>
</button>
<buttonclass="btn btn-sm btn-secondary"type="submit"name="suspend"title="{% trans "Suspend"%}">
<spanclass="fa fa-pause"></span>
</button>
<buttonclass="btn btn-sm btn-secondary"type="submit"name="poweroff"title="{% trans "PowerOff"%}"onclick="return confirm('Are you sure?')">
<spanclass="fa fa-power-off"></span>
</button>
<buttonclass="btn btn-sm btn-secondary"type="submit"name="powercycle"title="{% trans "PowerCycle"%}"onclick="return confirm('Are you sure?')">
<spanclass="fa fa-refresh"></span>
</button>
<buttonclass="btn btn-sm btn-secondary"type="button"onclick='open_console("{{ host.0 }}-{{ vm.uuid }}")'title="{% trans "Console"%}">