diff --git a/core/admin/mailu/translations/de/LC_MESSAGES/messages.po b/core/admin/mailu/translations/de/LC_MESSAGES/messages.po index 5b56467c..c733b45d 100644 --- a/core/admin/mailu/translations/de/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/de/LC_MESSAGES/messages.po @@ -193,34 +193,6 @@ msgstr "Konto" msgid "to access the administration tools" msgstr "für administrativen Zugriff" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "Dienst-Status" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "Dienst" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "Status" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "PID" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "Image" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "Gestartet" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "Letztes Update" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "Mein Konto" diff --git a/core/admin/mailu/translations/en/LC_MESSAGES/messages.po b/core/admin/mailu/translations/en/LC_MESSAGES/messages.po index e31d0359..87f411e0 100644 --- a/core/admin/mailu/translations/en/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/en/LC_MESSAGES/messages.po @@ -291,34 +291,6 @@ msgstr "" msgid "to access the administration tools" msgstr "" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "" diff --git a/core/admin/mailu/translations/es/LC_MESSAGES/messages.po b/core/admin/mailu/translations/es/LC_MESSAGES/messages.po index 74d57795..e3fd6c1d 100644 --- a/core/admin/mailu/translations/es/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/es/LC_MESSAGES/messages.po @@ -193,34 +193,6 @@ msgstr "" msgid "to access the administration tools" msgstr "para acceder a las herramientas de administración" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "Estado de servicios" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "Servicio" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "Estado" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "PID" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "Imagen" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "Iniciado" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "Última actualización" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "Mi cuenta" diff --git a/core/admin/mailu/translations/fr/LC_MESSAGES/messages.po b/core/admin/mailu/translations/fr/LC_MESSAGES/messages.po index 8939605c..0d8077a0 100644 --- a/core/admin/mailu/translations/fr/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/fr/LC_MESSAGES/messages.po @@ -193,34 +193,6 @@ msgstr "Votre compte" msgid "to access the administration tools" msgstr "pour accéder aux outils d'administration" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "Etat des services" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "Service" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "Etat" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "PID" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "Image" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "Démarré depuis" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "Dernière mise à jour" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "Mon compte" diff --git a/core/admin/mailu/translations/it/LC_MESSAGES/messages.po b/core/admin/mailu/translations/it/LC_MESSAGES/messages.po index a7649e2a..e53cd4df 100644 --- a/core/admin/mailu/translations/it/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/it/LC_MESSAGES/messages.po @@ -194,34 +194,6 @@ msgstr "Il tuo account" msgid "to access the administration tools" msgstr "" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "Stato" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "PID" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "Immagine" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "Avviato" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "Ultimo aggiornamento" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "Il mio account" diff --git a/core/admin/mailu/translations/nl/LC_MESSAGES/messages.po b/core/admin/mailu/translations/nl/LC_MESSAGES/messages.po index 673ca205..2e6e2c7e 100644 --- a/core/admin/mailu/translations/nl/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/nl/LC_MESSAGES/messages.po @@ -193,34 +193,6 @@ msgstr "Uw account" msgid "to access the administration tools" msgstr "om toegang te krijgen tot systeembeheer" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "Status diensten" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "Dienst" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "Status" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "PID" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "Image" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "Gestart" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "Laatste aanpassing" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "Mijn account" diff --git a/core/admin/mailu/translations/pl/LC_MESSAGES/messages.po b/core/admin/mailu/translations/pl/LC_MESSAGES/messages.po index 56555232..43f7b72b 100644 --- a/core/admin/mailu/translations/pl/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/pl/LC_MESSAGES/messages.po @@ -194,34 +194,6 @@ msgstr "Twoje konto" msgid "to access the administration tools" msgstr "" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "Status usług" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "Usługa" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "Status" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "Ostatnia aktualizacja" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "Moje konto" diff --git a/core/admin/mailu/translations/pt/LC_MESSAGES/messages.po b/core/admin/mailu/translations/pt/LC_MESSAGES/messages.po index af72d033..6cef189f 100644 --- a/core/admin/mailu/translations/pt/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/pt/LC_MESSAGES/messages.po @@ -193,34 +193,6 @@ msgstr "Sua conta" msgid "to access the administration tools" msgstr "para acessar as ferramentas administrativas" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "Status do serviço" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "Serviço" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "Status" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "PID" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "Imagem" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "Iniciado" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "Última atualização" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "Minha conta" diff --git a/core/admin/mailu/translations/ru/LC_MESSAGES/messages.po b/core/admin/mailu/translations/ru/LC_MESSAGES/messages.po index 8fdc026e..3456cd6b 100644 --- a/core/admin/mailu/translations/ru/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/ru/LC_MESSAGES/messages.po @@ -193,34 +193,6 @@ msgstr "Ваша учетная запись" msgid "to access the administration tools" msgstr "для доступа к утилитам администрирования" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "Статусы сервисов" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "Сервис" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "Статус" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "PID" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "Изображение" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "Начато" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "Последнее обновление" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "Моя учетная запись" diff --git a/core/admin/mailu/translations/sv/LC_MESSAGES/messages.po b/core/admin/mailu/translations/sv/LC_MESSAGES/messages.po index 3d0c6fd5..61e3458b 100644 --- a/core/admin/mailu/translations/sv/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/sv/LC_MESSAGES/messages.po @@ -193,34 +193,6 @@ msgstr "Ditt konto" msgid "to access the administration tools" msgstr "att komma åt administrationsverktygen" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "Tjänster status" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "Tjänst" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "Status" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "PID" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "Bild" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "Startad" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "Senast uppdaterad" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "Mitt konto" diff --git a/core/admin/mailu/translations/zh_CN/LC_MESSAGES/messages.po b/core/admin/mailu/translations/zh_CN/LC_MESSAGES/messages.po index cb049318..3b0a2332 100644 --- a/core/admin/mailu/translations/zh_CN/LC_MESSAGES/messages.po +++ b/core/admin/mailu/translations/zh_CN/LC_MESSAGES/messages.po @@ -193,34 +193,6 @@ msgstr "你的帐户" msgid "to access the administration tools" msgstr "访问管理员工具" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "服务状态" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "服务" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "状态" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "进程ID" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "镜像" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "已开始" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "最后更新" - #: mailu/ui/templates/sidebar.html:8 msgid "My account" msgstr "我的帐户" diff --git a/core/admin/mailu/ui/templates/services.html b/core/admin/mailu/ui/templates/services.html deleted file mode 100644 index 4e415144..00000000 --- a/core/admin/mailu/ui/templates/services.html +++ /dev/null @@ -1,28 +0,0 @@ -{% extends "base.html" %} - -{% block title %} -{% trans %}Services status{% endtrans %} -{% endblock %} - -{% block content %} -{% call macros.table() %} - - {% trans %}Service{% endtrans %} - {% trans %}Status{% endtrans %} - {% trans %}PID{% endtrans %} - {% trans %}Image{% endtrans %} - {% trans %}Started{% endtrans %} - {% trans %}Last update{% endtrans %} - -{% for name, container in containers.items() %} - - {{ name }} - {{ container['State']['Status'] }} - {{ container['State']['Pid'] }} - {{ container['Config']['Image'] }} - {{ container['State']['StartedAt'] }} - {{ container['Image']['Created'] }} - -{% endfor %} -{% endcall %} -{% endblock %} diff --git a/core/admin/mailu/ui/templates/sidebar.html b/core/admin/mailu/ui/templates/sidebar.html index 2520fa33..7ba86e1f 100644 --- a/core/admin/mailu/ui/templates/sidebar.html +++ b/core/admin/mailu/ui/templates/sidebar.html @@ -34,11 +34,6 @@
  • {% trans %}Administration{% endtrans %}
  • {% if current_user.global_admin %} -
  • - - {% trans %}Services status{% endtrans %} - -
  • {% trans %}Announcement{% endtrans %} diff --git a/core/admin/mailu/ui/views/base.py b/core/admin/mailu/ui/views/base.py index 6d4ea022..1ea87401 100644 --- a/core/admin/mailu/ui/views/base.py +++ b/core/admin/mailu/ui/views/base.py @@ -35,16 +35,6 @@ def logout(): return flask.redirect(flask.url_for('.index')) -@ui.route('/services', methods=['GET']) -@access.global_admin -def services(): - try: - containers = dockercli.get() - except Exception as error: - return flask.render_template('docker-error.html', error=error) - return flask.render_template('services.html', containers=containers) - - @ui.route('/announcement', methods=['GET', 'POST']) @access.global_admin def announcement(): diff --git a/core/admin/messages.pot b/core/admin/messages.pot index 3b3bd545..12687e5d 100644 --- a/core/admin/messages.pot +++ b/core/admin/messages.pot @@ -290,38 +290,6 @@ msgstr "" msgid "to access the administration tools" msgstr "" -#: mailu/ui/templates/services.html:4 mailu/ui/templates/sidebar.html:39 -msgid "Services status" -msgstr "" - -#: mailu/ui/templates/services.html:10 -msgid "Service" -msgstr "" - -#: mailu/ui/templates/fetch/list.html:23 mailu/ui/templates/services.html:11 -msgid "Status" -msgstr "" - -#: mailu/ui/templates/services.html:12 -msgid "PID" -msgstr "" - -#: mailu/ui/templates/services.html:13 -msgid "Image" -msgstr "" - -#: mailu/ui/templates/services.html:14 -msgid "Started" -msgstr "" - -#: mailu/ui/templates/services.html:15 -msgid "Last update" -msgstr "" - -#: mailu/ui/templates/sidebar.html:8 -msgid "My account" -msgstr "" - #: mailu/ui/templates/sidebar.html:11 mailu/ui/templates/user/list.html:34 msgid "Settings" msgstr ""