Improved Licensing
This commit is contained in:
@@ -78,9 +78,17 @@
|
||||
|
||||
{% block head %}{% endblock %}
|
||||
</head>
|
||||
<body class="text-gray-100 min-h-screen flex">
|
||||
<body class="text-gray-100 min-h-screen flex {% if limit_reached %}pt-6{% endif %}">
|
||||
|
||||
{% if limit_reached %}
|
||||
<!-- Token Limit Banner -->
|
||||
<div class="fixed top-0 left-0 right-0 z-[9999] bg-red-600 text-white text-xs font-medium flex items-center justify-center gap-2 px-4" style="height: 1.5rem;">
|
||||
<svg class="w-3.5 h-3.5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01M10.29 3.86L1.82 18a2 2 0 001.71 3h16.94a2 2 0 001.71-3L13.71 3.86a2 2 0 00-3.42 0z"/></svg>
|
||||
Token-Limit erreicht – keine KI-Aktionen mehr heute möglich. Morgen wird das Limit zurückgesetzt.
|
||||
</div>
|
||||
{% endif %}
|
||||
<!-- Sidebar -->
|
||||
<aside id="sidebar" class="w-64 sidebar-bg border-r border-gray-600 flex flex-col fixed h-full">
|
||||
<aside id="sidebar" class="w-64 sidebar-bg border-r border-gray-600 flex flex-col fixed h-full top-0" {% if limit_reached %}style="top: 1.5rem; height: calc(100vh - 1.5rem);"{% endif %}>
|
||||
<div class="p-4 border-b border-gray-600">
|
||||
<div class="flex items-center justify-between gap-3 logo-container">
|
||||
<div class="logo-full">
|
||||
|
||||
Reference in New Issue
Block a user