mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 17:36:05 +00:00
- The host graphs and the machine/bus lists connect inside their libvirt error handling, so a down host gives empty answers instead of a 500 page the polling script drops. - The Secrets page lists vTPM secrets instead of failing on them, and a secret without usage data shows an empty cell instead of "None". - A TCP/TLS host takes a SASL password longer than 14 characters and a login up to the Linux limit of 32. - The compute edit page says "Edit Compute"; a host without VMs no longer closes an extra page element; the memory graph is labelled MiB.
29 lines
No EOL
1 KiB
HTML
29 lines
No EOL
1 KiB
HTML
{% extends "base.html" %}
|
|
{% load django_bootstrap5 %}
|
|
{% load bootstrap_icons %}
|
|
{% load i18n %}
|
|
|
|
{% block title %}{% if form.instance.pk %}{% trans "Edit Compute" %}{% else %}{% trans "Add Compute" %}{% endif %}{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<h2 class="page-header">{% if form.instance.pk %}{% trans "Edit Compute" %}{% else %}{% trans "Add Compute" %}{% endif %}</h2>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-10 offset-sm-1">
|
|
<form id="create-update" action="" method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form layout='horizontal' %}
|
|
</form>
|
|
<div class="float-end">
|
|
<a class="btn btn-primary" href="javascript:history.back()">
|
|
{% bs_icon 'x-square-fill' %} {% trans "Cancel" %}</a>
|
|
<button type="submit" form="create-update" class="btn btn-success">
|
|
{% bs_icon 'check-circle-fill' %} {% trans "Save" %}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock content %} |