{% extends "layout.html" %} {% from 'macros/macros.html' import alert_dismiss with context %} {% block content %}
{% if alerta %} {{ alert_dismiss(alerta) }} {% endif %}

{{ titulo|safe }}

{% if file_content|length > 1 %} Download {% if is_logfile %} Delete {% else %} Edit {% endif %} {% endif %}
{% if subtitulo %}
{{ subtitulo|safe }}
{% endif %} {% if filename %}
Contents of file {{ filename }}:
{% endif %}

{#
#} {% if file_content %}
{% for line in file_content %}{% if line|count > 0 %}{{ line|safe }}
            {% endif %}{% endfor %}
{% else %} {% endif %}
{#
#} {#

Nuevo acceso a fichero en disco:

#} {#
#} {# {% from 'logs/logs_macros.html' import form_filename %}#} {# {{ form_filename(False) }}#} {#
#} {#
#} {% endblock %}