diff options
author | 2018-07-06 05:16:40 -0400 | |
---|---|---|
committer | 2018-07-06 05:21:42 -0400 | |
commit | b3e40f026d655501bfa581452c447784604ecb05 (patch) | |
tree | 406f8bfc1abc1b33f98153d03abd34ef7b0e2fe9 /3rd_party/static/testapi-ui/components/sut/sut.html | |
parent | b1b0ea32d1a296c7d055c5391261dcad6be48c63 (diff) |
Move all web portal code to the new repo dovetail-webportal
This is only the first step to simply copy the file here.
There still need some more work to make sure all work well.
All the changes will be submitted with other patches to make it easily to review.
JIRA: DOVETAIL-671
Change-Id: I64d32a9df562184166b6199e2719f298687d1a0a
Signed-off-by: xudan <xudan16@huawei.com>
Diffstat (limited to '3rd_party/static/testapi-ui/components/sut/sut.html')
-rw-r--r-- | 3rd_party/static/testapi-ui/components/sut/sut.html | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/3rd_party/static/testapi-ui/components/sut/sut.html b/3rd_party/static/testapi-ui/components/sut/sut.html new file mode 100644 index 0000000..3426894 --- /dev/null +++ b/3rd_party/static/testapi-ui/components/sut/sut.html @@ -0,0 +1,42 @@ +<!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"> + <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"> + <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> |