configurationengine/source/scripts/crml_dc_report_template.html
changeset 3 e7e0ae78773e
parent 0 2e8eeb919028
equal deleted inserted replaced
2:87cfa131b535 3:e7e0ae78773e
     2 {% block title %}Compare data{% endblock %}
     2 {% block title %}Compare data{% endblock %}
     3 {% block content %}
     3 {% block content %}
     4 
     4 
     5     <h1>CRML Data Compatibility Report</h1><br>
     5     <h1>CRML Data Compatibility Report</h1><br>
     6     
     6     
     7     <table class="report">
     7     <table class="report" id="cdc_report">
     8       <tr>
     8       <tr>
     9         <td>Source:</td>
     9         <td>Source:</td>
    10         <td>{{ data.sourcedata.name }}</td>
    10         <td>{{ data.sourcedata.name }}</td>
    11       </tr>
    11       </tr>
    12       <tr>
    12       <tr>
    13         <td>Target:</td>
    13         <td>Target:</td>
    14         <td>{{ data.targetdata.name }}</td>
    14         <td>{{ data.targetdata.name }}</td>
    15       </tr>
    15       </tr>
    16     </table>
    16     </table>
       
    17     <script language="javascript" type="text/javascript">
       
    18 //<![CDATA[
       
    19     setFilterGrid("cdc_report");
       
    20 //]]>
       
    21 </script>
       
    22     
    17     
    23     
    18     <br/>
    24     <br/>
    19     
    25     
    20     <h2>Modified keys/files:</h2>
    26     <h2>Modified keys/files:</h2>
    21     
    27     
    22     <table class="report">
    28     <table class="report" id="mk_report">
    23     <tr>
    29     <tr>
    24         <th>File</th>
    30         <th>File</th>
    25         <th>Repository UID</th>
    31         <th>Repository UID</th>
    26         <th>Repository name</th>
    32         <th>Repository name</th>
    27         <th>Key UID</th>
    33         <th>Key UID</th>
    58             {% endif -%}
    64             {% endif -%}
    59 
    65 
    60         {% endif -%}
    66         {% endif -%}
    61     {% endfor %}
    67     {% endfor %}
    62     </table>
    68     </table>
       
    69     <script language="javascript" type="text/javascript">
       
    70 //<![CDATA[
       
    71     setFilterGrid("mk_report");
       
    72 //]]>
       
    73 </script>
       
    74     
    63     
    75     
    64     
    76     
    65     <h2>Added keys/files:</h2>
    77     <h2>Added keys/files:</h2>
    66     
    78     
    67     <table class="report">
    79     <table class="report" id="ak_report">
    68     <tr>
    80     <tr>
    69         <th>File</th>
    81         <th>File</th>
    70         <th>Repository UID</th>
    82         <th>Repository UID</th>
    71         <th>Repository name</th>
    83         <th>Repository name</th>
    72         <th>Key UID</th>
    84         <th>Key UID</th>
    90                 <td>{{ key_name }}</td>
   102                 <td>{{ key_name }}</td>
    91             </tr>
   103             </tr>
    92         {% endif -%}
   104         {% endif -%}
    93     {% endfor %}
   105     {% endfor %}
    94     </table>
   106     </table>
       
   107     <script language="javascript" type="text/javascript">
       
   108 //<![CDATA[
       
   109     setFilterGrid("ak_report");
       
   110 //]]>
       
   111 </script>
    95     
   112     
    96     
   113     
    97     <h2>Removed keys/files:</h2>
   114     <h2>Removed keys/files:</h2>
    98     
   115     
    99     <table class="report">
   116     <table class="report" id="rk_report">
   100     <tr>
   117     <tr>
   101         <th>File</th>
   118         <th>File</th>
   102         <th>Repository UID</th>
   119         <th>Repository UID</th>
   103         <th>Repository name</th>
   120         <th>Repository name</th>
   104         <th>Key UID</th>
   121         <th>Key UID</th>
   122                 <td>{{ key_name }}</td>
   139                 <td>{{ key_name }}</td>
   123             </tr>
   140             </tr>
   124         {% endif -%}
   141         {% endif -%}
   125     {% endfor %}
   142     {% endfor %}
   126     </table>
   143     </table>
       
   144     <script language="javascript" type="text/javascript">
       
   145 //<![CDATA[
       
   146     setFilterGrid("rk_report");
       
   147 //]]>
       
   148 </script>
   127     
   149     
   128     
   150     
   129     <h2>Duplicate repositories:</h2>
   151     <h2>Duplicate repositories:</h2>
   130     
   152     
   131     <table class="report">
   153     <table class="report" id="dr_report">
   132     <tr>
   154     <tr>
   133         <th>Repository UID</th>
   155         <th>Repository UID</th>
   134         <th>Files in source</th>
   156         <th>Files in source</th>
   135         <th>Files in target</th>
   157         <th>Files in target</th>
   136     </tr>
   158     </tr>
   147                 </td>
   169                 </td>
   148             </tr>
   170             </tr>
   149         {% endif -%}
   171         {% endif -%}
   150     {% endfor %}
   172     {% endfor %}
   151     </table>
   173     </table>
       
   174     <script language="javascript" type="text/javascript">
       
   175 //<![CDATA[
       
   176     setFilterGrid("dr_report");
       
   177 //]]>
       
   178 </script>
       
   179     
   152 {% endblock %}
   180 {% endblock %}