Skip to content

Commit

Permalink
web-ui: prap resource data into <pre>
Browse files Browse the repository at this point in the history
The Data string may contain multiline-strings.  Use code formatting per:
https://getbootstrap.com/docs/4.0/content/code/
  • Loading branch information
praiskup committed Jan 18, 2025
1 parent 87c9784 commit 2ced930
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resallocwebui/templates/resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ <h1 class="resource--title">Resalloc resources</h1>
<td>{{ resource.ticket_id }}</td>
<td>{{ resource.user }}</td>
<td>{{ resource.sandbox }}</td>
<td>{{ resource.to_dict()["data"] }}</td>
<td><pre><code>{{ resource.to_dict()["data"] }}</code></pre></td>
</tr>
{% endfor %}
</tbody>
Expand Down

0 comments on commit 2ced930

Please sign in to comment.