diff --git a/logfiles_viewer.php b/logfiles_viewer.php index ec3463ac..828f422c 100644 --- a/logfiles_viewer.php +++ b/logfiles_viewer.php @@ -94,21 +94,19 @@ if (function_exists('exec')) { 'access_log_content' => $access_log_content, 'actions_links' => [ [ - 'class' => 'btn-secondary', 'href' => $linker->getLink([ 'section' => 'domains', 'page' => 'domains', 'action' => 'edit', 'id' => $domain_id ]), - 'label' => lng('panel.edit'), + 'label' => lng('admin.domain_edit'), 'icon' => 'fa fa-pen' ], [ - 'class' => 'btn-secondary', 'href' => $linker->getLink(['section' => 'domains', 'page' => 'domains']), - 'label' => lng('menue.domains.domains'), - 'icon' => 'fa fa-globe' + 'label' => lng('panel.backtooverview'), + 'icon' => 'fa fa-reply' ] ] ]); diff --git a/templates/Froxlor/assets/img/icon.png b/templates/Froxlor/assets/img/icon.png new file mode 100644 index 00000000..c7696727 Binary files /dev/null and b/templates/Froxlor/assets/img/icon.png differ diff --git a/templates/Froxlor/user/logfiles.html.twig b/templates/Froxlor/user/logfiles.html.twig index 7ac8e395..1ff2a736 100644 --- a/templates/Froxlor/user/logfiles.html.twig +++ b/templates/Froxlor/user/logfiles.html.twig @@ -9,22 +9,35 @@ {% endblock %} -{% block content %} -
-
-

Error-Log

- -

Access-Log

- -
-
+{% block actions %} + + {% if actions_links is iterable or (entity_info is defined and entity_info is not empty) %} +
{% if actions_links is iterable %} {% for link in actions_links %} - - - {{ link.label }} + + + {{ link.label }} + {% endfor %} {% endif %}
+ {% endif %} +{% endblock %} + +{% block content %} +
+ +
+
+ +
+
+ +
+
{% endblock %}