Select Text read_text.html

html_index.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Template Editor</title>
</head>
<body>
    <h1>Edit HTML Templates / html_index.html</h1>
    <ul>
        {% for file in template_files %}
        <li><a href="{{ url_for('edit_template', filename=file) }}">{{ file }}</a></li>
        {% endfor %}
    </ul>

    {% with messages = get_flashed_messages(with_categories=true) %}
    {% if messages %}
    <ul>
        {% for category, message in messages %}
        <li class="{{ category }}">{{ message }}</li>
        {% endfor %}
    </ul>
    {% endif %}
    {% endwith %}
</body>
</html>
Back to file list