From 6221db92eca9305f24ba73503d238ece0cc8ee64 Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 11 Dec 2023 10:10:01 +0100 Subject: [PATCH] open logs in new tab Signed-off-by: Simon L --- php/templates/containers.twig | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 76fde77f..b19862ba 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -55,11 +55,11 @@ {% endfor %} {% if is_daily_backup_running == true %} - Daily backup currently running. (Logs)

+ Daily backup currently running. (Logs)

{% if automatic_updates == true %} It will update your containers, the mastercontainer and on saturdays your Nextcloud apps if the backup is successful.

{% if is_mastercontainer_update_available == true %} - Since the mastercontainer gets updated, it will restart the container which will make it unavailable for a moment. (Logs)

+ Since the mastercontainer gets updated, it will restart the container which will make it unavailable for a moment. (Logs)

{% endif %} {% endif %} {% if has_update_available == false %} @@ -69,7 +69,7 @@ {% endif %} Reload ↻
{% elseif isWatchtowerRunning == true %} - Mastercontainer update currently running. It will restart the mastercontainer soon which will make it unavailable for a moment. Please wait until that's done. (Logs)

+ Mastercontainer update currently running. It will restart the mastercontainer soon which will make it unavailable for a moment. Please wait until that's done. (Logs)

Reload ↻
{% else %} {% if is_backup_container_running == false and domain == "" %} @@ -128,7 +128,7 @@ {% if borg_backup_host_location != '' and borg_restore_password != '' %} {% if borg_backup_mode in ['test', 'check'] %} {% if backup_exit_code > 0 %} - Last {{ borg_backup_mode }} failed! (Logs)

+ Last {{ borg_backup_mode }} failed! (Logs)

{% if borg_backup_mode == 'test' %} Please adjust the path and/or the password in order to make it work!

{% elseif borg_backup_mode == 'check' %} @@ -144,7 +144,7 @@
{% endif %} {% elseif backup_exit_code == 0 %} - Last {{ borg_backup_mode }} successful! (Logs)

+ Last {{ borg_backup_mode }} successful! (Logs)

{% if borg_backup_mode == 'test' %} Feel free to check the integrity of the backup archive below before starting the restore process in order to make double-sure that the restore will work. This can take a long time though depending on the size of the backup archive and is thus not required.

@@ -167,7 +167,7 @@ {% endif %} {% elseif borg_backup_mode == 'restore' %} {% if backup_exit_code > 0 %} - Last restore failed! (Logs)

+ Last restore failed! (Logs)

Somehow the restore failed which is unexpected! Please adjust the path and password, test it and try to restore again! {% endif %} {% endif %} @@ -198,14 +198,14 @@ {% if was_start_button_clicked == true %} {% if current_channel starts with 'latest' or current_channel starts with 'beta' or current_channel starts with 'develop' %} - You are running the {{ current_channel }} channel. (Logs)

+ You are running the {{ current_channel }} channel. (Logs)

{% else %} No channel was found. This means that AIO is not able to update itself and its component and will also not be able to report about updates. Updates need to be done externally. {% endif %} {% endif %} {% if is_backup_container_running == true %} - Backup container is currently running. (Logs)

+ Backup container is currently running. (Logs)

Reload ↻

{% endif %} @@ -257,21 +257,21 @@
  • {% if class(container.GetStartingState()) == 'AIO\\Container\\State\\StartingState' %} - {{ container.GetDisplayName() }} (Starting) + {{ container.GetDisplayName() }} (Starting) {% if container.GetDocumentation() != '' %} (docs) {% endif %} {% elseif class(container.GetRunningState()) == 'AIO\\Container\\State\\RunningState' %} - {{ container.GetDisplayName() }} (Running) + {{ container.GetDisplayName() }} (Running) {% if container.GetDocumentation() != '' %} (docs) {% endif %} {% else %} - {{ container.GetDisplayName() }} (Stopped) + {{ container.GetDisplayName() }} (Stopped) {% if container.GetDocumentation() != '' %} (docs) {% endif %} @@ -383,7 +383,7 @@ {% if is_backup_container_running == false %}

    Backup and restore

    {% if backup_exit_code > 0 %} - Last {{ borg_backup_mode }} failed! (Logs)

    + Last {{ borg_backup_mode }} failed! (Logs)

    {% if borg_backup_mode == "check" %} The backup check was not successful which might points towards a corrupt archive (look at the logs). If that should be the case, you can try to fix it by following this documentation

    @@ -407,9 +407,9 @@ {% endif %} {% elseif backup_exit_code == 0 %} {% if borg_backup_mode == "backup" %} - Last {{ borg_backup_mode }} successful on {{ last_backup_time }} UTC! (Logs)

    + Last {{ borg_backup_mode }} successful on {{ last_backup_time }} UTC! (Logs)

    {% else %} - Last {{ borg_backup_mode }} successful! (Logs)

    + Last {{ borg_backup_mode }} successful! (Logs)

    {% endif %} {% endif %} {% endif %}