configurationengine/source/scripts/compare_data_report_template.html
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
     1 {% extends "cone_base.html" %}
     1 {% extends "cone_base.html" %}
     2 {% block title %}Compare data{% endblock %}
     2 {% block title %}Compare data{% endblock %}
     3 {% block content %}
     3 {% block content %}
     4     <h1>Configuration data comparison</h1><br>
     4     <h1>Configuration data comparison</h1><br>
     5     
     5     
     6     <table class="report">
     6     <table class="report" id="comp">
     7       <tr>
     7       <tr>
     8         <td>Source:</td>
     8         <td>Source:</td>
     9         <td>{{ data.sourcedata.name }}</td>
     9         <td>{{ data.sourcedata.name }}</td>
    10       </tr>
    10       </tr>
    11       <tr>
    11       <tr>
    12         <td>Target:</td>
    12         <td>Target:</td>
    13         <td>{{ data.targetdata.name }}</td>
    13         <td>{{ data.targetdata.name }}</td>
    14       </tr>
    14       </tr>
    15     </table>
    15     </table>
       
    16     <script language="javascript" type="text/javascript">
       
    17 //<![CDATA[
       
    18     setFilterGrid("comp");
       
    19 //]]>
       
    20 </script>
    16     
    21     
    17     <br/>
    22     <br/>
    18     
    23     
    19     <table class="report">
    24     <table class="report" id="report_data">
    20     <tr>
    25     <tr>
    21         <th class="featureName">Full reference</th>
    26         <th class="featureName">Full reference</th>
    22         <th class="featureName">Name</th>
    27         <th class="featureName">Name</th>
    23         <th class="featureName">Source value</th>
    28         <th class="featureName">Source value</th>
    24         <th class="featureName">Target value</th>
    29         <th class="featureName">Target value</th>
    33            </tr>
    38            </tr>
    34        {% endif -%}
    39        {% endif -%}
    35     {%- endfor -%}
    40     {%- endfor -%}
    36 
    41 
    37     </table>
    42     </table>
       
    43     <script language="javascript" type="text/javascript">
       
    44 //<![CDATA[
       
    45     setFilterGrid("report_data");
       
    46 //]]>
       
    47 </script>
    38 {% endblock %}
    48 {% endblock %}