summaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/components/sut
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-21 17:11:44 +0200
committerStamatis Katsaounis <mokats@intracom-telecom.com>2018-11-23 11:56:28 +0200
commitfc3d96993d39fb852bc78005e5d4e18502e3e99e (patch)
tree8079f79377f864ff9b95d5a631af95def5364366 /3rd_party/static/testapi-ui/components/sut
parent16d199278064f28ccfc6a295f3e7202467b79b34 (diff)
Clean HTML code
JIRA: DOVETAIL-753 This patch cleans the HTML code, which was in a bad state and not maintainable. Change-Id: Iab19a9af1835a384544f58c13ba5664723306535 Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to '3rd_party/static/testapi-ui/components/sut')
-rw-r--r--3rd_party/static/testapi-ui/components/sut/sut.html71
1 files changed, 36 insertions, 35 deletions
diff --git a/3rd_party/static/testapi-ui/components/sut/sut.html b/3rd_party/static/testapi-ui/components/sut/sut.html
index 3426894..ec6b20c 100644
--- a/3rd_party/static/testapi-ui/components/sut/sut.html
+++ b/3rd_party/static/testapi-ui/components/sut/sut.html
@@ -1,42 +1,43 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
- <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
-
-<link rel="stylesheet" href="testapi-ui/assets/css/combine.css" />
-
-<div class="container-fluid common-main-container">
-<h2>Endpoints</h2>
-<div class="results-table" style="margin-top:30px">
- <table class="table table-striped table-hover">
+<!DOCTYPE html>
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" href="testapi-ui/assets/css/combine.css" />
+</head>
+<body>
+ <div class="container-fluid common-main-container">
+ <h2>Endpoints</h2>
+ <div class="results-table" style="margin-top: 30px;">
+ <table class="table table-striped table-hover">
<thead>
- <tr>
- <th>Service Name</th>
- <th>Service Type</th>
- <th>URL</th>
- <th>Enabled</th>
- </tr>
+ <tr>
+ <th>Service Name</th>
+ <th>Service Type</th>
+ <th>URL</th>
+ <th>Enabled</th>
+ </tr>
</thead>
<tbody style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
- <tr ng-repeat="endpoint in ctrl.sutData.endpoint_info">
- <td>{{ endpoint['Service Name'] }}</td>
- <td>{{ endpoint['Service Type'] }}</td>
- <td>{{ endpoint['URL'] }}</td>
- <td>{{ endpoint['Enabled'] }}</td>
- </tr>
+ <tr ng-repeat="endpoint in ctrl.sutData.endpoint_info">
+ <td>{{ endpoint['Service Name'] }}</td>
+ <td>{{ endpoint['Service Type'] }}</td>
+ <td>{{ endpoint['URL'] }}</td>
+ <td>{{ endpoint['Enabled'] }}</td>
+ </tr>
</tbody>
- </table>
-</div>
-
-<h2>Hosts</h2>
-<div ng-repeat="(host, info) in ctrl.sutData.hardware_info">
- <div class="results-table" style="margin-top:30px;">
+ </table>
+ </div>
+ <h2>Hosts</h2>
+ <div ng-repeat="(host, info) in ctrl.sutData.hardware_info">
+ <div class="results-table" style="margin-top: 30px;">
<table class="table table-striped table-hover">
- <tbody style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
- <tr ng-repeat="record in info">
- <td>{{ record[0] }}</td>
- <td>{{ record[1] }}</td>
- </tr>
- </tbody>
+ <tbody style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
+ <tr ng-repeat="record in info">
+ <td>{{ record[0] }}</td>
+ <td>{{ record[1] }}</td>
+ </tr>
+ </tbody>
</table>
+ </div>
</div>
-</div>
-</div>
+ </div>
+</body>