aboutsummaryrefslogtreecommitdiffstats
path: root/3rd_party/static/testapi-ui/components/guidelines/guidelines.html
blob: b23811c2ba970fa53e899fb1c4972032c42a5806 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!--
 Copyright (c) 2019 opnfv.

 All rights reserved. This program and the accompanying materials
 are made available under the terms of the Apache License, Version 2.0
 which accompanies this distribution, and is available at
 http://www.apache.org/licenses/LICENSE-2.0
-->

<h3>OPNFV Ready&#8482; Guidelines</h3>

<!-- Guideline Filters -->
<div class="row">
  <div class="col-md-3">
    <strong>Version:</strong>
    <!-- Slicing the version file name here gets rid of the '.json' file extension -->
    <select ng-model="ctrl.version"
            ng-change="ctrl.update()"
            class="form-control"
            ng-options="versionFile.slice(0,10) for versionFile in ctrl.versionList">
    </select>
  </div>
</div>

<br>

<strong>Capability Status:</strong>
<div class="checkbox">
  <label>
    <input type="checkbox" ng-model="ctrl.showMandatory">
    <span class="mandatory">Mandatory</span>
  </label>
  <label>
    <input type="checkbox" ng-model="ctrl.showOptional">
    <span class="optional">Optional</span>
  </label>
</div>
<!-- End Capability Filters -->

<!-- Loading animation divs -->
<div cg-busy="{promise:ctrl.versionsRequest,message:'Loading versions'}"></div>
<div cg-busy="{promise:ctrl.capsRequest,message:'Loading capabilities'}"></div>

<!-- Get the version-specific template -->
<div nf-show="ctrl.data" ng-include src="ctrl.detailsTemplate"></div>