Marwan Alwali 263292f6be update
2025-11-04 00:50:06 +03:00

99 lines
3.3 KiB
HTML

{% load i18n static webpack_loader %}
<!DOCTYPE html>
{% get_current_language as LANGUAGE_CODE %}
<html lang="{{ LANGUAGE_CODE }}"
dir="{% if LANGUAGE_CODE == 'ar' %}rtl{% else %}ltr{% endif %}"
data-bs-theme=""
data-navigation-type="default"
data-navbar-horizontal-shape="default"
{% if request.tenant %}data-tenant-id="{{ request.tenant.id }}"{% endif %}>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" type="image/png" href="{% static 'img/logo/favicon-96x96.png' %}" sizes="96x96" />
<link rel="icon" type="image/svg+xml" href="{% static 'img/logo/favicon.svg'%}" />
<link rel="shortcut icon" href="{% static 'img/logo/favicon.ico'%}" />
<link rel="apple-touch-icon" sizes="180x180" href="{% static 'img/logo/apple-touch-icon.png'%}" />
<link rel="manifest" href="{% static 'img/logo/site.webmanifest'%}" />
<title>{% block title %}{% endblock %}</title>
<!-- ================== BEGIN core-css ================== -->
<link href="{% static 'css/vendor.min.css' %}" rel="stylesheet" />
<link href="{% static 'css/default/app.min.css' %}" rel="stylesheet" />
{# <link href="{% static 'css/apple/app.min.css' %}" rel="stylesheet" />#}
<link href="{% static 'css/custom.css' %}" rel="stylesheet" />
<link href="{% static 'plugins/toastr/toastr.css' %}" rel="stylesheet" />
<!-- ================== END core-css ================== -->
{% block css %}
{% endblock %}
</head>
<body data-debug="{% if debug %}true{% else %}false{% endif %}">
{% csrf_token %}
<div id="app" class="app app-without-sidebar">
{% if appHeaderMegaMenu %}
{% include 'partial/header-mega-menu.html' %}
{% endif %}
<!-- BEGIN header-nav -->
{% block header %}
{% include "partial/header.html" %}
{% endblock %}
<div id="content" class="app-content">
<!-- Main content -->
<main class="col-md-9 ms-sm-auto col-lg-10 px-md-4 main-content">
{% if messages %}
<div class="mt-3">
{% for message in messages %}
<div class="alert alert-{{ message.tags }} alert-dismissible fade show" role="alert">
{{ message }}
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
</div>
{% endfor %}
</div>
{% endif %}
</main>
<div>
{% block content %}
{% endblock %}
</div>
</div>
{% include 'partial/theme-panel.html' %}
</div>
{% include 'partial/scroll-top-btn.html' %}
{% block outter_content %}
{% endblock %}
<!-- ================== BEGIN core-js ================== -->
<script src="{% static 'js/htmx.min.js' %}"></script>
<script src="{% static 'js/vendor.min.js' %}"></script>
<script src="{% static 'js/app.min.js' %}"></script>
<script src="{% static 'plugins/toastr/toastr.min.js' %}"></script>
<script src="{% static 'js/custom.js' %}"></script>
<!-- ================== END core-js ================== -->
{% block js %}
{% endblock %}
</body>
</html>