4 <!-- Bootstrap core CSS -->
5 <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
6 <link href="../../css/default.css" rel="stylesheet">
7 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
8 <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
9 <script type="text/javascript" src="http://d3js.org/d3.v2.min.js"></script>
10 <script type="text/javascript" src="../../js/trend-qtip.js"></script>
12 // trend line management
13 d3.csv("./scenario_history.csv", function(data) {
14 // ***************************************
15 // Create the trend line
16 {% for scenario in prof_results.keys() -%}
17 // for scenario {{scenario}}
19 var trend{{loop.index}} = data.filter(function(row) {
20 return row["scenario"]=="{{scenario}}" && row["installer"]=="{{installer}}";
23 trend{{loop.index}}.forEach(function(d) {
24 d.date = parseDate(d.date);
27 // Draw the trend line
28 var mytrend = trend("#trend_svg{{loop.index}}",trend{{loop.index}})
29 // ****************************************
33 <script type="text/javascript">
34 $(document).ready(function (){
35 $(".btn-more").click(function() {
37 $(this).parent().find(".panel-default").show();
43 <div class="container">
44 <div class="masthead">
45 <h3 class="text-muted">QTIP status page ({{version}}, {{date}})</h3>
47 <ul class="nav nav-justified">
48 <li class="active"><a href="http://testresults.opnfv.org/reporting/index.html">Home</a></li>
49 <li><a href="status-apex.html">Apex</a></li>
50 <!--<li><a href="status-compass.html">Compass</a></li>-->
51 <!--<li><a href="status-daisy.html">Daisy</a></li>-->
52 <!--<li><a href="status-fuel.html">Fuel</a></li>-->
53 <!--<li><a href="status-joid.html">Joid</a></li>-->
58 <div class="col-md-1"></div>
59 <div class="col-md-10">
60 <div class="page-header">
61 <h2>{{installer}}</h2>
64 <div class="scenario-overview">
65 <div class="panel-heading"><h4><b>List of last scenarios ({{version}}) run over the last {{period}} days </b></h4></div>
68 <th width="25%">Pod/Scenario</th>
69 <th width="25%">Trend</th>
70 <th width="25%">Last 4 Iterations</th>
71 <th width="25%">Last 10 Days</th>
73 {% for scenario,result in prof_results.iteritems() -%}
76 <td><div id="trend_svg{{loop.index}}"></div></td>
77 <td>{{prof_results[scenario].getFourDaysScore()}}</td>
78 <td>{{prof_results[scenario].getTenDaysScore()}}</td>
86 <div class="col-md-1"></div>