12345678910111213141516171819202122232425262728 |
- <h2 class="title"><br><br><center>S3 Buckets</center></h2>
- <div class="container">
- <table class="table table-hover">
- <thead>
- <tr>
- <th>Name</th>
- <th>Size</th>
- <th>Region</th>
- <th>Owner</th>
- </tr>
- </thead>
- <tbody>
- <% buckets.each do |bucket| %>
- <tr>
- <td><%= bucket['name'] %></td>
- <% if bucket['size'] < 0 %>
- <td>Unknown</td>
- <% else %>
- <td><%= (bucket['size']/1000000000).round(2) %> Gb</td>
- <% end %>
- <td><%= bucket['region']%></td>
- <td><%= bucket['owner'] %></td>
- </tr>
- <% end %>
- </tbody>
- </table>
- </div>
|