diff --git a/public/bibliotheque.php b/public/bibliotheque.php index 32f044148427fdd1d59dbcd2e73b56192b67dda2..8b373c2867accca841f019a67a676c89924aae6c 100644 --- a/public/bibliotheque.php +++ b/public/bibliotheque.php @@ -42,8 +42,7 @@ urlHasArgument(); <html> -<?php generateHeader('Bibliothèque'); - generateUserBanner();?> +<?php generateHeader('Bibliothèque');?> <body onload="startviewer()"> <!-- génération des bannières --> <?php diff --git a/public/js/ajax.js b/public/js/ajax.js index f91e15b4476d05f8904e7ed13e922e9218647d8b..2b696270009c99022a4057dc35f3f4693084c0ed 100644 --- a/public/js/ajax.js +++ b/public/js/ajax.js @@ -25,4 +25,3 @@ function ajaxRemoveReview(userP, photoP) { $.post("ReviewSubmitAction.php", {user: userP, photo: photoP, action: "remove"}) } -// azedizgejguheif \ No newline at end of file diff --git a/public/js/connexion.js b/public/js/connexion.js index 6d0916cefb2ac7e188a9d660fc7f2b6c32f195c3..f2f6f374c4172030a520e01e29f98655061f122f 100644 --- a/public/js/connexion.js +++ b/public/js/connexion.js @@ -28,8 +28,13 @@ function fenetreModalFermee(fenetreModal) console.log("modal = connexion"); } + + document.getElementById('logoPhp').setAttribute('href', 'index.php?modal=' + modal); document.getElementById('indexPhp').setAttribute('href', 'index.php?modal=' + modal); document.getElementById('imageRandomPhp').setAttribute('href', 'image_alea.php?modal=' + modal); document.getElementById('bibliothequePhp').setAttribute('href', 'bibliotheque.php?modal=' + modal); -}; \ No newline at end of file + + +}; + diff --git a/public/ressources/icons/croix_blanche.png b/public/ressources/icons/croix_blanche.png new file mode 100644 index 0000000000000000000000000000000000000000..7af0720eada07321fc6b1f2d9f8eec36a9143b06 Binary files /dev/null and b/public/ressources/icons/croix_blanche.png differ diff --git a/public/ressources/icons/croix_rouge.png b/public/ressources/icons/croix_rouge.png new file mode 100644 index 0000000000000000000000000000000000000000..ed8b27607ba9a230d9f6f7e5c57e1aadc867d42d Binary files /dev/null and b/public/ressources/icons/croix_rouge.png differ diff --git a/public/utils/content.php b/public/utils/content.php index 0ac13d82445d2fc82752823ceb4c27b86099be1f..fd3bb3874b12bfc483ef5c948993119a72996246 100644 --- a/public/utils/content.php +++ b/public/utils/content.php @@ -206,7 +206,9 @@ function generateNavBar($page){ // pour mettre en surbrillance l'onglet sélectionné echo '<nav class="navbar navbar-expand-lg bg-dark navbar-dark sticky-top" style="margin-top:0px;font-family:Abang"> - <a class="navbar-brand" href="index.php"><img src="./ressources/logo/logo_transparent_recadre.png" height="36" width="67"></a> + <a class="navbar-brand" id=logoPhp href="index.php"> + <img src="./ressources/logo/logo_transparent_recadre.png" height="36" width="67"> + </a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarText" aria-controls="navbarText" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button>