mirror of
https://github.com/retspen/webvirtcloud
synced 2026-11-09 19:56:48 +00:00
When the guest agent failed, the Guest Info section stayed empty with no word: the request's error answer was not handled. An agent without the time zone or host name command lost the OS details it had answered too. The section now shows the agent's error, and a missing command leaves out only its own details.
21 lines
1,018 B
HTML
21 lines
1,018 B
HTML
{% load i18n %}
|
|
<div class="tab-pane tab-pane-bordered" id="osinfo" role="tabpanel">
|
|
<h3 class="page-header">{% trans "Guest Info" %}</h3>
|
|
<div id="osinfo-error" class="alert alert-warning d-none" role="alert"></div>
|
|
<dl class="mx-3 row">
|
|
<dt class="col-3">{% trans "Hostname" %}</dt>
|
|
<dd class="col-9" id="oshostname"></dd>
|
|
<dt class="col-3">{% trans "OS Name" %}</dt>
|
|
<dd class="col-9" id="osname"></dd>
|
|
<dt class="col-3">{% trans "OS Pretty-Name" %}</dt>
|
|
<dd class="col-9" id="osprettyname"></dd>
|
|
<dt class="col-3">{% trans "Version" %}</dt>
|
|
<dd class="col-9" id="osversion"></dd>
|
|
<dt class="col-3">{% trans "Kernel Release" %}</dt>
|
|
<dd class="col-9" id="oskernelrelease"></dd>
|
|
<dt class="col-3">{% trans "Kernel Version" %}</dt>
|
|
<dd class="col-9" id="oskernelversion"></dd>
|
|
<dt class="col-3">{% trans "Timezone / Offset" %}</dt>
|
|
<dd class="col-9" id="ostimezone"></dd>
|
|
</dl>
|
|
</div>
|