<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Site Configuration History</title> <link rel="icon" href="data:;base64,iVBORw0KGgo="> <style> .config-entry { background: white; padding: 1rem; margin-bottom: 1rem; border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .config-date { color: #666; font-size: 0.9rem; } pre { background: #f5f5f5; padding: 1rem; border-radius: 4px; overflow-x: auto; } </style> </head> <body> <div class="container"> <div class="logout"> <a href="{{ url_for('admin') }}">Back to Admin</a> | <a href="{{ url_for('admin_logout') }}">Logout</a> </div> <h1>Site Configuration History</h1> {% for config in site_configs %} <div class="config-entry"> <div class="config-date"> Updated: {{ config.updated_at.strftime('%Y-%m-%d %H:%M:%S UTC') }} </div> <pre>{ "appearance": { "site_title": "{{ config.site_title }}", "accent_color": "{{ config.accent_color }}" }, "about": { "name": "{{ config.author_name }}", "location": "{{ config.author_location }}", "profile_image": "{{ config.profile_image }}", "bio": {{ config.bio | tojson }} } }</pre> </div> {% endfor %} </div> </body> </html>