Merge "add web portal framework for TestAPI"
[releng.git] / utils / test / testapi / 3rd_party / static / testapi-ui / components / guidelines / guidelines.html
1 <h3>OpenStack Powered&#8482; Guidelines</h3>
2
3 <!-- Guideline Filters -->
4 <div class="row">
5     <div class="col-md-3">
6         <strong>Version:</strong>
7         <!-- Slicing the version file name here gets rid of the '.json' file extension -->
8         <select ng-model="ctrl.version"
9                 ng-change="ctrl.update()"
10                 class="form-control"
11                 ng-options="versionFile.slice(0,-5) for versionFile in ctrl.versionList">
12         </select>
13     </div>
14     <div class="col-md-4">
15         <strong>Target Program:</strong>
16         <span class="program-about"><a target="_blank" href="http://www.openstack.org/brand/interop/">About</a></span>
17         <select ng-model="ctrl.target" class="form-control" ng-change="ctrl.updateTargetCapabilities()">
18             <option value="platform">OpenStack Powered Platform</option>
19             <option value="compute">OpenStack Powered Compute</option>
20             <option value="object">OpenStack Powered Object Storage</option>
21         </select>
22     </div>
23 </div>
24
25 <br />
26 <div ng-if="ctrl.guidelines">
27     <strong>Guideline Status:</strong>
28     {{ctrl.guidelines.status | capitalize}}
29 </div>
30
31 <div ng-show="ctrl.guidelines">
32     <strong>Corresponding OpenStack Releases:</strong>
33     <ul class="list-inline">
34         <li ng-repeat="release in ctrl.guidelines.releases">
35             {{release | capitalize}}
36         </li>
37     </ul>
38 </div>
39
40 <strong>Capability Status:</strong>
41 <div class="checkbox">
42     <label>
43     <input type="checkbox" ng-model="ctrl.status.required">
44     <span class="required">Required</span>
45     </label>
46     <label>
47     <input type="checkbox" ng-model="ctrl.status.advisory">
48     <span class="advisory">Advisory</span>
49     </label>
50     <label>
51     <input type="checkbox" ng-model="ctrl.status.deprecated">
52     <span class="deprecated">Deprecated</span>
53     </label>
54     <label>
55     <input type="checkbox" ng-model="ctrl.status.removed">
56     <span class="removed">Removed</span>
57     </label>
58     <a class="test-list-dl pull-right"
59        title="Get a test list for capabilities matching selected statuses."
60        ng-click="ctrl.openTestListModal()">
61
62         Test List <span class="glyphicon glyphicon-file"></span>
63     </a>
64 </div>
65 <!-- End Capability Filters -->
66
67 <p><small>Tests marked with <span class="glyphicon glyphicon-flag text-warning"></span> are tests flagged by Interop Working Group.</small></p>
68
69 <!-- Loading animation divs -->
70 <div cg-busy="{promise:ctrl.versionsRequest,message:'Loading versions'}"></div>
71 <div cg-busy="{promise:ctrl.capsRequest,message:'Loading capabilities'}"></div>
72
73 <!-- Get the version-specific template -->
74 <div ng-include src="ctrl.detailsTemplate"></div>
75
76 <div ng-show="ctrl.showError" class="alert alert-danger" role="alert">
77     <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span>
78     <span class="sr-only">Error:</span>
79     {{ctrl.error}}
80 </div>