summaryrefslogtreecommitdiffstats
path: root/testapi/3rd_party/static/testapi-ui/components/results/results.html
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2017-10-27 16:58:49 +0800
committerSerena Feng <feng.xiaowei@zte.com.cn>2017-10-31 01:00:35 +0000
commit426aa0231af6cb1911ac7b6fbd36062e338af05a (patch)
tree26199aa442137d9783feb568bf07b57bc5829470 /testapi/3rd_party/static/testapi-ui/components/results/results.html
parent529b408c84abb20e3ac28f5d07fe485d9f55ac12 (diff)
remove components out side of 3rd_party
components are implemented by TestAPI team, they are not the third party code, put them under opnfv_testapi/ui directory Change-Id: Ia0f5e2afe4bcb12bcb74d3a8d78fb28fe1432bec Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/3rd_party/static/testapi-ui/components/results/results.html')
-rw-r--r--testapi/3rd_party/static/testapi-ui/components/results/results.html115
1 files changed, 0 insertions, 115 deletions
diff --git a/testapi/3rd_party/static/testapi-ui/components/results/results.html b/testapi/3rd_party/static/testapi-ui/components/results/results.html
deleted file mode 100644
index 2ae5339..0000000
--- a/testapi/3rd_party/static/testapi-ui/components/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>