diff --git a/hobo/applications/templates/hobo/applications/add-element.html b/hobo/applications/templates/hobo/applications/add-element.html index 616334e..6ed027c 100644 --- a/hobo/applications/templates/hobo/applications/add-element.html +++ b/hobo/applications/templates/hobo/applications/add-element.html @@ -2,44 +2,44 @@ {% load i18n %} {% block appbar %} -

{{ type.text }}

+

{{ type.text }}

{% endblock %} {% block content %} -
- {% csrf_token %} -
- {% for element in elements %} - - {% endfor %} -
-
- -
-
- -{% trans "Cancel" %} -
- + + {% csrf_token %} +
+ {% for element in elements %} + + {% endfor %} +
+
+ +
+
+ + {% trans "Cancel" %} +
+ -
+ {% endblock %} diff --git a/hobo/applications/templates/hobo/applications/app_confirm_delete.html b/hobo/applications/templates/hobo/applications/app_confirm_delete.html index d0018dc..566b959 100644 --- a/hobo/applications/templates/hobo/applications/app_confirm_delete.html +++ b/hobo/applications/templates/hobo/applications/app_confirm_delete.html @@ -2,18 +2,18 @@ {% load i18n %} {% block appbar %} -

{% blocktrans with title=object.name %}Removal of "{{ title }}"{% endblocktrans %}

+

{% blocktrans with title=object.name %}Removal of "{{ title }}"{% endblocktrans %}

{% endblock %} {% block content %} -
- {% csrf_token %} -

- {% trans 'Are you sure you want to remove this application?' %} -

-
- - {% trans 'Cancel' %} -
-
+
+ {% csrf_token %} +

+ {% trans 'Are you sure you want to remove this application?' %} +

+
+ + {% trans 'Cancel' %} +
+
{% endblock %} diff --git a/hobo/applications/templates/hobo/applications/create.html b/hobo/applications/templates/hobo/applications/create.html index 65ddc60..8ecb6c1 100644 --- a/hobo/applications/templates/hobo/applications/create.html +++ b/hobo/applications/templates/hobo/applications/create.html @@ -4,11 +4,11 @@ {% block appbar %}

{% trans "Create Application" %}

{% endblock %} {% block content %} -
-{% csrf_token %} -{{ form.as_p }} -
- -{% trans "Cancel" %} -
+ + {% csrf_token %} + {{ form.as_p }} +
+ + {% trans "Cancel" %} +
{% endblock %} diff --git a/hobo/applications/templates/hobo/applications/edit-metadata.html b/hobo/applications/templates/hobo/applications/edit-metadata.html index ee3f523..99ff853 100644 --- a/hobo/applications/templates/hobo/applications/edit-metadata.html +++ b/hobo/applications/templates/hobo/applications/edit-metadata.html @@ -4,11 +4,11 @@ {% block appbar %}

{% trans "Metadata" %}

{% endblock %} {% block content %} - -{% csrf_token %} -{{ form.as_p }} -
- -{% trans "Cancel" %} -
+ + {% csrf_token %} + {{ form.as_p }} +
+ + {% trans "Cancel" %} +
{% endblock %} diff --git a/hobo/applications/templates/hobo/applications/element_confirm_delete.html b/hobo/applications/templates/hobo/applications/element_confirm_delete.html index 5082e3f..3732773 100644 --- a/hobo/applications/templates/hobo/applications/element_confirm_delete.html +++ b/hobo/applications/templates/hobo/applications/element_confirm_delete.html @@ -2,19 +2,19 @@ {% load i18n %} {% block appbar %} -

{% blocktrans with title=object.element.name %}Removal of "{{ title }}"{% endblocktrans %}

+

{% blocktrans with title=object.element.name %}Removal of "{{ title }}"{% endblocktrans %}

{% endblock %} {% block content %} - - {% csrf_token %} -

- {% trans 'Are you sure you want to remove this element?' %} -

-
- - {% trans 'Cancel' %} -
-
+
+ {% csrf_token %} +

+ {% trans 'Are you sure you want to remove this element?' %} +

+
+ + {% trans 'Cancel' %} +
+
{% endblock %} diff --git a/hobo/applications/templates/hobo/applications/home.html b/hobo/applications/templates/hobo/applications/home.html index 3f571db..4616833 100644 --- a/hobo/applications/templates/hobo/applications/home.html +++ b/hobo/applications/templates/hobo/applications/home.html @@ -2,8 +2,8 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -{% trans 'Applications' %} + {{ block.super }} + {% trans 'Applications' %} {% endblock %} {% block appbar %} @@ -16,27 +16,27 @@ {% block content %} -{% if object_list %} -
-{% for application in object_list %} -
-

{{ application.name }}

-

{{ application.description|default:"" }}

- {% if application.editable %} - - {% endif %} -
-{% endfor %} -
-{% else %} -
-
-

{% trans "You should find, install or build some applications." %}

+ {% if object_list %} +
+ {% for application in object_list %} +
+

{{ application.name }}

+

{{ application.description|default:"" }}

+ {% if application.editable %} + + {% endif %} +
+ {% endfor %}
-
-{% endif %} + {% else %} +
+
+

{% trans "You should find, install or build some applications." %}

+
+
+ {% endif %} {% endblock %} diff --git a/hobo/applications/templates/hobo/applications/install.html b/hobo/applications/templates/hobo/applications/install.html index 549e85b..03677ad 100644 --- a/hobo/applications/templates/hobo/applications/install.html +++ b/hobo/applications/templates/hobo/applications/install.html @@ -2,16 +2,16 @@ {% load i18n %} {% block appbar %} -

{% trans "Install" %}

+

{% trans "Install" %}

{% endblock %} {% block content %} -
- {% csrf_token %} - {{ form.as_p }} -
- - {% trans 'Cancel' %} -
-
+
+ {% csrf_token %} + {{ form.as_p }} +
+ + {% trans 'Cancel' %} +
+
{% endblock %} diff --git a/hobo/applications/templates/hobo/applications/manifest.html b/hobo/applications/templates/hobo/applications/manifest.html index 9cb1d78..bda09cb 100644 --- a/hobo/applications/templates/hobo/applications/manifest.html +++ b/hobo/applications/templates/hobo/applications/manifest.html @@ -2,12 +2,12 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -{{ app.name }} + {{ block.super }} + {{ app.name }} {% endblock %} {% block appbar %} -

{{ app.name }}

+

{{ app.name }}

{% trans 'Metadata' %} @@ -17,46 +17,46 @@ {% if relations %} -
- {% trans "Scan dependencies" %} -     - {% trans "Generate application bundle" %} - {% if versions %} -     - {% trans "Download" %} - {% endif %} -
- {% else %} -
-
-

{% trans "You should now assemble the different parts of your application." %}

+ + {% else %} +
+
+

{% trans "You should now assemble the different parts of your application." %}

+
-
{% endif %} {% endblock %} {% block sidebar %} - + {% endblock %} diff --git a/hobo/debug/templates/hobo/debug_home.html b/hobo/debug/templates/hobo/debug_home.html index e307730..0bff523 100644 --- a/hobo/debug/templates/hobo/debug_home.html +++ b/hobo/debug/templates/hobo/debug_home.html @@ -2,8 +2,8 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -{% trans "Debugging" %} + {{ block.super }} + {% trans "Debugging" %} {% endblock %} {% block appbar %} @@ -12,15 +12,15 @@ {% block content %} -
-{% csrf_token %} -{{ form.as_p }} + + {% csrf_token %} + {{ form.as_p }} -
- - + -
-
+
+ {% endblock %} diff --git a/hobo/emails/templates/hobo/emails_home.html b/hobo/emails/templates/hobo/emails_home.html index 37fd2db..fc20e8d 100644 --- a/hobo/emails/templates/hobo/emails_home.html +++ b/hobo/emails/templates/hobo/emails_home.html @@ -2,8 +2,8 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -{% trans 'Emails' %} + {{ block.super }} + {% trans 'Emails' %} {% endblock %} {% block appbar %} @@ -12,13 +12,13 @@ {% block content %} -
-{% csrf_token %} -{{ form.as_p }} -
- -
-
+
+ {% csrf_token %} + {{ form.as_p }} +
+ +
+
{% endblock %} diff --git a/hobo/environment/templates/environment/generic_confirm_delete.html b/hobo/environment/templates/environment/generic_confirm_delete.html index b5755fc..1afd92f 100644 --- a/hobo/environment/templates/environment/generic_confirm_delete.html +++ b/hobo/environment/templates/environment/generic_confirm_delete.html @@ -2,18 +2,18 @@ {% load i18n %} {% block appbar %} -

{% blocktrans with title=object.name %}Removal of "{{ title }}"{% endblocktrans %}

+

{% blocktrans with title=object.name %}Removal of "{{ title }}"{% endblocktrans %}

{% endblock %} {% block content %} -
- {% csrf_token %} -

- {% trans 'Are you sure you want to delete this element ?' %} -

-
- - {% trans 'Cancel' %} -
-
+
+ {% csrf_token %} +

+ {% trans 'Are you sure you want to delete this element ?' %} +

+
+ + {% trans 'Cancel' %} +
+
{% endblock %} diff --git a/hobo/environment/templates/environment/home.html b/hobo/environment/templates/environment/home.html index a92bd4c..29af82b 100644 --- a/hobo/environment/templates/environment/home.html +++ b/hobo/environment/templates/environment/home.html @@ -2,8 +2,8 @@ {% load i18n service %} {% block breadcrumb %} -{{ block.super }} -{% trans 'Sites' %} + {{ block.super }} + {% trans 'Sites' %} {% endblock %} {% block appbar %} @@ -15,121 +15,121 @@

{% trans 'Add new service:' %} - {% for service in available_services %} - {{ service.label }} - {% endfor %} + {% for service in available_services %} + {{ service.label }} + {% endfor %}

{% for service in installed_services %} -
-

{{ service.title }} [{{service.slug}}, - {{service.base_url}}]

- {% if not service.is_operational %} - {% if service.wants_frequent_checks %} -

- {% trans 'This service is still being deployed.' %} -

- {% else %} -

- {% trans 'This service is not operational.' %} - -

- {% endif %} - {% endif %} -
- {% csrf_token %} - {{ service|as_update_form }} - +
+

{{ service.title }} [{{service.slug}}, + {{service.base_url}}]

+ {% if not service.is_operational %} + {% if service.wants_frequent_checks %} +

+ {% trans 'This service is still being deployed.' %} +

+ {% else %} +

+ {% trans 'This service is not operational.' %} + +

+ {% endif %} + {% endif %} + + {% csrf_token %} + {{ service|as_update_form }} + -

{% trans "Custom variables" %}

-
- {% for variable in service.variables.all %} - {% if not variable.auto %} -

- - - {% trans 'edit' %} - -

- {% endif %} - {% endfor %} - {% trans 'Add new variable' %} +

{% trans "Custom variables" %}

+
+ {% for variable in service.variables.all %} + {% if not variable.auto %} +

+ + + {% trans 'edit' %} + +

+ {% endif %} + {% endfor %} + {% trans 'Add new variable' %} +
+ + {% if service.legacy_urls %} +

+ {% blocktrans count counter=service.legacy_urls|length %} + Legacy URL + {% plural%} + Legacy URLS + {% endblocktrans %} +

+
    + {% for legacy_url in service.legacy_urls %} +
  • {{ legacy_url.base_url }} {% if legacy_url.datetime %}({% trans 'until' %} {{ legacy_url.datetime }}){% endif %}
  • + {% endfor %} +
+ {% endif%}
- - {% if service.legacy_urls %} -

- {% blocktrans count counter=service.legacy_urls|length %} - Legacy URL - {% plural%} - Legacy URLS - {% endblocktrans %} -

-
    - {% for legacy_url in service.legacy_urls %} -
  • {{ legacy_url.base_url }} {% if legacy_url.datetime %}({% trans 'until' %} {{ legacy_url.datetime }}){% endif %}
  • - {% endfor %} -
- {% endif%} -
{% endfor %} {% endblock %} {% block page-end %} - + {% endblock %} diff --git a/hobo/environment/templates/environment/import.html b/hobo/environment/templates/environment/import.html index 099cb65..9b6d0c6 100644 --- a/hobo/environment/templates/environment/import.html +++ b/hobo/environment/templates/environment/import.html @@ -2,21 +2,21 @@ {% load i18n %} {% block appbar %} -

{% trans "Parameters Import" %}

+

{% trans "Parameters Import" %}

{% endblock %} {% block breadcrumb %} -{{ block.super }} -{% trans 'Parameters Import' %} + {{ block.super }} + {% trans 'Parameters Import' %} {% endblock %} {% block content %} -
- {% csrf_token %} - {{ form.as_p }} -
- - {% trans 'Cancel' %} -
-
+
+ {% csrf_token %} + {{ form.as_p }} +
+ + {% trans 'Cancel' %} +
+
{% endblock %} diff --git a/hobo/environment/templates/environment/service_form.html b/hobo/environment/templates/environment/service_form.html index e22e352..74a0096 100644 --- a/hobo/environment/templates/environment/service_form.html +++ b/hobo/environment/templates/environment/service_form.html @@ -2,23 +2,23 @@ {% load i18n %} {% block appbar %} -

{{ model_name }}

+

{{ model_name }}

{% endblock %} {% block content %} -
-
- {% csrf_token %} - {{ form.as_p }} -
- {% block buttons %} + +
+ {% csrf_token %} + {{ form.as_p }} +
+ {% block buttons %}
{% trans 'Cancel' %}
- {% endblock %} -
+ {% endblock %} + {% endblock %} diff --git a/hobo/environment/templates/environment/variable_form.html b/hobo/environment/templates/environment/variable_form.html index 51bcef5..469218d 100644 --- a/hobo/environment/templates/environment/variable_form.html +++ b/hobo/environment/templates/environment/variable_form.html @@ -2,22 +2,22 @@ {% load i18n %} {% block appbar %} -

{% trans 'Variable' %}

+

{% trans 'Variable' %}

{% endblock %} {% block content %} -
-
- {% csrf_token %} - {{ form.as_p }} -
- {% block buttons %} + +
+ {% csrf_token %} + {{ form.as_p }} +
+ {% block buttons %}
{% trans 'Cancel' %}
- {% endblock %} -
+ {% endblock %} + {% endblock %} diff --git a/hobo/environment/templates/environment/variables.html b/hobo/environment/templates/environment/variables.html index e22b2f5..0bb3193 100644 --- a/hobo/environment/templates/environment/variables.html +++ b/hobo/environment/templates/environment/variables.html @@ -6,19 +6,19 @@ {% endblock %} {% block breadcrumb %} -{{ block.super }} -{% trans 'Variables' %} + {{ block.super }} + {% trans 'Variables' %} {% endblock %} {% block content %}
{% for variable in variables %} -

- - - {% trans 'edit' %} - -

+

+ + + {% trans 'edit' %} + +

{% endfor %} {% trans 'Add new variable' %}
@@ -27,19 +27,19 @@ {% block page-end %} - + $('button.enable-on-change').each(function(index, element) { + var button = $(element); + $(element).parent('form').find('input').on('change keydown', + function() { $(button).prop('disabled', null); }); + }); + }); + {% endblock %} diff --git a/hobo/franceconnect/templates/hobo/franceconnect_home.html b/hobo/franceconnect/templates/hobo/franceconnect_home.html index c3a0fdc..7b6f387 100644 --- a/hobo/franceconnect/templates/hobo/franceconnect_home.html +++ b/hobo/franceconnect/templates/hobo/franceconnect_home.html @@ -2,8 +2,8 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -FranceConnect + {{ block.super }} + FranceConnect {% endblock %} {% block appbar %} @@ -12,13 +12,13 @@ {% block content %} -
-

- {% trans "FranceConnect configuration screen has been moved next to other authentication methods." %} -

-

- {% trans "Go to authentication methods configuration screen" %} -

-
+
+

+ {% trans "FranceConnect configuration screen has been moved next to other authentication methods." %} +

+

+ {% trans "Go to authentication methods configuration screen" %} +

+
{% endblock %} diff --git a/hobo/maintenance/templates/hobo/maintenance/home.html b/hobo/maintenance/templates/hobo/maintenance/home.html index cac78b6..1f2f5d0 100644 --- a/hobo/maintenance/templates/hobo/maintenance/home.html +++ b/hobo/maintenance/templates/hobo/maintenance/home.html @@ -2,20 +2,20 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -{% trans "Maintenance" %} + {{ block.super }} + {% trans "Maintenance" %} {% endblock %} {% block appbar %} -

{% trans 'Maintenance' %}

+

{% trans 'Maintenance' %}

{% endblock %} {% block content %} -
- {% csrf_token %} - {{ form.as_p }} -
- -
-
+
+ {% csrf_token %} + {{ form.as_p }} +
+ +
+
{% endblock %} diff --git a/hobo/matomo/templates/hobo/matomo_disable.html b/hobo/matomo/templates/hobo/matomo_disable.html index f35a0d4..85f7da6 100644 --- a/hobo/matomo/templates/hobo/matomo_disable.html +++ b/hobo/matomo/templates/hobo/matomo_disable.html @@ -6,15 +6,15 @@ {% endblock %} {% block content %} -
-{% csrf_token %} -

-{% trans "Are you sure you want to disable user tracking support?" %} -{{ form.as_p }} -

- - {% trans "Cancel" %} -
-
+
+ {% csrf_token %} +

+ {% trans "Are you sure you want to disable user tracking support?" %} + {{ form.as_p }} +

+ + {% trans "Cancel" %} +
+
{% endblock %} diff --git a/hobo/matomo/templates/hobo/matomo_enable_auto.html b/hobo/matomo/templates/hobo/matomo_enable_auto.html index f0ba07a..6b7e4aa 100644 --- a/hobo/matomo/templates/hobo/matomo_enable_auto.html +++ b/hobo/matomo/templates/hobo/matomo_enable_auto.html @@ -6,15 +6,15 @@ {% endblock %} {% block content %} -
-{% csrf_token %} -

-{% trans "Are you sure you want to enable automatic user tracking support?" %} -{{ form.as_p }} -

- -{% trans "Cancel" %} -
-
+
+ {% csrf_token %} +

+ {% trans "Are you sure you want to enable automatic user tracking support?" %} + {{ form.as_p }} +

+ + {% trans "Cancel" %} +
+
{% endblock %} diff --git a/hobo/matomo/templates/hobo/matomo_enable_manual.html b/hobo/matomo/templates/hobo/matomo_enable_manual.html index a993c3c..0049205 100644 --- a/hobo/matomo/templates/hobo/matomo_enable_manual.html +++ b/hobo/matomo/templates/hobo/matomo_enable_manual.html @@ -6,15 +6,15 @@ {% endblock %} {% block content %} -
- {% csrf_token %} - {{ form.as_p }} -

+ + {% csrf_token %} + {{ form.as_p }} +

-

- -{% trans "Cancel" %} -
-
+
+ + {% trans "Cancel" %} +
+ {% endblock %} diff --git a/hobo/matomo/templates/hobo/matomo_home.html b/hobo/matomo/templates/hobo/matomo_home.html index 8949352..1440819 100644 --- a/hobo/matomo/templates/hobo/matomo_home.html +++ b/hobo/matomo/templates/hobo/matomo_home.html @@ -2,100 +2,100 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -Matomo + {{ block.super }} + Matomo {% endblock %} {% block appbar %} -

{% trans "User tracking" %}

-{% if enabled %} - - {% trans 'Disable' %} - {% if mode == 'auto' %} - {% trans "Open visit tracking dashboard" %} +

{% trans "User tracking" %}

+ {% if enabled %} + + {% trans 'Disable' %} + {% if mode == 'auto' %} + {% trans "Open visit tracking dashboard" %} + {% endif %} + {% endif %} -
-{% endif %} {% endblock %} {% block content %} -
- {% if not enabled %} -

- {% blocktrans %} - The audience measurement tools are deployed to obtain information about - visitor navigation. They help to understand where users come from on a site - and reconstruct their browsing activity. These tools use technologies that - permit to trace users on your site and associate a "referrer" or campaign - with a unique identifier. - {% endblocktrans %} -

- {% if ws_available %} -

- {% blocktrans %} - Publik can automatically use a tool called "Matomo", which is the tracker - solution recommended by the National Commission for Data Protection and Liberties (CNIL-France). - {% endblocktrans %} -

+
+ {% if not enabled %} +

+ {% blocktrans %} + The audience measurement tools are deployed to obtain information about + visitor navigation. They help to understand where users come from on a site + and reconstruct their browsing activity. These tools use technologies that + permit to trace users on your site and associate a "referrer" or campaign + with a unique identifier. + {% endblocktrans %} +

+ {% if ws_available %} +

+ {% blocktrans %} + Publik can automatically use a tool called "Matomo", which is the tracker + solution recommended by the National Commission for Data Protection and Liberties (CNIL-France). + {% endblocktrans %} +

+ {% else %} +

+ {% blocktrans %} + Matomo is the tracker solution recommended by the National Commission for Data + Protection and Liberties (CNIL-France). + It requires little configuration to be exempt from legal consent. + {% endblocktrans %} +

+ {% endif %} {% else %} -

- {% blocktrans %} - Matomo is the tracker solution recommended by the National Commission for Data - Protection and Liberties (CNIL-France). - It requires little configuration to be exempt from legal consent. - {% endblocktrans %} -

- {% endif %} - {% else %} - {% if mode == 'manual' %} - {% trans "Manual configuration." %} - {% elif mode == 'auto' %} - {% trans "Automatic configuration." %} - {% endif %} - {% endif %} -
- -{% if not enabled %} -

- {% trans "Support is currently disabled." %} -

-

- {% trans 'Manual Configuration' %} - {% if ws_available %} - {% trans 'Automatic Configuration' %} - {% endif %} -

-{% else %} -{% if tracking_js != '' %} -{% if cnil_ack_level == 'excellent' %} -
- {% trans "Excellent respect of user rights." %} -
-{% elif cnil_ack_level == 'good' %} -
- {% trans "Good respect of user rights." %} -
-{% elif cnil_ack_level == 'bad' %} -
- {% trans "No respect of user rights." %} -
-{% endif %} -{% endif %} - -{% if mode == 'manual' %} -
- {% csrf_token %} - {{ form.as_p }} - -
- + {% if mode == 'manual' %} + {% trans "Manual configuration." %} + {% elif mode == 'auto' %} + {% trans "Automatic configuration." %} + {% endif %} + {% endif %}
-
-{% endif %} -{% endif %} + {% if not enabled %} +

+ {% trans "Support is currently disabled." %} +

+

+ {% trans 'Manual Configuration' %} + {% if ws_available %} + {% trans 'Automatic Configuration' %} + {% endif %} +

+ {% else %} + {% if tracking_js != '' %} + {% if cnil_ack_level == 'excellent' %} +
+ {% trans "Excellent respect of user rights." %} +
+ {% elif cnil_ack_level == 'good' %} +
+ {% trans "Good respect of user rights." %} +
+ {% elif cnil_ack_level == 'bad' %} +
+ {% trans "No respect of user rights." %} +
+ {% endif %} + {% endif %} + + {% if mode == 'manual' %} +
+ {% csrf_token %} + {{ form.as_p }} + +
+ +
+
+ {% endif %} + + {% endif %} {% endblock %} diff --git a/hobo/profile/templates/profile/attributedefinition_form.html b/hobo/profile/templates/profile/attributedefinition_form.html index 73aa810..59efea4 100644 --- a/hobo/profile/templates/profile/attributedefinition_form.html +++ b/hobo/profile/templates/profile/attributedefinition_form.html @@ -3,17 +3,17 @@ {% block content %} -
-
- {% csrf_token %} - {{ form.as_p }} -
- {% block buttons %} + +
+ {% csrf_token %} + {{ form.as_p }} +
+ {% block buttons %}
{% trans 'Cancel' %}
- {% endblock %} -
+ {% endblock %} + {% endblock %} diff --git a/hobo/profile/templates/profile/attributedefinition_list.html b/hobo/profile/templates/profile/attributedefinition_list.html index ae2e40a..da8a465 100644 --- a/hobo/profile/templates/profile/attributedefinition_list.html +++ b/hobo/profile/templates/profile/attributedefinition_list.html @@ -2,32 +2,32 @@ {% load i18n service %} {% block breadcrumb %} -{{ block.super }} -{% trans 'User Profile' %} + {{ block.super }} + {% trans 'User Profile' %} {% endblock %} {% block appbar %}

{% trans 'User Profile' %}

- {% trans 'New attribute' %} + {% trans 'New attribute' %} {% endblock %} {% block content %} -

-{% blocktrans %} -Use drag and drop with the ⣿ handles to reorder the profile fields. -{% endblocktrans %} -

+

+ {% blocktrans %} + Use drag and drop with the ⣿ handles to reorder the profile fields. + {% endblocktrans %} +

-
- {% for object in object_list %} -
- {{object.label}} ({{object.get_real_kind_display}}, "{{ object.name }}") - {% trans 'options' %} -
- {% endfor %} -
+
+ {% for object in object_list %} +
+ {{object.label}} ({{object.get_real_kind_display}}, "{{ object.name }}") + {% trans 'options' %} +
+ {% endfor %} +
{% endblock %} diff --git a/hobo/seo/templates/hobo/robots_txt.html b/hobo/seo/templates/hobo/robots_txt.html index 18bcf26..f914fc2 100644 --- a/hobo/seo/templates/hobo/robots_txt.html +++ b/hobo/seo/templates/hobo/robots_txt.html @@ -6,15 +6,15 @@ {% endblock %} {% block content %} -
- {% csrf_token %} - {{ form.as_p }} -

+ + {% csrf_token %} + {{ form.as_p }} +

-

- -{% trans "Cancel" %} -
-
+
+ + {% trans "Cancel" %} +
+ {% endblock %} diff --git a/hobo/seo/templates/hobo/seo_home.html b/hobo/seo/templates/hobo/seo_home.html index 6490d39..a7b954a 100644 --- a/hobo/seo/templates/hobo/seo_home.html +++ b/hobo/seo/templates/hobo/seo_home.html @@ -2,69 +2,69 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -Se + {{ block.super }} + Se {% endblock %} {% block appbar %} -

{% trans 'Indexing Settings' %}

- - - {% if mode == 'customize' %}{% trans "Change custom settings" %} - {% else %}{% trans 'Use custom settings' %}{% endif %} - - - {% trans 'Do not allow indexing' %} - - - {% trans 'Allow indexing' %} - - +

{% trans 'Indexing Settings' %}

+ + + {% if mode == 'customize' %}{% trans "Change custom settings" %} + {% else %}{% trans 'Use custom settings' %}{% endif %} + + + {% trans 'Do not allow indexing' %} + + + {% trans 'Allow indexing' %} + + {% endblock %} {% block content %} -
+
{% blocktrans %} - Robots are programs that automatically traverse web sites. - Web site owners can use a robots.txt file to give - instructions about their site. + Robots are programs that automatically traverse web sites. + Web site owners can use a robots.txt file to give + instructions about their site. {% endblocktrans %} -
+
-{% if mode == 'allow' %} -
- {% trans "Web Robots are currently allowed." %} -
-{% endif %} - -{% if mode == 'disallow' %} -
- {% trans "Web Robots are currently not allowed." %} -
-{% endif %} - -{% if mode == 'customize' or mode == 'disallow' %} -
- {% trans "Contents of robots.txt file:" %} -
{{ robots_txt }}
-
-{% endif %} - -{% if mode == 'customize' or mode == 'allow' %} -
-
- {% csrf_token %} - {{ form.as_p }} -
- + {% if mode == 'allow' %} +
+ {% trans "Web Robots are currently allowed." %}
- -
-{% endif %} + {% endif %} + + {% if mode == 'disallow' %} +
+ {% trans "Web Robots are currently not allowed." %} +
+ {% endif %} + + {% if mode == 'customize' or mode == 'disallow' %} +
+ {% trans "Contents of robots.txt file:" %} +
{{ robots_txt }}
+
+ {% endif %} + + {% if mode == 'customize' or mode == 'allow' %} +
+
+ {% csrf_token %} + {{ form.as_p }} +
+ +
+
+
+ {% endif %} {% endblock %} diff --git a/hobo/sms/templates/hobo/sms_home.html b/hobo/sms/templates/hobo/sms_home.html index f6c19d8..4ca1131 100644 --- a/hobo/sms/templates/hobo/sms_home.html +++ b/hobo/sms/templates/hobo/sms_home.html @@ -2,8 +2,8 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -{% trans 'SMS' %} + {{ block.super }} + {% trans 'SMS' %} {% endblock %} {% block appbar %} @@ -12,13 +12,13 @@ {% block content %} -
-{% csrf_token %} -{{ form.as_p }} -
- -
-
+
+ {% csrf_token %} + {{ form.as_p }} +
+ +
+
{% endblock %} diff --git a/hobo/templates/403.html b/hobo/templates/403.html index c81708c..7787b84 100644 --- a/hobo/templates/403.html +++ b/hobo/templates/403.html @@ -2,7 +2,7 @@ {% load i18n %} {% block content %} -

- {% trans "You have no permission to access this page" %} -

+

+ {% trans "You have no permission to access this page" %} +

{% endblock %} diff --git a/hobo/templates/hobo/base.html b/hobo/templates/hobo/base.html index 9d67da0..854c7fd 100644 --- a/hobo/templates/hobo/base.html +++ b/hobo/templates/hobo/base.html @@ -5,19 +5,19 @@ {% block site-title %}{% trans "System" %}{% endblock %} {% block css %} - + {% endblock %} {% if user.is_authenticated %} -{% block logout-url %} -{% url "logout" %} -{% endblock %} + {% block logout-url %} + {% url "logout" %} + {% endblock %} {% endif %} {% block extrascripts %} -{{ block.super }} - - + {{ block.super }} + + {% endblock %} {% block homepage-url %} @@ -30,8 +30,8 @@ {% endblock %} {% block breadcrumb %} - {{ block.super }} - {% if manager_homepage_url %} - {% trans 'System' %} - {% endif %} + {{ block.super }} + {% if manager_homepage_url %} + {% trans 'System' %} + {% endif %} {% endblock %} diff --git a/hobo/templates/hobo/home.html b/hobo/templates/hobo/home.html index 95f5831..d65549e 100644 --- a/hobo/templates/hobo/home.html +++ b/hobo/templates/hobo/home.html @@ -4,119 +4,119 @@ {% block appbar %}

{% trans 'System' %}

- - + + {% endblock %} {% block content %} -{% if services %} - -{% else %} -
- {% blocktrans %} - This deployment doesn't have any service deployed yet. Click on the - "Services" menu entry in the top right of the page to add a first one. - {% endblocktrans %} -
-{% endif %} + {% if services %} + + {% else %} +
+ {% blocktrans %} + This deployment doesn't have any service deployed yet. Click on the + "Services" menu entry in the top right of the page to add a first one. + {% endblocktrans %} +
+ {% endif %} - + }); + {% endblock %} {% block sidebar %} - {% endblock %} diff --git a/hobo/templates/mellon/base.html b/hobo/templates/mellon/base.html index 9beeeeb..9dd43eb 100644 --- a/hobo/templates/mellon/base.html +++ b/hobo/templates/mellon/base.html @@ -1,12 +1,12 @@ {% extends "hobo/base.html" %} {% block content %} -{% block mellon_content %} -{% endblock %} + {% block mellon_content %} + {% endblock %} {% endblock %} {% block extrascripts %} -{% block mellon_extrascripts %} -{% endblock %} + {% block mellon_extrascripts %} + {% endblock %} {% endblock %} diff --git a/hobo/templates/registration/login.html b/hobo/templates/registration/login.html index 3e1ad89..0c22248 100644 --- a/hobo/templates/registration/login.html +++ b/hobo/templates/registration/login.html @@ -2,15 +2,15 @@ {% load i18n %} {% block appbar %} -

{% trans "Authentication" %}

+

{% trans "Authentication" %}

{% endblock %} {% block content %} -
- {% csrf_token %} - -
+
+ {% csrf_token %} + +
{% endblock %} diff --git a/hobo/theme/templates/hobo/theme_home.html b/hobo/theme/templates/hobo/theme_home.html index 7a1c691..223085b 100644 --- a/hobo/theme/templates/hobo/theme_home.html +++ b/hobo/theme/templates/hobo/theme_home.html @@ -2,31 +2,31 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -{% trans 'Theme' %} + {{ block.super }} + {% trans 'Theme' %} {% endblock %} {% block appbar %}

{% trans 'Theme' %}

- {% trans 'Options' %} + {% trans 'Options' %} {% endblock %} {% block content %} -
-{% csrf_token %} -
- {% for theme in themes %} -
- -
- {% endfor %} -
-
- -
-
+
+ {% csrf_token %} +
+ {% for theme in themes %} +
+ +
+ {% endfor %} +
+
+ +
+
{% endblock %} diff --git a/hobo/theme/templates/hobo/theme_options.html b/hobo/theme/templates/hobo/theme_options.html index 4e0d999..8a3ef33 100644 --- a/hobo/theme/templates/hobo/theme_options.html +++ b/hobo/theme/templates/hobo/theme_options.html @@ -2,8 +2,8 @@ {% load i18n %} {% block breadcrumb %} -{{ block.super }} -{% trans 'Theme' %} + {{ block.super }} + {% trans 'Theme' %} {% endblock %} {% block appbar %} @@ -12,13 +12,13 @@ {% block content %} -
-{% csrf_token %} -{{ form.as_p }} -
- -{% trans "Cancel" %} -
-
+
+ {% csrf_token %} + {{ form.as_p }} +
+ + {% trans "Cancel" %} +
+
{% endblock %}