aboutsummaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/components/sut/sut.html
diff options
context:
space:
mode:
Diffstat (limited to '3rd_party/static/testapi-ui/components/sut/sut.html')
-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>