forked from 3wordchant/capsul-flask
fixing exception in capsul detail
This commit is contained in:
parent
bf927c4f1e
commit
ea1eec7f92
@ -160,6 +160,8 @@ def detail(id):
|
||||
vm["state"] = vm_from_virt_model.state
|
||||
if needs_ssh_host_keys:
|
||||
vm["ssh_host_keys"] = vm_from_virt_model.ssh_host_keys
|
||||
else:
|
||||
vm["state"] = "unknown"
|
||||
|
||||
if vm["state"] == "running" and not vm["ipv4"]:
|
||||
vm["state"] = "starting"
|
||||
|
@ -241,7 +241,7 @@ thead {
|
||||
background: #bdc7b812;
|
||||
}
|
||||
td, th {
|
||||
font: calc(0.40rem + 1vmin) monospace;
|
||||
|
||||
padding: 0.1em 1em;
|
||||
}
|
||||
table.small td, table.small th {
|
||||
@ -282,6 +282,7 @@ th {
|
||||
text-align: left;
|
||||
}
|
||||
td {
|
||||
font: calc(0.35rem + 0.95vmin) monospace;
|
||||
border-bottom: 2px dotted #777e7355;
|
||||
padding-top: 0.4rem;
|
||||
padding-bottom: 0.4rem;
|
||||
|
Loading…
Reference in New Issue
Block a user