{% extends "base.html" %} {% block content %}

{{ _("Customise Portal") }}.

{{ _("The URL is the address users will enter into a browser after they connect to the box network. From here, they can view the portal. This cannot be changed later.") }}

{% import "bulma_wtf.html" as wtf %}
{{ form.hidden_tag() }}
{{ wtf.form_input_field(form.butterbox_name, form.butterbox_name.errors) }}

{{ _("This is the name shown in the UI. Current name:")}} {{ get_setting('butterbox_name') }}, {{ _("accessed at")}} {{ get_setting('butterbox_name') }}.local.

{{ wtf.form_input_field(form.butterbox_hostname, form.butterbox_hostname.errors) }}

{{ _("This is the URL used to access the box by adding .local in your browser. Current hostname:")}} {{ get_setting('butterbox_hostname') }}.local.

{{ form.butterbox_logo(class='label', style="width: 280px") }}
{{ wtf.field_errors(form.butterbox_logo.errors) }}

{{ _("This is the logo shown in the UI. Current logo:")}}

{{ form.submit( class="button is-link") }}
{% endblock %}