Flatlogic Bot 5b190bc3f3 clients
2025-12-17 19:53:37 +00:00

67 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>{% block title %}webFirma{% endblock %}</title>
{% if project_description %}
<meta name="description" content="{{ project_description }}">
<meta property="og:description" content="{{ project_description }}">
<meta property="twitter:description" content="{{ project_description }}">
{% endif %}
{% if project_image_url %}
<meta property="og:image" content="{{ project_image_url }}">
<meta property="twitter:image" content="{{ project_image_url }}">
{% endif %}
{% load static %}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{% static 'css/custom.css' %}?v={{ deployment_timestamp }}">
<script src="https://unpkg.com/feather-icons"></script>
{% block head %}{% endblock %}
</head>
<body>
<div class="app-layout">
<div class="sidebar">
<div class="sidebar-header">
<h2>webFirma</h2>
</div>
<nav class="sidebar-nav">
<ul>
<li class="{% if request.path == '/' %}active{% endif %}"><a href="{% url 'index' %}"><i data-feather="home"></i> Dashboard</a></li>
<li class="{% if '/projects' in request.path %}active{% endif %}"><a href="{% url 'projects' %}"><i data-feather="briefcase"></i> Projects</a></li>
<li><a href="#"><i data-feather="file-text"></i> Invoices</a></li>
<li><a href="{% url 'clients' %}"><i data-feather="users"></i> Clients</a></li>
<li><a href="#"><i data-feather="settings"></i> Settings</a></li>
</ul>
<ul class="auth-nav">
{% if user.is_authenticated %}
<li>
<a href="{% url 'logout' %}" onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
<i data-feather="log-out"></i> Logout
</a>
<form id="logout-form" action="{% url 'logout' %}" method="post" style="display: none;">
{% csrf_token %}
</form>
</li>
{% else %}
<li><a href="{% url 'login' %}"><i data-feather="log-in"></i> Login</a></li>
<li><a href="{% url 'register' %}"><i data-feather="user-plus"></i> Register</a></li>
{% endif %}
</ul>
</ul>
</nav>
</div>
<div class="main-content">
{% block content %}{% endblock %}
</div>
</div>
<script>
feather.replace()
</script>
</body>
</html>