{% extends "base.html" %} {% from "_macros.html" import icon %} {% block title %}{{ _("New comparison") }}{% endblock %} {% block content %}

{{ _("Compare LabVIEW code") }}

{{ _("Choose two VIs or two folders. Block diagrams are parsed and compared without LabVIEW and drawn side by side as SVG.") }}

{% if error %}
{{ error }}
{% endif %}
{% for side, label, val, sub in (("a", "A", a, _("old / reference")), ("b", "B", b, _("new / changed"))) %}
{{ label }} {{ sub }}
{{ icon("vi", "ficon big") }}
{{ _("Drop a VI or a folder here") }}
{% if loop.first %}
{% endif %} {% endfor %}
{{ _("Recent comparisons") }} {% if recent %}
{% endif %}
{% if not recent %}
{{ _("Nothing yet. Your comparisons will be listed here.") }}
{% endif %} {% for r in recent %} {{ icon("dir" if r.kind == "folder" else "vi") }} A {{ r.a }}B {{ r.b }} {% endfor %}
{% endblock %}