Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: appengine/monorail/templates/project/quota-bar.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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%; borde r:1px solid #345BA6">
12 <tr>
13 <td style="background:#345BA6; width:[arg0.used_percent]%"> &nbsp; </t d>
14 <td style="background:#EBF0FA; width:[arg0.avail_percent]%"> &nbsp; </ 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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698