|
2 | 2 |
|
3 | 3 | {% block title %}Data Comparison Results{% endblock %} |
4 | 4 |
|
| 5 | +{% block head %} |
| 6 | +<script src="{{ url_for('static', filename='jquery.min.js') }}"></script> |
| 7 | +<script src="{{ url_for('static', filename='jquery.handsontable.full.js') }}"></script> |
| 8 | +<link rel="stylesheet" media="screen" href="{{ url_for('static', filename='jquery.handsontable.full.css') }}"> |
| 9 | +{% endblock %} |
| 10 | + |
5 | 11 | {% block page_content %} |
6 | 12 | <div class="container-fluid" id="page-content"> |
7 | 13 |
|
8 | | -{% if options.show_row_col_labels %} |
9 | | - <h1>Report Notes</h1> |
10 | | - |
11 | | - <ul> |
12 | | - {% for report_note in report_notes %} |
13 | | - <li>{{ report_note }}</li> |
14 | | - {% endfor %} |
15 | | - </ul> |
16 | | -{% endif %} |
17 | | - |
18 | | -<table border="1"> |
19 | | - |
20 | | -{% if options.show_row_col_labels %} |
21 | | -<tr> |
22 | | -<td/> |
23 | | -{% for cell in table_rows[0] %} |
24 | | - <td>{{ loop.index }}</td> |
25 | | -{% endfor %} |
26 | | -</tr> |
27 | | -{% endif %} |
28 | | - |
29 | | -{% for row in table_rows %} |
30 | | -<tr> |
31 | | - {% if options.show_row_col_labels %} |
32 | | - <td>{{ loop.index }}</td> |
33 | | - {% endif %} |
34 | | - |
35 | | - {% for cell in row %} |
36 | | - <td class="{{ cell[1] }}"> |
37 | | - {{ cell[0] }} |
38 | | - </td> |
39 | | - {% endfor %} |
40 | | -</tr> |
41 | | -{% endfor %} |
42 | | -</table> |
43 | | -</p> |
| 14 | + <h1>Results</h1> |
| 15 | + <div class="bs-docs-example"> |
| 16 | + <ul id="myTab" class="nav nav-pills"> |
| 17 | + <li class="active"><a href="#summary" data-toggle="tab">Summary</a></li> |
| 18 | + <li><a href="#results" data-toggle="tab">Grid Comparison</a></li> |
| 19 | + </ul> |
| 20 | + |
| 21 | + <div id="myTabContent" class="tab-content"> |
| 22 | + <div class="tab-pane fade in active" id="summary"> |
| 23 | + <ul> |
| 24 | + {% for report_note in report_notes %} |
| 25 | + <li>{{ report_note }}</li> |
| 26 | + {% endfor %} |
| 27 | + </ul> |
| 28 | + </div> |
| 29 | + <div class="tab-pane fade" id="results"> |
| 30 | + <table border="1"> |
| 31 | + |
| 32 | + {% if options.show_row_col_labels %} |
| 33 | + <tr> |
| 34 | + <td/> |
| 35 | + {% for cell in table_rows[0] %} |
| 36 | + <td>{{ loop.index }}</td> |
| 37 | + {% endfor %} |
| 38 | + </tr> |
| 39 | + {% endif %} |
| 40 | + |
| 41 | + {% for row in table_rows %} |
| 42 | + <tr> |
| 43 | + {% if options.show_row_col_labels %} |
| 44 | + <td>{{ loop.index }}</td> |
| 45 | + {% endif %} |
| 46 | + |
| 47 | + {% for cell in row %} |
| 48 | + <td class="{{ cell[1] }}"> |
| 49 | + {{ cell[0] }} |
| 50 | + </td> |
| 51 | + {% endfor %} |
| 52 | + </tr> |
| 53 | + {% endfor %} |
| 54 | + </table> |
| 55 | + </div> |
| 56 | + </div> |
| 57 | + </div> |
| 58 | + |
44 | 59 | </div> |
| 60 | + |
45 | 61 | {% endblock %} |
46 | 62 |
|
0 commit comments