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

WebUI:

- improved device details page
parent 3a329d3e
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!34Context Scalability extensions using CockroachDB + Removal of Stateful database inside Device + other
......@@ -17,7 +17,7 @@
{% extends 'base.html' %}
{% block content %}
<h1>Device {{ device.device_id.device_uuid.uuid }}</h1>
<h1>Device {{ device.name }} ({{ device.device_id.device_uuid.uuid }})</h1>
<div class="row mb-3">
<div class="col-sm-3">
......@@ -44,6 +44,7 @@
<div class="row mb-3">
<div class="col-sm-4">
<b>UUID: </b>{{ device.device_id.device_uuid.uuid }}<br><br>
<b>Name: </b>{{ device.name }}<br><br>
<b>Type: </b>{{ device.device_type }}<br><br>
<b>Status: </b> {{ dose.Name(device.device_operational_status).replace('DEVICEOPERATIONALSTATUS_', '') }}<br>
<b>Drivers: </b>
......@@ -57,7 +58,8 @@
<table class="table table-striped table-hover">
<thead>
<tr>
<th scope="col">Endpoints</th>
<th scope="col">Endpoint</th>
<th scope="col">Name</th>
<th scope="col">Type</th>
</tr>
</thead>
......@@ -67,6 +69,9 @@
<td>
{{ endpoint.endpoint_id.endpoint_uuid.uuid }}
</td>
<td>
{{ endpoint.name }}
</td>
<td>
{{ endpoint.endpoint_type }}
</td>
......
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