diff --git a/src/webui/service/templates/link/detail.html b/src/webui/service/templates/link/detail.html index 8ca7faee3e1871d11b819c6ca95668e654041f8c..864d0cdb20b8098a100c9c5f32ca637c20af9aac 100644 --- a/src/webui/service/templates/link/detail.html +++ b/src/webui/service/templates/link/detail.html @@ -79,6 +79,29 @@ </div> +<b>Attributes:</b> +<table class="table table-striped table-hover"> + <thead> + <tr> + <th scope="col">Key</th> + <th scope="col">Value</th> + </tr> + </thead> + <tbody> + {% for field_descriptor, field_value in link.attributes.ListFields() %} + <tr> + <td> + {{ field_descriptor.name }} + </td> + <td> + {{ field_value }} + </td> + </tr> + {% endfor %} + </tbody> +</table> + + <!-- Modal --> <div class="modal fade" id="deleteModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true"> diff --git a/src/webui/service/templates/service/detail.html b/src/webui/service/templates/service/detail.html index 414aa19d0165ed7138f277005d5573c9242daefb..9c27bc99a106c96c352b4623d4c5bd91839c6726 100644 --- a/src/webui/service/templates/service/detail.html +++ b/src/webui/service/templates/service/detail.html @@ -166,6 +166,15 @@ {% if constraint.sla_availability.all_active %}all{% else %}single{% endif %}-active </td> </tr> + {% elif constraint.WhichOneof('constraint')=='schedule' %} + <tr> + <td>Schedule</td> + <td>-</td> + <td> + Start time: {{ constraint.schedule.start_timestamp }}, + Duration: {{ constraint.schedule.duration_days }} days. + </td> + </tr> {% elif constraint.WhichOneof('constraint')=='sla_isolation' %} <tr> <td>SLA Isolation</td> diff --git a/src/webui/service/templates/slice/detail.html b/src/webui/service/templates/slice/detail.html index 13b69defeb95f66aba47a4aa78f98631ca8cc367..bbca18ecc8b91d99dbb6960e547b1ed7c47fe038 100644 --- a/src/webui/service/templates/slice/detail.html +++ b/src/webui/service/templates/slice/detail.html @@ -166,6 +166,15 @@ {% if constraint.sla_availability.all_active %}all{% else %}single{% endif %}-active </td> </tr> + {% elif constraint.WhichOneof('constraint')=='schedule' %} + <tr> + <td>Schedule</td> + <td>-</td> + <td> + Start time: {{ constraint.schedule.start_timestamp }}, + Duration: {{ constraint.schedule.duration_days }} days. + </td> + </tr> {% elif constraint.WhichOneof('constraint')=='sla_isolation' %} <tr> <td>SLA Isolation</td>