Copybara | 854996b | 2021-09-07 19:36:02 +0000 | [diff] [blame] | 1 | [# Display a little HTML bar and labels. This is not really a bar chart. |
| 2 | For comparison, see the bars in the top half of |
| 3 | https://www.google.com/accounts/ManageStorage |
| 4 | |
| 5 | arg0: an EZTItem with quota info for one component. |
| 6 | ] |
| 7 | |
| 8 | <table border="0" cellpadding="0" cellspacing="0"> |
| 9 | <tr> |
| 10 | <td style="width:200px"> |
| 11 | <table border="0" cellpadding="0" cellspacing="0" style="width:100%; border:1px solid #345BA6"> |
| 12 | <tr> |
| 13 | <td style="background:#345BA6; width:[arg0.used_percent]%"> </td> |
| 14 | <td style="background:#EBF0FA; width:[arg0.avail_percent]%"> </td> |
| 15 | </tr> |
| 16 | </table> |
| 17 | </td> |
| 18 | <td style="padding-left:.7em"> |
| 19 | [arg0.used] ([arg0.used_percent]%) in use |
| 20 | </td> |
| 21 | </tr> |
| 22 | </table> |