|
@@ -2,47 +2,42 @@
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="fr" class="h-100">
|
|
|
<head>
|
|
|
-<meta charset="utf-8">
|
|
|
-<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
-<meta name="keywords" content="{%if page.p_mots_clefs%}{{page.p_mots_clefs}}{% endif %}">
|
|
|
-<meta name="description" content="{% if page.p_description %}{{page.p_description}}{% endif %}">
|
|
|
-{% block add_meta_description %}{% endblock %}
|
|
|
-<title>{% if page.p_meta_title %}GestClin - {{page.p_meta_title}}{% elif page.p_titre %}GestClin - {{page.p_titre}}{% else %}Portail du Service Informatique{% endif %}</title>
|
|
|
-<link rel="shortcut icon" href="/static/favicon.ico">
|
|
|
-<link rel="stylesheet" href="/static/css/jquery-ui.css">
|
|
|
-<link href="/static/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
|
|
|
-<script src="https://kit.fontawesome.com/7cf2a101ac.js"></script>
|
|
|
-<style type="text/css">
|
|
|
- @font-face {
|
|
|
- font-family: Omnes;
|
|
|
- src: url('{% static 'fonts/Omnes.ttf'%}');
|
|
|
- }
|
|
|
- img {
|
|
|
- display: block;
|
|
|
- max-width: 100%;
|
|
|
- height: auto;
|
|
|
- }
|
|
|
- body {
|
|
|
- background-color:black;
|
|
|
- background-image: url('{% static 'logo-txt-Mrduhaz.png'%}'), url('{% static 'font-gest-clin-default.png'%}') ;
|
|
|
- background-position: 96% 95%, center ;
|
|
|
- background-size: 20%,cover;
|
|
|
- background-repeat: no-repeat;
|
|
|
- background-attachment: fixed;
|
|
|
- font-size: 15px;
|
|
|
- }
|
|
|
- .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
|
|
|
- font-family: Omnes;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
-</style>
|
|
|
+ <meta charset="utf-8">
|
|
|
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
+ <meta name="keywords" content="{%if page.p_mots_clefs%}{{page.p_mots_clefs}}{% endif %}">
|
|
|
+ <meta name="description" content="{% if page.p_description %}{{page.p_description}}{% endif %}">
|
|
|
+ {% block add_meta_description %}{% endblock %}
|
|
|
+ <title>Tools.Duhaz.fr{% if page.p_meta_title %} | {{page.p_meta_title}}{% elif page.p_titre %} | {{page.p_titre}}{% endif %}</title>
|
|
|
+ <link rel="shortcut icon" href="/static/favicon.ico">
|
|
|
+ <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
|
|
|
+ <link href="//fonts.googleapis.com/css2?family=Kufam&display=swap" rel="stylesheet">
|
|
|
+ <script src="https://kit.fontawesome.com/7cf2a101ac.js"></script>
|
|
|
+ {% if not request.user.is_authenticated %}
|
|
|
+ <script data-ad-client="ca-pub-0171697375250839" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
|
|
|
+ {% endif %}
|
|
|
+ <style type="text/css">
|
|
|
+ img {
|
|
|
+ display: block;
|
|
|
+ max-width: 100%;
|
|
|
+ height: auto;
|
|
|
+ }
|
|
|
+ body {
|
|
|
+ background-color:black;
|
|
|
+ background-image: url('{% static page.c_bgimagelogo %}'), url('{% static page.c_bgimage %}') ;
|
|
|
+ background-position: 96% 95%, center ;
|
|
|
+ background-size: 20%,cover;
|
|
|
+ background-repeat: no-repeat;
|
|
|
+ background-attachment: fixed;
|
|
|
+ font-size: 15px;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
</head>
|
|
|
<body class="d-flex flex-column h-100">
|
|
|
<header style="color: #fff; font-family: Omnes;">
|
|
|
- <nav class="navbar navbar-expand-lg navbar-dark" style="background-color: #093554;">
|
|
|
+ <nav class="navbar navbar-expand-lg navbar-dark" style="background-color: {{page.c_bgcolor}};">
|
|
|
<div class="container-fluid">
|
|
|
<div class="collapse navbar-collapse" id="navbarSupportedContent">
|
|
|
- <a href="/" class="text-reset text-decoration-none"><i class="fas fa-file-medical-alt"></i> GestClin</a> |
|
|
|
+ <a class="navbar-brand" href="{% url 'core_index' %}"><i class="{{page.c_sitelogo}}"></i> {{page.c_sitename}} </a>
|
|
|
{% if page.p_menu_haut %}
|
|
|
<ul class="navbar-nav mr-auto">
|
|
|
{% regroup page.p_menu_haut by p_menu_parent as menu_with_parent %}
|
|
@@ -65,38 +60,42 @@
|
|
|
{% endfor %}
|
|
|
</ul>
|
|
|
{% endif %}
|
|
|
- <div class="navbar-nav dropdown">
|
|
|
- <a class="nav-link dropdown-toggle mr-5" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-id-badge" ></i> Mon profil</a>
|
|
|
- <div class="dropdown-menu" style="margin-top: 28px; margin-left: 5px;" aria-labelledby="navbarDropdownMenuLink">
|
|
|
- {% if not request.user.is_authenticated %}
|
|
|
- <a class="dropdown-item" href="{% url 'core_login' %}" ><i class="fas fa-sign-in-alt"></i> Connexion</a>
|
|
|
- {% elif request.user.is_authenticated %}
|
|
|
- <a class="dropdown-item" href="{% url 'admin:index' %}" ><i class="fas fa-cog" ></i> Admin</a>
|
|
|
- <a class="dropdown-item" href="{% url 'core_logout' %}" ><i class="fas fa-sign-out-alt"></i> Déconexion</a>
|
|
|
- {% endif %}
|
|
|
+ {% if page.c_menulogin == 'True' %}
|
|
|
+ <div class="navbar-nav dropdown">
|
|
|
+ <a class="nav-link dropdown-toggle mr-5" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-id-badge" ></i> Mon profil</a>
|
|
|
+ <div class="dropdown-menu" style="margin-top: 28px; margin-left: 5px;" aria-labelledby="navbarDropdownMenuLink">
|
|
|
+ {% if not request.user.is_authenticated %}
|
|
|
+ <a class="dropdown-item" href="{% url 'core_login' %}" ><i class="fas fa-sign-in-alt"></i> Connexion</a>
|
|
|
+ {% elif request.user.is_authenticated %}
|
|
|
+ <a class="dropdown-item" href="{% url 'admin:index' %}" ><i class="fas fa-cog" ></i> Admin</a>
|
|
|
+ <a class="dropdown-item" href="{% url 'core_logout' %}" ><i class="fas fa-sign-out-alt"></i> Déconexion</a>
|
|
|
+ {% endif %}
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ {% endif %}
|
|
|
</div>
|
|
|
<div class="pos-f-t d-lg-none justify-content-end">
|
|
|
<div class="collapse" id="navbarToggleExternalContent">
|
|
|
- <div class="p-3" style="background-color: #093554;">
|
|
|
+ <div class="p-3" style="background-color: {{page.c_bgcolor}};">
|
|
|
{% if page.p_menu_haut %}
|
|
|
- <ul class="navbar-nav">
|
|
|
- {% for item in page.p_menu_haut %}
|
|
|
- <li class="nav-item"><a class="nav-link" {%if item.p_type == "lien_ext" %}target="_blank"{% endif %} href="{{item.p_adresse}}">{% if item.p_icone %}<i class="{{item.p_icone}}" ></i> {% endif %}{{item.p_titre}}</a></li>
|
|
|
- {% endfor %}
|
|
|
- <hr>
|
|
|
- {% if not request.user.is_authenticated %}
|
|
|
- <li class="nav-item"><a class="nav-link" href="{% url 'core_login' %}" ><i class="fas fa-sign-in-alt"></i> Connexion</a></li>
|
|
|
- {% elif request.user.is_authenticated %}
|
|
|
- <li class="nav-item"><a class="nav-link" href="{% url 'admin:index' %}" ><i class="fas fa-cog" ></i> Admin</a></li>
|
|
|
- <li class="nav-item"><a class="nav-link" href="{% url 'core_logout' %}" ><i class="fas fa-sign-out-alt"></i> Déconexion</a></li>
|
|
|
+ <ul class="navbar-nav">
|
|
|
+ {% for item in page.p_menu_haut %}
|
|
|
+ <li class="nav-item"><a class="nav-link" {%if item.p_type == "lien_ext" %}target="_blank"{% endif %} href="{{item.p_adresse}}">{% if item.p_icone %}<i class="{{item.p_icone}}" ></i> {% endif %}{{item.p_titre}}</a></li>
|
|
|
+ {% endfor %}
|
|
|
+ {% if page.c_menulogin == 'True' %}
|
|
|
+ <hr>
|
|
|
+ {% if not request.user.is_authenticated %}
|
|
|
+ <li class="nav-item"><a class="nav-link" href="{% url 'core_login' %}" ><i class="fas fa-sign-in-alt"></i> Connexion</a></li>
|
|
|
+ {% elif request.user.is_authenticated %}
|
|
|
+ <li class="nav-item"><a class="nav-link" href="{% url 'admin:index' %}" ><i class="fas fa-cog" ></i> Admin</a></li>
|
|
|
+ <li class="nav-item"><a class="nav-link" href="{% url 'core_logout' %}" ><i class="fas fa-sign-out-alt"></i> Déconexion</a></li>
|
|
|
+ {% endif %}
|
|
|
{% endif %}
|
|
|
- </ul>
|
|
|
+ </ul>
|
|
|
{% endif %}
|
|
|
</div>
|
|
|
</div>
|
|
|
- <nav class="navbar navbar-dark" style="background-color: #093554;">
|
|
|
+ <nav class="navbar navbar-dark" style="background-color: {{page.c_bgcolor}};">
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
</button>
|
|
@@ -145,7 +144,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</main>
|
|
|
-<footer class="footer mt-auto py-1 text-white" style="background-color: rgba(45, 57, 72, 0.91);">
|
|
|
+<footer class="footer mt-auto py-1 text-white" style="background-color: {{page.c_bgcolor}};">
|
|
|
<div class="container">
|
|
|
{% if page.p_menu_pied %}
|
|
|
{% for item in page.p_menu_pied %}
|
|
@@ -155,9 +154,9 @@
|
|
|
</div>
|
|
|
</footer>
|
|
|
{% block modals %}{% endblock %}
|
|
|
-<script src="/static/js/jquery-3.6.0.js"></script>
|
|
|
-<script src="/static/js/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
|
|
-<script src="/static/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
|
|
+<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
|
|
|
+<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
|
|
|
+<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
|
|
|
{% block script %}
|
|
|
{% endblock %}
|
|
|
</body>
|