diff options
| author | Bradley Taunt <git@btxx.org> | 2026-07-31 09:24:41 -0400 |
|---|---|---|
| committer | Bradley Taunt <git@btxx.org> | 2026-07-31 09:24:41 -0400 |
| commit | b80acd6f3a97151488f9b47219913c5c67639fa7 (patch) | |
| tree | a69d1ee9c55d0486bc4d435127d767088afed76c /index.html | |
| parent | 4836f2630d56656fcca65a34eaf9dc28d89d05be (diff) | |
Return to NFS setup, include styling for size meter for members table
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -24,7 +24,11 @@ summary: Listing all web pages under 1MB in total size </thead> <tbody id="container"> {% for item in websites %} - <tr> + {% assign pct = item.size | times: 100.0 | divided_by: 1024.0 %} + {% if item.size < 410 %}{% assign c = "lightgreen" %} + {% elsif item.size < 717 %}{% assign c = "orange" %} + {% else %}{% assign c = "crimson" %}{% endif %} + <tr style="--fill:{{ item.size | times: 100.0 | divided_by: 1024.0 }}%;--c:{{ c }}"> <td> {% if item.http == true %} <a href="http://{{ item.domain }}"> |
