diff -r 87cfa131b535 -r e7e0ae78773e configurationengine/source/scripts/compare_ci_report_template.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/configurationengine/source/scripts/compare_ci_report_template.html Tue Aug 10 14:29:28 2010 +0300 @@ -0,0 +1,76 @@ +{% extends "cone_base.html" %} +{% block title %}Compare API{% endblock %} +{% block content %} +
Reference | +Source confml | +Target confml | +Source element | +Problem | +Target element | +||||
---|---|---|---|---|---|---|---|---|---|
Missing {{fqr}} | +{{ data.sourcedata.features[fqr].get_configuration_path() }} | ++ | + | Missing feature | ++ | ||||
Difference with {{fqr}} | +{{ data.sourcedata.features[fqr].get_configuration_path() }} | +{{ data.targetdata.features[fqr].get_configuration_path() }} | + {%- if data.sourcedata.features[fqr]['type'] != data.targetdata.features[fqr]['type'] %} +{{data.sourcedata.features[fqr]['type']}} | +Type difference | +{{data.targetdata.features[fqr]['type']}} | + {% elif data.sourcedata.features[fqr]['options'] != data.targetdata.features[fqr]['options'] %} +{% for option in data.sourcedata.features[fqr]['options'].values() -%}
+ Option {%- if option.map %} map=option.map{% else %} name={{ option.name }}, value={{ option.value}}{% endif %} + {%- endfor %} |
+ Options difference | +{% for option in data.targetdata.features[fqr]['options'].values() -%}
+ Option {%- if option.map %} map=option.map{% else %} name={{ option.name }}, value={{ option.value}}{% endif %} + {%- endfor %} |
+ {% else %}
+ + {%- endif -%} + |