Paul Van Eck 649137a0b0 Adjust html and js to use new capabilities format
Since the new capabilities files now use 'status' fields
instead of 'core' fields, the static files were adjusted to
account for these changes. The report page will now give the
option to filter by required, advisory, deprecated, and removed
capabilitiy statuses. For now, the new capabilities file is mirrored
in the defcore folder of refstack.

Change-Id: I79a12e94b32a89c08e8046a427553d1c156c1a2d
2015-04-06 20:19:22 +00:00

49 lines
1.7 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js" ></script>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/themes/smoothness/jquery-ui.css" />
<link rel="stylesheet" type="text/css" href="/refstack.css">
<link rel="stylesheet" type="text/css" href="/report_page.css">
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script>
<script src="/js/jquery.cookie.js"></script>
<script src="/js/spin.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.8.1/mustache.min.js"></script>
<script src="/js/helpers.js"></script>
<script src="/js/refstack.js"></script>
<script>
var test_id = getUrlParam('test_id');
if (test_id) {
window.result_source = "/v1/results/" + test_id;
}
render_page = function(){
render_defcore_report_page();
};
$(document).ready(function() {
loading_spin();
render_page();
})
</script>
</head>
<body>
<h1>DefCore Test Report</h1>
<p></p>
<div>
<label for="schema_selector">Capabilities Schema: </label>
<br>
<select id="schema_selector" style="width: 125px">
<option selected="selected" value="2015.03.json" >2015.03</option>
</select>
</div>
<p></p>
<div id="test_props">
</div>
<p></p>
<div id="test_results"></div>
<p></p>
<div>Copyright OpenStack Foundation, 2014. Apache 2.0 License.</div>
</body>
</html>