From 6323b7441b918434e4352a74fbb72ba3c18946e0 Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Sat, 25 Feb 2023 16:34:47 +0000
Subject: [PATCH] WebUI component:

- Added Endpoint Name in Link, Service and Slice
---
 src/webui/service/templates/link/detail.html    | 4 ++++
 src/webui/service/templates/service/detail.html | 4 ++++
 src/webui/service/templates/slice/detail.html   | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/src/webui/service/templates/link/detail.html b/src/webui/service/templates/link/detail.html
index acac4a553..916abafde 100644
--- a/src/webui/service/templates/link/detail.html
+++ b/src/webui/service/templates/link/detail.html
@@ -37,6 +37,7 @@
                         <thead>
                             <tr>
                                 <th scope="col">Endpoint UUID</th>
+                                <th scope="col">Name</th>
                                 <th scope="col">Device</th>
                                 <th scope="col">Endpoint Type</th>
                             </tr>
@@ -44,6 +45,9 @@
                         <tbody>
                               {% for endpoint in link.link_endpoint_ids %}
                               <tr>
+                                   <td>
+                                        {{ endpoint.endpoint_uuid.uuid }}
+                                   </td>
                                    <td>
                                         {{ endpoints_data.get(endpoint.endpoint_uuid.uuid, (endpoint.endpoint_uuid.uuid, ''))[0] }}
                                    </td>
diff --git a/src/webui/service/templates/service/detail.html b/src/webui/service/templates/service/detail.html
index bee2e93c5..414aa19d0 100644
--- a/src/webui/service/templates/service/detail.html
+++ b/src/webui/service/templates/service/detail.html
@@ -55,6 +55,7 @@
             <thead>
                 <tr>
                     <th scope="col">Endpoint UUID</th>
+                    <th scope="col">Name</th>
                     <th scope="col">Device</th>
                     <th scope="col">Endpoint Type</th>
                 </tr>
@@ -62,6 +63,9 @@
             <tbody>
                 {% for endpoint in service.service_endpoint_ids %}
                 <tr>
+                    <td>
+                        {{ endpoint.endpoint_uuid.uuid }}
+                   </td>
                     <td>
                         {{ endpoints_data.get(endpoint.endpoint_uuid.uuid, (endpoint.endpoint_uuid.uuid, ''))[0] }}
                     </td>
diff --git a/src/webui/service/templates/slice/detail.html b/src/webui/service/templates/slice/detail.html
index 8f223e44d..13b69defe 100644
--- a/src/webui/service/templates/slice/detail.html
+++ b/src/webui/service/templates/slice/detail.html
@@ -55,6 +55,7 @@
             <thead>
                 <tr>
                     <th scope="col">Endpoint UUID</th>
+                    <th scope="col">Name</th>
                     <th scope="col">Device</th>
                     <th scope="col">Endpoint Type</th>
                 </tr>
@@ -62,6 +63,9 @@
             <tbody>
                 {% for endpoint in slice.slice_endpoint_ids %}
                 <tr>
+                    <td>
+                        {{ endpoint.endpoint_uuid.uuid }}
+                   </td>
                     <td>
                         {{ endpoints_data.get(endpoint.endpoint_uuid.uuid, (endpoint.endpoint_uuid.uuid, ''))[0] }}
                     </td>
-- 
GitLab