diff options
author | Stamatis Katsaounis <mokats@intracom-telecom.com> | 2018-11-21 17:11:44 +0200 |
---|---|---|
committer | Stamatis Katsaounis <mokats@intracom-telecom.com> | 2018-11-23 11:56:28 +0200 |
commit | fc3d96993d39fb852bc78005e5d4e18502e3e99e (patch) | |
tree | 8079f79377f864ff9b95d5a631af95def5364366 /3rd_party/static/testapi-ui/components/guidelines/guidelines.html | |
parent | 16d199278064f28ccfc6a295f3e7202467b79b34 (diff) |
Clean HTML code
JIRA: DOVETAIL-753
This patch cleans the HTML code, which was in a bad state and not
maintainable.
Change-Id: Iab19a9af1835a384544f58c13ba5664723306535
Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to '3rd_party/static/testapi-ui/components/guidelines/guidelines.html')
-rw-r--r-- | 3rd_party/static/testapi-ui/components/guidelines/guidelines.html | 60 |
1 files changed, 13 insertions, 47 deletions
diff --git a/3rd_party/static/testapi-ui/components/guidelines/guidelines.html b/3rd_party/static/testapi-ui/components/guidelines/guidelines.html index 6e138b8..5cf3cbd 100644 --- a/3rd_party/static/testapi-ui/components/guidelines/guidelines.html +++ b/3rd_party/static/testapi-ui/components/guidelines/guidelines.html @@ -2,55 +2,29 @@ <!-- 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 class="col-md-4"> - <strong>Target Program:</strong> - <span class="program-about"><a target="_blank" href="http://www.openstack.org/brand/interop/">About</a></span> - <select ng-model="ctrl.target" class="form-control" ng-change="ctrl.updateTargetCapabilities()"> - <option value="platform">OpenStack Powered Platform</option> - <option value="compute">OpenStack Powered Compute</option> - <option value="object">OpenStack Powered Object Storage</option> - </select> - </div> - --> + <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 /> -<!-- -<div ng-if="ctrl.guidelines"> - <strong>Guideline Status:</strong> - {{ctrl.guidelines.status | capitalize}} -</div> - -<div ng-show="ctrl.guidelines"> - <strong>Corresponding OpenStack Releases:</strong> - <ul class="list-inline"> - <li ng-repeat="release in ctrl.guidelines.releases"> - {{release | capitalize}} - </li> - </ul> -</div> ---> <strong>Capability Status:</strong> <div class="checkbox"> - <label> + <label> <input type="checkbox" ng-model="ctrl.showMandatory"> <span class="mandatory">Mandatory</span> - </label> - <label> + </label> + <label> <input type="checkbox" ng-model="ctrl.showOptional"> <span class="optional">Optional</span> - </label> + </label> </div> <!-- End Capability Filters --> @@ -60,11 +34,3 @@ <!-- Get the version-specific template --> <div nf-show="ctrl.data" ng-include src="ctrl.detailsTemplate"></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> ---> |