Browse Source

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

asd
forest 11 months ago
parent
commit
bf927c4f1e
  1. 1
      capsulflask/shell_scripts/get.sh
  2. 7
      capsulflask/static/style.css
  3. 2
      capsulflask/templates/capsuls.html

1
capsulflask/shell_scripts/get.sh

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

7
capsulflask/static/style.css

@ -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;

2
capsulflask/templates/capsuls.html

@ -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 %}

Loading…
Cancel
Save