base_no_card.html 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. MrDuhaz / Blog-Duhaz
  2. base_no_card.html 7.2 KB
  3. 1
  4. 2
  5. 3
  6. 4
  7. 5
  8. 6
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11
  14. 12
  15. 13
  16. 14
  17. 15
  18. 16
  19. 17
  20. 18
  21. 19
  22. 20
  23. 21
  24. 22
  25. 23
  26. 24
  27. 25
  28. 26
  29. 27
  30. 28
  31. 29
  32. 30
  33. 31
  34. 32
  35. 33
  36. 34
  37. 35
  38. 36
  39. 37
  40. 38
  41. 39
  42. 40
  43. 41
  44. 42
  45. 43
  46. 44
  47. 45
  48. 46
  49. 47
  50. 48
  51. 49
  52. 50
  53. 51
  54. 52
  55. 53
  56. 54
  57. 55
  58. 56
  59. 57
  60. 58
  61. 59
  62. 60
  63. 61
  64. 62
  65. 63
  66. 64
  67. 65
  68. 66
  69. 67
  70. 68
  71. 69
  72. 70
  73. 71
  74. 72
  75. 73
  76. 74
  77. 75
  78. 76
  79. 77
  80. 78
  81. 79
  82. 80
  83. 81
  84. 82
  85. 83
  86. 84
  87. 85
  88. 86
  89. 87
  90. 88
  91. 89
  92. 90
  93. 91
  94. 92
  95. 93
  96. 94
  97. 95
  98. 96
  99. 97
  100. 98
  101. 99
  102. 100
  103. 101
  104. 102
  105. 103
  106. 104
  107. 105
  108. 106
  109. 107
  110. 108
  111. 109
  112. 110
  113. 111
  114. 112
  115. 113
  116. 114
  117. 115
  118. 116
  119. 117
  120. 118
  121. 119
  122. 120
  123. 121
  124. 122
  125. 123
  126. 124
  127. 125
  128. 126
  129. 127
  130. 128
  131. 129
  132. 130
  133. 131
  134. 132
  135. 133
  136. 134
  137. 135
  138. 136
  139. 137
  140. 138
  141. 139
  142. 140
  143. 141
  144. 142
  145. 143
  146. 144
  147. 145
  148. 146
  149. 147
  150. 148
  151. 149
  152. 150
  153. 151
  154. 152
  155. 153
  156. 154
  157. 155
  158. 156
  159. 157
  160. 158
  161. 159
  162. 160
  163. 161
  164. 162
  165. 163
  166. {% load static %}
  167. <!DOCTYPE html>
  168. <html lang="fr" class="h-100">
  169. <head>
  170. <meta charset="utf-8">
  171. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  172. <meta name="keywords" content="{%if page.p_mots_clefs%}{{page.p_mots_clefs}}{% endif %}">
  173. <meta name="description" content="{% if page.p_description %}{{page.p_description}}{% endif %}">
  174. {% block add_meta_description %}{% endblock %}
  175. <title>{% if page.p_meta_title %}{{page.p_meta_title}} | {% elif page.p_titre %}{{page.p_titre}} | {% endif %}{{page.c_sitename}}</title>
  176. <link rel="shortcut icon" href="/static/favicon.ico">
  177. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  178. <link href="//fonts.googleapis.com/css2?family=Kufam&display=swap" rel="stylesheet">
  179. <script src="https://kit.fontawesome.com/7cf2a101ac.js"></script>
  180. <script src="https://unpkg.com/@popperjs/core@2"></script>
  181. {% if not request.user.is_authenticated %}
  182. <script data-ad-client="ca-pub-0171697375250839" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  183. {% endif %}
  184. <style type="text/css">
  185. img {
  186. display: block;
  187. max-width: 100%;
  188. height: auto;
  189. }
  190. body {
  191. background-color:black;
  192. background-image: url('{% static page.c_bgimagelogo %}'), url('{% static page.c_bgimage %}') ;
  193. background-position: 96% 95%, center ;
  194. background-size: 20%,cover;
  195. background-repeat: no-repeat;
  196. background-attachment: fixed;
  197. font-size: 15px;
  198. }
  199. </style>
  200. </head>
  201. <body class="d-flex flex-column h-100">
  202. <header style="color: #fff; font-family: Kufam', cursive;">
  203. <nav class="navbar navbar-expand-lg navbar-dark" style="background-color: {{page.c_bgcolor}};">
  204. <div class="container-fluid">
  205. <a class="navbar-brand" href="{% url 'core_index' %}"><i class="{{page.c_sitelogo}}"></i> {{page.c_sitename}} </a>
  206. <div class="collapse navbar-collapse" id="navbarSupportedContent">
  207. {% if page.p_menu_haut %}
  208. <ul class="navbar-nav mr-auto">
  209. {% regroup page.p_menu_haut by p_menu_parent as menu_with_parent %}
  210. {% for p_menu_parent in menu_with_parent%}
  211. {% if p_menu_parent.grouper != none %}
  212. <div class="navbar-nav dropdown">
  213. <a class="nav-link dropdown-toggle mr-5" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fas fa-bars" ></i> {{ p_menu_parent.grouper }}</a>
  214. <div class="dropdown-menu" style="margin-top: 28px; margin-left: 5px;" aria-labelledby="navbarDropdownMenuLink">
  215. {% for item in p_menu_parent.list|dictsortreversed:"p_menu_poid" %}
  216. <a class="dropdown-item" {%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>
  217. {% endfor %}
  218. </div>
  219. </div>
  220. {% else %}
  221. {% for item in p_menu_parent.list %}
  222. <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>
  223. {% endfor %}
  224. {% endif %}
  225. {% endfor %}
  226. </ul>
  227. {% endif %}
  228. </div>
  229. {% if page.p_menu_haut or page.blog_cat %}
  230. <div class="pos-f-t d-lg-none justify-content-end">
  231. <div class="collapse" id="navbarToggleExternalContent">
  232. <div class="collapse" id="navbarToggleExternalContent">
  233. <div class="p-3" style="background-color: {{page.c_bgcolor}};">
  234. {% if page.p_menu_haut %}
  235. <ul class="navbar-nav">
  236. {% for item in page.p_menu_haut %}
  237. <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>
  238. {% endfor %}
  239. {% if page.c_menulogin == 'True' %}
  240. <hr>
  241. {% if not request.user.is_authenticated %}
  242. <li class="nav-item"><a class="nav-link" href="{% url 'core_login' %}" ><i class="fas fa-sign-in-alt"></i> Connexion</a></li>
  243. {% elif request.user.is_authenticated %}
  244. <li class="nav-item"><a class="nav-link" href="{% url 'admin:index' %}" ><i class="fas fa-cog" ></i> Admin</a></li>
  245. <li class="nav-item"><a class="nav-link" href="{% url 'core_logout' %}" ><i class="fas fa-sign-out-alt"></i> Déconexion</a></li>
  246. {% endif %}
  247. {% endif %}
  248. </ul>
  249. {% endif %}
  250. </div>
  251. </div>
  252. <nav class="navbar navbar-dark justify-content-end" style="background-color: {{page.c_bgcolor}};">
  253. <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation">
  254. <span class="navbar-toggler-icon"></span>
  255. </button>
  256. </nav>
  257. {% endif %}
  258. </div>
  259. </div>
  260. </nav>
  261. </header>
  262. <main role="main" class="flex-shrink-0">
  263. <div class="container-fluid mw-100">
  264. <div class="row p-2">
  265. {% block left_panel %}
  266. {% endblock %}
  267. <div class="col-lg-8 p-lg-1 p-md-0 mb-sm-1">
  268. {% if messages %}
  269. <div class="card-body messages p-0 mr-3 ml-3">
  270. {% for message in messages %}
  271. <div class="m-2 alert alert-dismissable alert-{{ message.tags }}" data-alert="alert">
  272. <button type="button" class="close" data-dismiss="alert" >&times;</button>
  273. {{ message }}
  274. </div>
  275. {% endfor %}
  276. </div>
  277. {% endif %}
  278. {% block main %}{% endblock %}
  279. </div>
  280. <div class="col-lg-4 p-lg-1 p-md-0">
  281. <div class="card" style="background-color: rgba(250,250,250,0.88);" >
  282. {% block right_panel %}
  283. {% endblock %}
  284. {% if not request.user.is_authenticated and page.p_right and not "account/" in request.path %}
  285. <div class="card-body">
  286. <h5 class="card-title"> Une Pub </h5>
  287. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
  288. <!-- Pub-1 -->
  289. <ins class="adsbygoogle"
  290. style="display:block"
  291. data-ad-client="ca-pub-0171697375250839"
  292. data-ad-slot="9918621322"
  293. data-ad-format="auto"
  294. data-full-width-responsive="true">
  295. </ins>
  296. <script>
  297. (adsbygoogle = window.adsbygoogle || []).push({});
  298. </script>
  299. </div>
  300. {% endif %}
  301. </div>
  302. </div>
  303. </div>
  304. </div>
  305. </main>
  306. <footer class="footer mt-auto py-1 text-white" style="background-color: {{page.c_bgcolor}};">
  307. <div class="container">
  308. Blog.Duhaz.fr - Jan. 2024
  309. {% if page.p_menu_pied %}
  310. {% for item in page.p_menu_pied %}
  311. <a class="link-light" href="{{item.p_adresse}}">{{item.p_titre}}</a>{% if not forloop.last %}, {% endif %}
  312. {% endfor %}
  313. {% endif %}
  314. </div>
  315. </footer>
  316. {% block modals %}{% endblock %}
  317. <script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
  318. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
  319. <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
  320. <script>
  321. </script>
  322. {% block script %}
  323. {% endblock %}
  324. </body>
  325. </html>
  326. © 2024 Mr Duhaz gogs !Page: 186ms Modèle: 3ms français Site web