Files
common/artdag_common/templates/base.html
giles fd97812e3d Initial artdag-common shared library
Shared components for L1 and L2 servers:
- Jinja2 template system with base template and components
- Middleware for auth and content negotiation
- Pydantic models for requests/responses
- Utility functions for pagination, media, formatting
- Constants for Tailwind/HTMX/Cytoscape CDNs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 07:07:59 +00:00

72 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Art-DAG{% endblock %}</title>
<!-- Tailwind CSS -->
<script src="{{ TAILWIND_CDN }}"></script>
{{ TAILWIND_CONFIG | safe }}
<!-- HTMX -->
<script src="{{ HTMX_CDN }}"></script>
{% block head %}{% endblock %}
<style>
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: #1f2937;
}
::-webkit-scrollbar-thumb {
background: #4b5563;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #6b7280;
}
/* HTMX loading indicator */
.htmx-request .htmx-indicator {
opacity: 1;
}
.htmx-indicator {
opacity: 0;
transition: opacity 200ms ease-in;
}
</style>
</head>
<body class="bg-dark-800 text-gray-100 min-h-screen">
{% block nav %}
<nav class="bg-dark-700 border-b border-dark-600">
<div class="container mx-auto px-4">
<div class="flex items-center justify-between h-16">
<div class="flex items-center space-x-8">
<a href="/" class="text-xl font-bold text-white">
{% block brand %}Art-DAG{% endblock %}
</a>
{% block nav_items %}{% endblock %}
</div>
<div class="flex items-center space-x-4">
{% block nav_right %}{% endblock %}
</div>
</div>
</div>
</nav>
{% endblock %}
<main class="container mx-auto px-4 py-8">
{% block content %}{% endblock %}
</main>
{% block footer %}{% endblock %}
{% block scripts %}{% endblock %}
</body>
</html>