Skip to content

Commit

Permalink
beautified template
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Aubreville committed Apr 28, 2024
1 parent f16e837 commit ac9460f
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,14 @@ <h3>
<table class="table">
{% for team in teams %}
<thead data-toggle="collapse" data-target="#group{{ team.id }}">
<tr class="table-primary"><th colspan=4>Team {{ team.name }}, total: {{ team.storage_disk }} </th></tr>
<tr class="table-primary"><th colspan=2>Team {{ team.name }}</th><th style="text-align:right"> total: {{ team.storage_disk }}</th></tr>
</thead>
<tbody id="group{{ team.id }}" class="collapse">
<tr><th style="width:20%">Imageset ID</th><th style="width:60%">Name</th><th style="width:20%">Storage (on disk)</th></tr>
<tr><th style="width:20%">Imageset ID</th><th style="width:60%">Name</th><th style="width:20%;text-align:right">Storage (on disk)</th></tr>
{% for imageset in team.imagesets %}
<tr><td>{{ imageset.id }}</td><td style="text-align: left;">
{{ imageset.name }}
</td><td>{{ imageset.storage_disk }}</td>
</td><td>{{ imageset.storage_files }}</td>
</td>
</td><td style="text-align:right">{{ imageset.storage_disk }}</td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit ac9460f

Please sign in to comment.