{% load static %}
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="{% static 'lens/css/lens.css' %}" rel="stylesheet">
    <script defer src="{% static 'lens/js/htmx.min.js' %}"></script>
    <script defer src="{% static 'lens/js/lens.js' %}"></script>
    <title>{% block head:title %}{% endblock %} - Django Lens</title>
</head>

<body class="bg-green-50 min-h-screen">
    <div class="container px-4 mx-auto">
        <div class="py-5 flex flex-row justify-between items-center">
            <a href="{% url 'lens:trace_list' %}" class="text-4xl text-green-900">
                <span class="font-thin">django</span><span class="font-medium">Lens</span>
            </a>
            <div class="flex space-x-3">
                <a href="{% url 'lens:settings' %}" class="bg-green-900 p-2 rounded hover:bg-green-800 text-green-50 shadow-lg" title="Settings">
                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path><circle cx="12" cy="12" r="3"></circle></svg>
                </a>
            </div>
        </div>
        <div class="w-full mb-4">
            {% block content %}
            {% endblock %}
        </div>
    </div>
</body>

</html>