Skip to content

Commit

Permalink
Fixed device type to show machine type and added device profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
Soufiane Jounaid committed Mar 27, 2024
1 parent 289eeb1 commit 18483eb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion chameleon/templates/edge-hw-discovery/resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,27 @@
{% block title %}CHI@Edge Resource Browser{% endblock %}

{% block content %}
<h1>Hardware Discovery</h1>
<h1>CHI@Edge Hardware Discovery</h1>

<table width=100%>
<tr>
<th>Name</th>
<th>Type</th>
<th>Owning project</th>
<th>Device profiles</th>
</tr>
{% for device in devices %}
<tr>
<td>{{ device.device_name }}</td>
<td>{{ device.device_type }}</td>
<td>{{ device.owning_project }}</td>
<td>
<ul>
{% for profile in device.supported_device_profiles %}
<li>{{ profile }}</li>
{% endfor %}
</ul>
</td>
</tr>
{% endfor %}
</table>
Expand Down

0 comments on commit 18483eb

Please sign in to comment.