summaryrefslogtreecommitdiffstats
path: root/utils/test/testapi/opnfv_testapi/ui/results/results.html
diff options
context:
space:
mode:
authorTrevor Bramwell <tbramwell@linuxfoundation.org>2017-11-21 00:46:35 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-21 00:46:35 +0000
commit174b299271189496bae4c4d6727ea26a7a098756 (patch)
treeb063e18c795988e38e1eb4afa74d4cbf9524f057 /utils/test/testapi/opnfv_testapi/ui/results/results.html
parentfd65ec9e84ae025e6b903c403514405ba0bb0a61 (diff)
parentf11f26d23dabde24b0bcd67ac81b094aa89eb6c9 (diff)
Merge "Remove 'utils/test' Directory and update INFO"
Diffstat (limited to 'utils/test/testapi/opnfv_testapi/ui/results/results.html')
-rw-r--r--utils/test/testapi/opnfv_testapi/ui/results/results.html115
1 files changed, 0 insertions, 115 deletions
diff --git a/utils/test/testapi/opnfv_testapi/ui/results/results.html b/utils/test/testapi/opnfv_testapi/ui/results/results.html
deleted file mode 100644
index 2ae5339a0..000000000
--- a/utils/test/testapi/opnfv_testapi/ui/results/results.html
+++ /dev/null
@@ -1,115 +0,0 @@
-<h3>{{ctrl.pageHeader}}</h3>
-<p>{{ctrl.pageParagraph}}</p>
-<form class="form-inline" ng-show="ctrl.isUserResults">
-<h4>Upload Results</h4>
-<div class="form-group col-m-3">
- <input class="form-contrl btn btn-default" type = "file" file-model = "resultFile"/>
-</div>
-<div class="checkbox col-m-1">
- <label>
- <input type="checkbox" ng-model="ctrl.isPublic">public
- </label>
-</div>
-<div class="form-group col-m-3">
- <button class="btn btn-primary" ng-click = "ctrl.uploadFile()">upload result</button>
-</div>
-<div>
-<lable>{{ctrl.uploadState}}</label>
-</div>
-</form>
-<div class="row" style="margin-bottom:24px;"></div>
-<div class="result-filters">
- <h4>Filters</h4>
- <div class="row">
- <div class="col-md-3">
- <label for="cpid">Start Date</label>
- <p class="input-group">
- <input type="text" class="form-control"
- uib-datepicker-popup="{{ctrl.format}}"
- ng-model="ctrl.startDate" is-open="ctrl.startOpen"
- close-text="Close" />
- <span class="input-group-btn">
- <button type="button" class="btn btn-default" ng-click="ctrl.open($event, 'startOpen')">
- <i class="glyphicon glyphicon-calendar"></i>
- </button>
- </span>
- </p>
- </div>
- <div class="col-md-3">
- <label for="cpid">End Date</label>
- <p class="input-group">
- <input type="text" class="form-control"
- uib-datepicker-popup="{{ctrl.format}}"
- ng-model="ctrl.endDate" is-open="ctrl.endOpen"
- close-text="Close" />
- <span class="input-group-btn">
- <button type="button" class="btn btn-default" ng-click="ctrl.open($event, 'endOpen')">
- <i class="glyphicon glyphicon-calendar"></i>
- </button>
- </span>
- </p>
- </div>
- <div class="col-md-3" style="margin-top:24px;">
- <button type="submit" class="btn btn-primary" ng-click="ctrl.update()">Filter</button>
- <button type="submit" class="btn btn-primary btn-danger" ng-click="ctrl.clearFilters()">Clear</button>
- </div>
- </div>
-</div>
-
-<div cg-busy="{promise:ctrl.authRequest,message:'Loading'}"></div>
-<div cg-busy="{promise:ctrl.resultsRequest,message:'Loading'}"></div>
-<div ng-show="ctrl.data" class="results-table">
- <table ng-data="ctrl.data.result" ng-show="ctrl.data" class="table table-striped table-hover">
- <thead>
- <tr>
- <th>ID</th>
- <th>Pod</th>
- <th>Project</th>
- <th>Test Case</th>
- <th>Installer</th>
- <th>Version</th>
- <th>Scenario</th>
- <th>Criteria</th>
- <th>Start Date</th>
- <th>Stop Date</th>
- </tr>
- </thead>
-
- <tbody>
- <tr ng-repeat-start="(index, result) in ctrl.data.results">
- <td>{{ result._id }}</td>
- <td>{{ result.pod_name }}</td>
- <td>{{ result.project_name }}</td>
- <td>{{ result.case_name }}</td>
- <td>{{ result.installer }}</td>
- <td>{{ result.version }}</td>
- <td>{{ result.scenario }}</td>
- <td>{{ result.criteria }}</td>
- <td>{{ result.start_date }}</td>
- <td>{{ result.stop_date }}</td>
- </tr>
- <tr ng-repeat-end=>
- </tr>
- </tbody>
- </table>
-
- <div class="pages">
- <uib-pagination
- total-items="ctrl.totalItems"
- ng-model="ctrl.currentPage"
- items-per-page="ctrl.itemsPerPage"
- max-size="ctrl.maxSize"
- class="pagination-sm"
- boundary-links="true"
- rotate="false"
- num-pages="ctrl.numPages"
- ng-change="ctrl.update()">
- </uib-pagination>
- </div>
-</div>
-
-<div ng-show="ctrl.showError" class="alert alert-danger" role="alert">
- <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
- <span class="sr-only">Error:</span>
- {{ctrl.error}}
-</div>