Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions resallocwebui/static/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
body {
margin: 10px;
}

th span {
font-weight: normal;
}
13 changes: 10 additions & 3 deletions resallocwebui/templates/pools.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ <h1 class="resource--title">Resalloc pools</h1>
<thead class="thead-dark">
<tr>
<th scope="col">Pool</th>
<th scope="col">Description</th>
<th scope="col">Max</th>
<th scope="col">Up</th>
<th scope="col">Ready</th>
Expand All @@ -25,8 +24,16 @@ <h1 class="resource--title">Resalloc pools</h1>
<tbody>
{% for pool, info in information.items()|sort(attribute='0') %}
<tr>
<th scope="row">{{ pool }}</th>
<td class="col-sm-4">{{ info['DESCRIPTION'] |default(omit, True) }}</td>
<th scope="row" class="col-sm-4">
{% if info['DESCRIPTION'] %}
<details>
<summary>{{ pool }}</summary>
<span>{{ info['DESCRIPTION'] }}</span>
</details>
{% else %}
{{ pool }}
{% endif %}
</th>
<td>{{ info['MAX'] }}</td>
<td>{{ info['UP'] }}</td>
<td>{{ info['READY'] }}</td>
Expand Down
Loading