{% extends "base.html" %} {% block title %} » Non-core Contracts » {{contract.name}} {% endblock %} {% block nav %} » Non-core Contracts » {{contract.name}} » Edit {% endblock %} {% block content %} {% if request.method == 'GET' and request.values.view == 'confirm_delete' %}

Are you sure you want to delete this contract?

{% else %}

Update Contract

This field uses the Zish format.


{{ input_textarea('properties', contract.properties, 20, 80) }} {% if contract.name == 'bank_holidays' %}

Example

{
"enabled": true,
"url": "https://www.gov.uk/bank-holidays/england-and-wales.ics"}
								
{% elif contract.name == 'bsuos' %}

Example

{
    "enabled": true,
    "discover_urls": true,

    /* If discover_urls is true, then the importer goes to
    https://www.nationalgrid.com/uk/electricity/charging-and-methodology/balancing-services-use-system-bsuos-charges
    and finds the URLs for the latest data. This can be used in addition
    to the 'urls' list. */
								
    "urls": []

    /* List of URLs that hold BSUoS data */

}
{% elif contract.name == 'tlms' %}

Example

{
"enabled": true,
"url": "https://downloads.elexonportal.co.uk/"}

/* Requires the 'elexonportal_scripting_key' to be set in the 'configuration'
   non-core contract */
								
{% elif contract.name == 'configuration' %}

Example

{
{
  "background_colour": "aquamarine",
  "batch_reports": [
    1
  ],
  "ecoes": {
    "password": "a",
    "prefix": "https://ecoes2.co.uk/",
    "user_name": "a"
  },
  "elexonportal_scripting_key": "xxx",
  "site_links": [
    {
      "href": "https://maps.google.com/maps?q=",
      "name": "Google Maps"
    }
  ]
}
								
{% endif %}

Update State


{{ input_textarea('state', contract.state, 40, 80) }}

Delete this contract

{% endif %} {% endblock %}