Loading src/webui/service/templates/opticalconfig/details.html +111 −127 Original line number Diff line number Diff line Loading @@ -14,17 +14,13 @@ limitations under the License. --> {% extends 'base.html' %} {% block content %} <h1>Optical Configurations</h1> <div class="row"> {% if device %} <div class="col-sm-12"> <span>Device ID:</span> Loading @@ -33,7 +29,6 @@ <div class="col-sm-12"> <div class="col-sm-12"> <div class="row mb-3 "> <div class="col-sm-3"> <button type="button" class="btn btn-success" onclick="window.location.href='{{ url_for('opticalconfig.home') }}'"> <i class="bi bi-box-arrow-in-left"></i> Loading @@ -53,7 +48,6 @@ <span>Device Name:</span> <span>{{device_name}}</span> </div> </div> {% if type == 'optical-transponder' %} Loading @@ -69,7 +63,6 @@ </tr> </thead> <tbody> {% for channel in device %} <tr style="background-color:{%if channel.status == 'DISABLED' %} gray {% endif %};"> <td>{{channel.name.index}}</td> Loading @@ -83,7 +76,6 @@ </tbody> </table> {% elif type == 'openroadm' %} <table class="table table-striped table-hover"> <thead> <tr> Loading @@ -98,7 +90,6 @@ </tr> </thead> <tbody> {% for channel in device %} <tr style="background-color:{%if channel.status == 'DISABLED' %} gray {% endif %};"> <td>{{channel.name}}</td> Loading @@ -113,7 +104,6 @@ {% endfor %} </tbody> </table> {% else %} <table class="table table-striped table-hover"> <thead> Loading @@ -127,11 +117,9 @@ <th scope="col">Source Port</th> <th scope="col">Destination Port</th> <th scope="col">Channel Status </th> </tr> </thead> <tbody> {% for channel in device %} <tr> <td>{{channel.channel_index}}</td> Loading @@ -143,15 +131,11 @@ <td>{{channel.src_port}}</td> <td>{{channel.dest_port}}</td> <td>{{channel.status}}</td> </tr> {% endfor %} </tbody> </table> {% endif%} </div> {% else %} Loading Loading
src/webui/service/templates/opticalconfig/details.html +111 −127 Original line number Diff line number Diff line Loading @@ -14,17 +14,13 @@ limitations under the License. --> {% extends 'base.html' %} {% block content %} <h1>Optical Configurations</h1> <div class="row"> {% if device %} <div class="col-sm-12"> <span>Device ID:</span> Loading @@ -33,7 +29,6 @@ <div class="col-sm-12"> <div class="col-sm-12"> <div class="row mb-3 "> <div class="col-sm-3"> <button type="button" class="btn btn-success" onclick="window.location.href='{{ url_for('opticalconfig.home') }}'"> <i class="bi bi-box-arrow-in-left"></i> Loading @@ -53,7 +48,6 @@ <span>Device Name:</span> <span>{{device_name}}</span> </div> </div> {% if type == 'optical-transponder' %} Loading @@ -69,7 +63,6 @@ </tr> </thead> <tbody> {% for channel in device %} <tr style="background-color:{%if channel.status == 'DISABLED' %} gray {% endif %};"> <td>{{channel.name.index}}</td> Loading @@ -83,7 +76,6 @@ </tbody> </table> {% elif type == 'openroadm' %} <table class="table table-striped table-hover"> <thead> <tr> Loading @@ -98,7 +90,6 @@ </tr> </thead> <tbody> {% for channel in device %} <tr style="background-color:{%if channel.status == 'DISABLED' %} gray {% endif %};"> <td>{{channel.name}}</td> Loading @@ -113,7 +104,6 @@ {% endfor %} </tbody> </table> {% else %} <table class="table table-striped table-hover"> <thead> Loading @@ -127,11 +117,9 @@ <th scope="col">Source Port</th> <th scope="col">Destination Port</th> <th scope="col">Channel Status </th> </tr> </thead> <tbody> {% for channel in device %} <tr> <td>{{channel.channel_index}}</td> Loading @@ -143,15 +131,11 @@ <td>{{channel.src_port}}</td> <td>{{channel.dest_port}}</td> <td>{{channel.status}}</td> </tr> {% endfor %} </tbody> </table> {% endif%} </div> {% else %} Loading