Skip to content
Snippets Groups Projects
Commit c6f489bf authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch 'feat/tid-add-support-to-webui-to-show-device-inventory-items' into 'develop'

Resolve "(TID) Add support to WebUI to show device inventory items"

See merge request !158
parents ef50deb0 b7b447c6
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!158Resolve "(TID) Add support to WebUI to show device inventory items"
...@@ -86,7 +86,42 @@ ...@@ -86,7 +86,42 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div> {% if device.components|length > 1 %}
<div class="col-sm-8">
<table class="table table-striped table-hover">
<thead>
<tr>
<th scope="col">Component UUID</th>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Parent</th>
<th scope="col">Attributes</th>
</tr>
</thead>
<tbody>
{% for component in device.components %}
<tr>
<td>
{{ component.component_uuid.uuid }}
</td>
<td>
{{ component.name }}
</td>
<td>
{{ component.type }}
</td>
<td>
{{ component.parent }}
</td>
<td>
{{ component.attributes }}
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% endif %}
</div> </div>
<b>Configurations:</b> <b>Configurations:</b>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment