Commit ecc32069 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

WebUI:

- improved device details page
parent 3a329d3e
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -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>