aboutsummaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/components/sut
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2019-02-12 16:03:17 +0200
committerStamatis Katsaounis <mokats@intracom-telecom.com>2019-02-13 09:37:15 +0200
commit9ec1397dd9fc9ae3c97ef5a8059dc5b57717c9dc (patch)
treea5608e273881abe89605dce3f943a174678d5886 /3rd_party/static/testapi-ui/components/sut
parent83c44e0acaed30f2388a69fd13ec806c38edfd73 (diff)
Fix lint and identation issues and remove unwanted parts of code
Change-Id: Ic294155075962f0b78e3102cff993ee2421ad99e 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.html66
1 files changed, 29 insertions, 37 deletions
diff --git a/3rd_party/static/testapi-ui/components/sut/sut.html b/3rd_party/static/testapi-ui/components/sut/sut.html
index f707662..9b5e278 100644
--- a/3rd_party/static/testapi-ui/components/sut/sut.html
+++ b/3rd_party/static/testapi-ui/components/sut/sut.html
@@ -1,44 +1,36 @@
-<!DOCTYPE html>
-<head>
- <title>OVP</title>
- <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;">
+<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>
+ </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>
+ </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 class="table table-striped table-hover">
- <thead>
- <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 ng-repeat="record in info">
+ <td>{{ record[0] }}</td>
+ <td>{{ record[1] }}</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 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>
- </table>
- </div>
- </div>
</div>
-</body>
+</div>