fix line before shebang in script and fine-tune list page style

This commit is contained in:
forest 2021-02-17 21:06:20 -06:00
parent fd5d23cf22
commit bf927c4f1e
3 changed files with 8 additions and 2 deletions

View File

@ -1,4 +1,3 @@
#!/bin/sh
vmname="$1"

View File

@ -256,6 +256,7 @@ th.heart-icon {
line-height: 1rem;
padding-left: 0.3rem;
padding-right: 0.2rem;
padding-bottom: 0.4rem;
}
td.capsul-status {
line-height: 1rem;
@ -264,6 +265,10 @@ td.capsul-status {
font-size: calc(0.4rem + 3.4vmin);
padding-top: 0.2rem;
}
td.capsul-status-questionmark {
padding: 0;
padding-left: 0.5em;
}
td.metrics img {
margin-left: -1.2em;
@ -278,6 +283,8 @@ th {
}
td {
border-bottom: 2px dotted #777e7355;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
.invalidated {
text-decoration: line-through;

View File

@ -39,7 +39,7 @@
{% elif vm['state'] == 'crashed' or vm['state'] == 'blocked' or vm['state'] == 'stopped' %}
<td class="capsul-status red"></td>
{% elif vm['state'] == 'unknown' %}
<td class="capsul-status">?</td>
<td class="capsul-status-questionmark">?</td>
{% else %}
<td class="capsul-status green"></td>
{% endif %}