{% extends "base.html" %} {% block title %} » Rate Server Importer {% endblock %} {% block nav %} Rate Server Importer {% endblock %} {% block content %} {% if importer %}

Controls

{% if importer.is_locked() %} {% endif %}
Is Locked? {{importer.is_locked()}}
Import Now
Progress {{importer.progress}}

Log

Latest Imported Files

MDD Version {{ config_state.mdd_version }}
LAF Files {% if 'laf_importer' in config_state %} {% for code, dt in config_state.laf_importer.items() %} {% endfor %}
{{code}} {{dt}}
{% endif %}

Configuration

The rate server details can be set in the configuration with an entry like:

"rate_server": {
  "url": "https://api.github.com/repos/WessexWater/chellow-rates",
  "branch": "main",
},

If url or branch are omitted, then the default is as above.

{% else %}

Importer not present.

{% endif %} {% endblock %}