{% extends "base.html" %} {#- one form, two uses: `editing` is the key of the entry being changed, or none to add one #} {% block title %}{{ 'Edit ' ~ values.get('title', editing) if editing else 'Add a Harbor benchmark' }} — Nullius{% endblock %} {% block crumb %}/ benchmarks / {% if editing %}{{ editing }} / edit{% else %}add{% endif %}{% endblock %} {% block head %}{% endblock %} {% block body %} {% set v = values %} {% macro radio(name, value, title, sub='', disabled=false) %} {% endmacro %}
Saving writes {{ catalogue_dir }}/benchmarks/{{ editing }}/benchmark.json; the entry's other files and fields are kept.
{% else %}Name the dataset, read it from Harbor, check the entry. Saving writes {{ catalogue_dir }}/benchmarks/<key>/benchmark.json.
{% endif %}Benchmarks are added from a browser on the application host only.
{% endif %} {% if errors %}