From 5ad2d2e72c8fc02474369fac1d3a39f9b3589368 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Thu, 27 Jun 2024 10:14:23 +0200 Subject: ogcp: improve page heading style Make headings take less space and have a dashed line under them. --- ogcp/templates/actions/add_center.html | 2 +- ogcp/templates/actions/add_room.html | 2 +- ogcp/templates/actions/add_server.html | 2 +- ogcp/templates/actions/cache.html | 4 ++-- ogcp/templates/actions/center_details.html | 2 +- ogcp/templates/actions/center_update.html | 2 +- ogcp/templates/actions/client_add.html | 2 +- ogcp/templates/actions/client_details.html | 2 +- ogcp/templates/actions/client_move.html | 4 ++-- ogcp/templates/actions/delete_center.html | 2 +- ogcp/templates/actions/delete_client.html | 4 ++-- ogcp/templates/actions/delete_image.html | 4 ++-- ogcp/templates/actions/delete_repo.html | 2 +- ogcp/templates/actions/delete_room.html | 2 +- ogcp/templates/actions/delete_server.html | 4 ++-- ogcp/templates/actions/folder_add.html | 2 +- ogcp/templates/actions/folder_delete.html | 2 +- ogcp/templates/actions/folder_update.html | 2 +- ogcp/templates/actions/hardware.html | 2 +- ogcp/templates/actions/image_create.html | 2 +- ogcp/templates/actions/image_details.html | 2 +- ogcp/templates/actions/image_restore.html | 4 ++-- ogcp/templates/actions/image_update.html | 2 +- ogcp/templates/actions/import_clients.html | 2 +- ogcp/templates/actions/legacy/log.html | 2 +- ogcp/templates/actions/list_images.html | 2 +- ogcp/templates/actions/mode.html | 4 ++-- ogcp/templates/actions/oglive.html | 4 ++-- ogcp/templates/actions/poweroff.html | 4 ++-- ogcp/templates/actions/reboot.html | 4 ++-- ogcp/templates/actions/repo_details.html | 2 +- ogcp/templates/actions/repos_add.html | 2 +- ogcp/templates/actions/repos_update.html | 2 +- ogcp/templates/actions/room_details.html | 2 +- ogcp/templates/actions/room_update.html | 2 +- ogcp/templates/actions/script_output.html | 4 ++-- ogcp/templates/actions/script_run.html | 4 ++-- ogcp/templates/actions/select_client.html | 4 ++-- ogcp/templates/actions/session.html | 4 ++-- ogcp/templates/actions/setup.html | 2 +- ogcp/templates/actions/software.html | 2 +- ogcp/templates/actions/software_list.html | 2 +- ogcp/templates/actions/wol.html | 4 ++-- 43 files changed, 58 insertions(+), 58 deletions(-) (limited to 'ogcp/templates/actions') diff --git a/ogcp/templates/actions/add_center.html b/ogcp/templates/actions/add_center.html index 1822639..78886d6 100644 --- a/ogcp/templates/actions/add_center.html +++ b/ogcp/templates/actions/add_center.html @@ -8,7 +8,7 @@ {% block nav_center_add %} active{% endblock %} {% block content %} -

{{_('Add center')}}

+

{{_('Add center')}}

{{ wtf.quick_form(form, action=url_for('action_center_add'), diff --git a/ogcp/templates/actions/add_room.html b/ogcp/templates/actions/add_room.html index d71261d..5eedf4e 100644 --- a/ogcp/templates/actions/add_room.html +++ b/ogcp/templates/actions/add_room.html @@ -8,7 +8,7 @@ {% block nav_room_add %} active{% endblock %} {% block content %} -

{{_('Add room')}}

+

{{_('Add room')}}

{{ wtf.quick_form(form, action=url_for('action_room_add'), diff --git a/ogcp/templates/actions/add_server.html b/ogcp/templates/actions/add_server.html index c86dcba..6509ce4 100644 --- a/ogcp/templates/actions/add_server.html +++ b/ogcp/templates/actions/add_server.html @@ -7,7 +7,7 @@ {% block nav_server_add %}active{% endblock %} {% block content %} -

{{_('Add a server')}}

+

{{_('Add a server')}}

{{ wtf.quick_form(form, action=url_for('server_add_post'), diff --git a/ogcp/templates/actions/cache.html b/ogcp/templates/actions/cache.html index e6db31f..6443640 100644 --- a/ogcp/templates/actions/cache.html +++ b/ogcp/templates/actions/cache.html @@ -10,9 +10,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Manage Cache') }} -

+

{{ _('Check free cache space in the client\'s bubbles:') }}

diff --git a/ogcp/templates/actions/center_details.html b/ogcp/templates/actions/center_details.html index 5f5d37a..6221de2 100644 --- a/ogcp/templates/actions/center_details.html +++ b/ogcp/templates/actions/center_details.html @@ -8,7 +8,7 @@ {% block nav_center_details %} active {% endblock %} {% block content %} -

{{_('Center details')}}

+

{{_('Center details')}}

{{ wtf.quick_form(form, method='post', diff --git a/ogcp/templates/actions/center_update.html b/ogcp/templates/actions/center_update.html index e93ac14..e866fac 100644 --- a/ogcp/templates/actions/center_update.html +++ b/ogcp/templates/actions/center_update.html @@ -8,7 +8,7 @@ {% block nav_folder_update %} active{% endblock %} {% block content %} -

{{_('Update center')}}

+

{{_('Update center')}}

{{ wtf.quick_form(form, method='post', diff --git a/ogcp/templates/actions/client_add.html b/ogcp/templates/actions/client_add.html index b1c37a5..d24c138 100644 --- a/ogcp/templates/actions/client_add.html +++ b/ogcp/templates/actions/client_add.html @@ -9,7 +9,7 @@ {% block nav_client_add %}active{% endblock %} {% block content %} -

{{_('Add client')}}

+

{{_('Add client')}}

{{ wtf.quick_form(form, method='post', diff --git a/ogcp/templates/actions/client_details.html b/ogcp/templates/actions/client_details.html index 42b03c7..b7d0615 100644 --- a/ogcp/templates/actions/client_details.html +++ b/ogcp/templates/actions/client_details.html @@ -9,7 +9,7 @@ {% block nav_client_add %}active{% endblock %} {% block content %} -

{{_('Client details')}}

+

{{_('Client details')}}

{{ wtf.quick_form(form, method='post', diff --git a/ogcp/templates/actions/client_move.html b/ogcp/templates/actions/client_move.html index d9bcaac..42bae26 100644 --- a/ogcp/templates/actions/client_move.html +++ b/ogcp/templates/actions/client_move.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Move %(ip_count)d client(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/delete_center.html b/ogcp/templates/actions/delete_center.html index 5379a58..13c5670 100644 --- a/ogcp/templates/actions/delete_center.html +++ b/ogcp/templates/actions/delete_center.html @@ -8,7 +8,7 @@ {% block nav_center_delete %} active{% endblock %} {% block content %} -

{{_('Delete center')}}

+

{{_('Delete center')}}

The following center and its content will be deleted

diff --git a/ogcp/templates/actions/delete_client.html b/ogcp/templates/actions/delete_client.html index 1a44eb2..fe8cd8a 100644 --- a/ogcp/templates/actions/delete_client.html +++ b/ogcp/templates/actions/delete_client.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Delete %(ip_count)d client(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/delete_image.html b/ogcp/templates/actions/delete_image.html index 4f3c436..3eeab42 100644 --- a/ogcp/templates/actions/delete_image.html +++ b/ogcp/templates/actions/delete_image.html @@ -8,9 +8,9 @@ {{ args }} -

+

{{ _('Delete image %(image_name)s', image_name=image_name) }} -

+ {{ wtf.quick_form(form, action=url_for('action_image_delete'), diff --git a/ogcp/templates/actions/delete_repo.html b/ogcp/templates/actions/delete_repo.html index 7a6bd79..17902dd 100644 --- a/ogcp/templates/actions/delete_repo.html +++ b/ogcp/templates/actions/delete_repo.html @@ -7,7 +7,7 @@ {% block nav_repos_add %}active{% endblock %} {% block content %} -

{{_('Delete repo')}}

+

{{_('Delete repo')}}

{{ wtf.quick_form(form, action=url_for('action_repo_delete'), diff --git a/ogcp/templates/actions/delete_room.html b/ogcp/templates/actions/delete_room.html index b4c3601..b19690e 100644 --- a/ogcp/templates/actions/delete_room.html +++ b/ogcp/templates/actions/delete_room.html @@ -8,7 +8,7 @@ {% block nav_room_delete %} active{% endblock %} {% block content %} -

{{_('Delete room')}}

+

{{_('Delete room')}}

{% if children %}

The following room and its content will be deleted

diff --git a/ogcp/templates/actions/delete_server.html b/ogcp/templates/actions/delete_server.html index 8f9417e..77cd202 100644 --- a/ogcp/templates/actions/delete_server.html +++ b/ogcp/templates/actions/delete_server.html @@ -8,9 +8,9 @@ {{ args }} -

+

{{ _('Delete server %(server_name)s', server_name=form.name.data) }} -

+ {{ wtf.quick_form(form, action=url_for('server_delete_post'), diff --git a/ogcp/templates/actions/folder_add.html b/ogcp/templates/actions/folder_add.html index 70f7e57..e56fcf6 100644 --- a/ogcp/templates/actions/folder_add.html +++ b/ogcp/templates/actions/folder_add.html @@ -8,7 +8,7 @@ {% block nav_folder_add %} active{% endblock %} {% block content %} -

{{_('Add folder')}}

+

{{_('Add folder')}}

{{ wtf.quick_form(form, method='post', diff --git a/ogcp/templates/actions/folder_delete.html b/ogcp/templates/actions/folder_delete.html index 0f58026..dba29b7 100644 --- a/ogcp/templates/actions/folder_delete.html +++ b/ogcp/templates/actions/folder_delete.html @@ -8,7 +8,7 @@ {% block nav_folder_delete %} active{% endblock %} {% block content %} -

{{_('Delete folder')}}

+

{{_('Delete folder')}}

The following folder and its content will be deleted

diff --git a/ogcp/templates/actions/folder_update.html b/ogcp/templates/actions/folder_update.html index 51985e4..da1ff90 100644 --- a/ogcp/templates/actions/folder_update.html +++ b/ogcp/templates/actions/folder_update.html @@ -8,7 +8,7 @@ {% block nav_folder_update %} active{% endblock %} {% block content %} -

{{_('Update folder')}}

+

{{_('Update folder')}}

{{ wtf.quick_form(form, method='post', diff --git a/ogcp/templates/actions/hardware.html b/ogcp/templates/actions/hardware.html index c4f9145..ac7e532 100644 --- a/ogcp/templates/actions/hardware.html +++ b/ogcp/templates/actions/hardware.html @@ -8,7 +8,7 @@ {% block nav_inventory_hardware %} active{% endblock %} {% block content %} -

{{_('Hardware inventory')}}

+

{{_('Hardware inventory')}}

{{ _('Selected client:') }} {{ form.ips.data }}

diff --git a/ogcp/templates/actions/image_create.html b/ogcp/templates/actions/image_create.html index 3fb93c7..0865ea0 100644 --- a/ogcp/templates/actions/image_create.html +++ b/ogcp/templates/actions/image_create.html @@ -8,7 +8,7 @@ {% block nav_image_create %} active{% endblock %} {% block content %} -

{{_('Create a partition image')}}

+

{{_('Create a partition image')}}

{{ _('Selected client') }}: {{ form.ip.data }} diff --git a/ogcp/templates/actions/image_details.html b/ogcp/templates/actions/image_details.html index b0677b7..87105cb 100644 --- a/ogcp/templates/actions/image_details.html +++ b/ogcp/templates/actions/image_details.html @@ -5,7 +5,7 @@ {% block content %} -

{{_('Image details')}}

+

{{_('Image details')}}

{{ wtf.quick_form(form, method='post', diff --git a/ogcp/templates/actions/image_restore.html b/ogcp/templates/actions/image_restore.html index 939ab74..f8a9e78 100644 --- a/ogcp/templates/actions/image_restore.html +++ b/ogcp/templates/actions/image_restore.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Restore partition image to %(ip_count)d computer(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/image_update.html b/ogcp/templates/actions/image_update.html index c008aa8..361165a 100644 --- a/ogcp/templates/actions/image_update.html +++ b/ogcp/templates/actions/image_update.html @@ -9,7 +9,7 @@ {% block nav_image_update %}active{% endblock %} {% block content %} -

{{_('Update partition image')}}

+

{{_('Update partition image')}}

{{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/import_clients.html b/ogcp/templates/actions/import_clients.html index fc852d3..32d8749 100644 --- a/ogcp/templates/actions/import_clients.html +++ b/ogcp/templates/actions/import_clients.html @@ -8,7 +8,7 @@ {% block nav_clients_import %}active{% endblock %} {% block content %} -

{{_('Import clients')}}

+

{{_('Import clients')}}

{{ wtf.quick_form(form, action=url_for('action_clients_import_post'), diff --git a/ogcp/templates/actions/legacy/log.html b/ogcp/templates/actions/legacy/log.html index 4659bf0..5df0e62 100644 --- a/ogcp/templates/actions/legacy/log.html +++ b/ogcp/templates/actions/legacy/log.html @@ -8,7 +8,7 @@ {% block nav_logs_log %} active{% endblock %} {% block content %} -

{{_('Client log')}}

+

{{_('Client log')}}

{{ log }}
diff --git a/ogcp/templates/actions/list_images.html b/ogcp/templates/actions/list_images.html index f126603..708431c 100644 --- a/ogcp/templates/actions/list_images.html +++ b/ogcp/templates/actions/list_images.html @@ -5,7 +5,7 @@ {% block content %} -

{{_('List images')}}

+

{{_('List images')}}

{% for server in servers %} {% for repo, images in server['repos'] %}

{{repo}}

diff --git a/ogcp/templates/actions/mode.html b/ogcp/templates/actions/mode.html index 7cefd15..1a1dd27 100644 --- a/ogcp/templates/actions/mode.html +++ b/ogcp/templates/actions/mode.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Changing boot mode of %(ip_count)d computer(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }}
diff --git a/ogcp/templates/actions/oglive.html b/ogcp/templates/actions/oglive.html index 6cfc523..9c9d48b 100644 --- a/ogcp/templates/actions/oglive.html +++ b/ogcp/templates/actions/oglive.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Changing ogLive of %(ip_count)d computer(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/poweroff.html b/ogcp/templates/actions/poweroff.html index 1d2d963..9178628 100644 --- a/ogcp/templates/actions/poweroff.html +++ b/ogcp/templates/actions/poweroff.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Power off %(ip_count)d client(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/reboot.html b/ogcp/templates/actions/reboot.html index 882906d..811b9d6 100644 --- a/ogcp/templates/actions/reboot.html +++ b/ogcp/templates/actions/reboot.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Reboot %(ip_count)d client(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/repo_details.html b/ogcp/templates/actions/repo_details.html index ee45a97..674abc2 100644 --- a/ogcp/templates/actions/repo_details.html +++ b/ogcp/templates/actions/repo_details.html @@ -7,7 +7,7 @@ {% block nav_repos_info %}active{% endblock %} {% block content %} -

{{_('Repo details')}}

+

{{_('Repo details')}}

{{ wtf.quick_form(form, extra_classes="mx-5") }} {% endblock %} diff --git a/ogcp/templates/actions/repos_add.html b/ogcp/templates/actions/repos_add.html index 7782014..338f96c 100644 --- a/ogcp/templates/actions/repos_add.html +++ b/ogcp/templates/actions/repos_add.html @@ -7,7 +7,7 @@ {% block nav_repos_add %}active{% endblock %} {% block content %} -

{{_('Add repo')}}

+

{{_('Add repo')}}

{{ wtf.quick_form(form, action=url_for('action_repo_add'), diff --git a/ogcp/templates/actions/repos_update.html b/ogcp/templates/actions/repos_update.html index 3ba0450..15c6b64 100644 --- a/ogcp/templates/actions/repos_update.html +++ b/ogcp/templates/actions/repos_update.html @@ -7,7 +7,7 @@ {% block nav_repos_update %}active{% endblock %} {% block content %} -

{{_('Update repo')}}

+

{{_('Update repo')}}

{{ wtf.quick_form(form, action=url_for('action_repo_update'), diff --git a/ogcp/templates/actions/room_details.html b/ogcp/templates/actions/room_details.html index 0c9d59f..3270c0d 100644 --- a/ogcp/templates/actions/room_details.html +++ b/ogcp/templates/actions/room_details.html @@ -8,7 +8,7 @@ {% block nav_room_details %} active {% endblock %} {% block content %} -

{{_('Room details')}}

+

{{_('Room details')}}

{{ wtf.quick_form(form, method='post', diff --git a/ogcp/templates/actions/room_update.html b/ogcp/templates/actions/room_update.html index 608b904..ec9e7d7 100644 --- a/ogcp/templates/actions/room_update.html +++ b/ogcp/templates/actions/room_update.html @@ -8,7 +8,7 @@ {% block nav_room_add %} active{% endblock %} {% block content %} -

{{_('Update room')}}

+

{{_('Update room')}}

{{ wtf.quick_form(form, method='post', diff --git a/ogcp/templates/actions/script_output.html b/ogcp/templates/actions/script_output.html index c7ffdcb..a491f4c 100644 --- a/ogcp/templates/actions/script_output.html +++ b/ogcp/templates/actions/script_output.html @@ -9,9 +9,9 @@ {% block nav_script_output %} active {% endblock %} {% block content %} -

+

{{ _('Script output') }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/script_run.html b/ogcp/templates/actions/script_run.html index 700134e..792001a 100644 --- a/ogcp/templates/actions/script_run.html +++ b/ogcp/templates/actions/script_run.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Run script for %(ip_count)d client(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/select_client.html b/ogcp/templates/actions/select_client.html index 01a4b1e..0415621 100644 --- a/ogcp/templates/actions/select_client.html +++ b/ogcp/templates/actions/select_client.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Partitioning %(ip_count)d client(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/session.html b/ogcp/templates/actions/session.html index 56865fb..bd7ac95 100644 --- a/ogcp/templates/actions/session.html +++ b/ogcp/templates/actions/session.html @@ -10,9 +10,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Start %(ip_count)d client(s) session', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} diff --git a/ogcp/templates/actions/setup.html b/ogcp/templates/actions/setup.html index c64c676..fafcb87 100644 --- a/ogcp/templates/actions/setup.html +++ b/ogcp/templates/actions/setup.html @@ -7,7 +7,7 @@ {% block nav_setup_setup %} active{% endblock %} {% block content %} -

{{_('Partition and Format')}}

+

{{_('Partition and Format')}}

diff --git a/ogcp/templates/actions/software.html b/ogcp/templates/actions/software.html index 52a6a51..8526eb7 100644 --- a/ogcp/templates/actions/software.html +++ b/ogcp/templates/actions/software.html @@ -8,7 +8,7 @@ {% block nav_inventory_software %} active{% endblock %} {% block content %} -

{{_('Software Inventory')}}

+

{{_('Software Inventory')}}

{{ wtf.quick_form(form, action=url_for('action_software'), diff --git a/ogcp/templates/actions/software_list.html b/ogcp/templates/actions/software_list.html index 5b7c6cc..c3ad5db 100644 --- a/ogcp/templates/actions/software_list.html +++ b/ogcp/templates/actions/software_list.html @@ -8,7 +8,7 @@ {% block nav_inventory_software %} active{% endblock %} {% block content %} -

{{_('Software inventory')}}

+

{{_('Software inventory')}}

{{ _('Selected client:') }} {{ form.ips.data }}

diff --git a/ogcp/templates/actions/wol.html b/ogcp/templates/actions/wol.html index adeb2e0..4dabb26 100644 --- a/ogcp/templates/actions/wol.html +++ b/ogcp/templates/actions/wol.html @@ -11,9 +11,9 @@ {% set ip_list = form.ips.data.split(' ') %} {% set ip_count = ip_list | length %} -

+

{{ _('Powering on %(ip_count)d computer(s)', ip_count=ip_count) }} -

+ {{ macros.cmd_selected_clients(selected_clients) }} -- cgit v1.2.3-18-g5258