<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="{{ absolute_url('assets/media/logos/mazego5.png') }}">
<title>{% block title %}Welcome!{% endblock %}</title>
<meta name="description" content="Metronic admin dashboard live demo. Check out all the features of the admin panel. A large number of settings, additional services and widgets." />
<meta name="keywords" content="Metronic, bootstrap, bootstrap 5, Angular 11, VueJs, React, Laravel, admin themes, web design, figma, web development, ree admin themes, bootstrap admin, bootstrap dashboard" />
<link rel="canonical" href="https://preview.keenthemes.com/metronic8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://unpkg.com/select2@4.1.0-rc.0/dist/css/select2.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" />
<link href="{{ asset('/metronic/assets/plugins/global/plugins.bundle.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ asset('/metronic/assets/css/style.bundle.css') }}" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.css">
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<!-- Load jQuery and jQuery UI -->
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-GHTG0WQV2J"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-GHTG0WQV2J');
</script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
{% block theStylesheet %}{% endblock %}
{% block javascripts %}{% endblock %}
</head>
<body class="header-fixed header-tablet-and-mobile-fixed toolbar-enabled toolbar-fixed toolbar-tablet-and-mobile-fixed aside-enabled aside-fixed" style="--kt-toolbar-height:55px;--kt-toolbar-height-tablet-and-mobile:55px">
{% block body %}{% endblock %}
{% block content %}{% endblock %}
<script src="{{ asset('/metronic/assets/plugins/global/plugins.bundle.js') }}"></script>
<script src="{{ asset('/metronic/assets/js/scripts.bundle.js') }}"></script>
<script src="{{ asset('/metronic/assets/js/custom/widgets.js') }}"></script>
<script src="{{ asset('/metronic/assets/js/custom/apps/chat/chat.js') }}"></script>
<script src="{{ asset('/metronic/assets/js/custom/modals/create-app.js') }}"></script>
<script src="{{ asset('/metronic/assets/js/custom/modals/upgrade-plan.js') }}"></script>
<style>
form.pull-right.hidden {
width: 95%;
}
th[scope="row"] {
padding-left: 10px!important;
}
th[scope="col"] {
padding-left: 9px!important;
}
.table td:first-child {
padding-left: 10px;
}
td {
font-size: 11px!important;
}
.table td:first-child, .table th:first-child, .table tr:first-child {
padding-left: 9px;
}
.modal {
z-index: 1050;
}
.modal-backdrop {
z-index: 1040;
}
.btn-to-google {
display: flex;
align-items: center;
padding: 0 0 0 17px;
width: 100%;
height: 100%;
background: #f4f5f9;
border-radius: 10px;
font-size: 16px;
font-weight: 500;
color: #1a1b1c;
line-height: 19px;
cursor: pointer;
transition: all .3s;
}
#kt_app_toolbar {
margin: 33px !important;
}
.dashboard-card.card.shadow-sm {
margin: 8px !important;
}
.row.forced-mb {
margin: 0px !important;
}
</style>
{% block pJavascript %}{% endblock %}
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.3/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
{% block jspositionimportant %}{% endblock %}
<script>
$(document).ready(function() {
$('#kt_modal_add_customer').on('shown.bs.modal', function() {
console.log('Modal shown, initializing Select2');
$('.select2-autocomplete').select2({
ajax: {
url: function() {
return $(this).data('autocomplete-url');
},
dataType: 'json',
delay: 250,
data: function(params) {
return {
q: params.term
};
},
processResults: function(data) {
return {
results: data.results
};
},
cache: true
},
minimumInputLength: 2,
placeholder: 'Rechercher un produit...'
});
console.log('Select2 initialized');
});
});
</script>
<style>
/* Layout amélioré avec contraintes */
.dashboard-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 2rem;
margin-bottom: 3rem;
}
.dashboard-card {
height: 100%;
display: flex;
flex-direction: column;
transition: all 0.3s ease;
border-radius: 16px;
overflow: hidden;
box-shadow: 0 6px 18px rgba(0,0,0,0.1);
border: none;
background: white;
}
.dashboard-card:hover {
transform: translateY(-8px);
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.card-header {
background: linear-gradient(135deg, #667eea33 0%, #764ba224 100%);
color: white;
border-bottom: none;
padding: 1.5rem 2rem;
}
.card-header h3 {
font-size: 1.5rem;
font-weight: 700;
margin: 0;
}
.card-header.bg-success {
background: linear-gradient(135deg, #56ab2f 0%, #a8e6cf 100%);
}
.card-header.bg-info {
background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.card-header.bg-warning {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.card-header.bg-danger {
background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.card-body-flex {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 2rem;
}
.chart-container {
position: relative;
height: 400px;
width: 100%;
margin-top: 1.5rem;
}
/* Taille des textes augmentée */
.metric-value {
font-size: 2.8rem;
font-weight: 800;
margin: 1rem 0;
color: #2d3748;
line-height: 1.2;
}
.metric-label {
font-size: 1.1rem;
color: #6c757d;
margin-bottom: 0.5rem;
}
.badge-trend {
padding: 0.5rem 1rem;
border-radius: 20px;
font-weight: 600;
font-size: 0.95rem;
}
.circular-progress {
position: relative;
width: 100px;
height: 100px;
margin: 1rem auto;
}
.circular-progress svg {
transform: rotate(-90deg);
}
.circular-progress .progress-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-weight: bold;
font-size: 1.2rem;
}
/* Styles modernes pour les tableaux */
.table {
font-size: 1rem;
}
.table thead th {
font-weight: 600;
text-transform: uppercase;
font-size: 0.85rem;
letter-spacing: 0.5px;
}
.table tbody td {
padding: 1rem 0.75rem;
vertical-align: middle;
}
/* Boutons plus grands */
.btn {
padding: 0.6rem 1.25rem;
font-size: 1rem;
border-radius: 8px;
}
/* Alertes plus visibles */
.alert {
padding: 1rem 1.5rem;
font-size: 1rem;
border-radius: 10px;
}
.alert i {
font-size: 1.3rem;
margin-right: 0.75rem;
}
/* Titres plus grands */
.page-heading {
font-size: 2.2rem !important;
}
.page-heading small {
font-size: 1.1rem;
margin-top: 0.5rem;
}
/* Barres de progression */
.progress {
height: 10px !important;
border-radius: 5px;
}
.progress-bar {
border-radius: 5px;
}
@media (max-width: 1399.98px) {
.dashboard-container {
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.metric-value {
font-size: 2.5rem;
}
}
@media (max-width: 767.98px) {
.dashboard-container {
grid-template-columns: 1fr;
gap: 1.5rem;
}
.card-header {
padding: 1.25rem 1.5rem;
}
.card-body-flex {
padding: 1.5rem;
}
.metric-value {
font-size: 2.2rem;
}
.page-heading {
font-size: 1.8rem !important;
}
}
.table-responsive {
overflow: visible !important;
}
td .dropdown {
position: static; /* Permet au dropdown de s'échapper du conteneur */
}
</style>
</html>