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 #!/bin/sh
vmname="$1" vmname="$1"

View File

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

View File

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