diff --git a/public/bibliotheque.php b/public/bibliotheque.php index 0cc52ff2ee4092967dce8c96e5a7aae81e568cae..32f044148427fdd1d59dbcd2e73b56192b67dda2 100644 --- a/public/bibliotheque.php +++ b/public/bibliotheque.php @@ -42,7 +42,8 @@ urlHasArgument(); <html> -<?php generateHeader('Bibliothèque'); ?> +<?php generateHeader('Bibliothèque'); + generateUserBanner();?> <body onload="startviewer()"> <!-- génération des bannières --> <?php diff --git a/public/espace_perso.php b/public/espace_perso.php index b7bf2066ee7b12f7b795f5f36d1490942de4b347..41b5252b2d9087784f68e6c934147d3d2cc2303a 100644 --- a/public/espace_perso.php +++ b/public/espace_perso.php @@ -41,6 +41,7 @@ $listeCDCperso = $coupdecoeurRepository->fetchByIdUser($_SESSION["id_user"]); <html> <?php generateHeader('espace perso'); + generateUserBanner(); ?> <body onload="startDisplayer('CDClist', 'CDCdisplayArea'); startDisplayer('Reviewlist', 'ReviewdisplayArea')" style="text-align: center; background-image:url('./ressources/background/test2.jpeg'); diff --git a/public/image_alea.php b/public/image_alea.php index 09ab1997f70ca19a7f11c4a1f1b20846cdd04627..71472ff61ef3a44b45a5966aee069d5979dff2f7 100644 --- a/public/image_alea.php +++ b/public/image_alea.php @@ -34,7 +34,8 @@ urlHasArgument(); <html> <?php -generateHeader('Image Alea'); + generateHeader('Image Alea'); + generateUserbanner(); ?> <body style="background-image:url('./ressources/background/test2.jpeg'); text-align: center"> <!-- génération des bonnières --> @@ -53,13 +54,13 @@ generateHeader('Image Alea'); <div class="view container-fluid"> <div class="hover-container" style="margin: 3px"> - <img class="img-fluid" src=<?php echo $image->{'links'}[0]->{'href'} ?>> + <img class="img-fluid" style="margin: 4px" src=<?php echo $image->{'links'}[0]->{'href'} ?>> <div class="content"> <div class="text scrollbar"> <h4><?php echo $image->{'data'}[0]->{'title'} ?></h4> <p style="font-size: 15px"><?php echo $image->{'data'}[0]->{'description'} ?></p> </div> - <div class="actionrow"> + <div class="actionrow" style="left: -120px;"> <form method="POST" action="download.php" target="_blank"> <input type="hidden" name="urlget" value=<?php echo $image->{'href'} ?>> <input type="hidden" name="nasa_id" value=<?php echo $image->{'data'}[0]->{'nasa_id'} ?>> @@ -72,6 +73,10 @@ generateHeader('Image Alea'); </div> </div> + <div class="view container-fluid"> + <a href="image_alea.php"><button class="btn btn-primary">Nouvelle Image</button></a> + </div> + <?php generateFooter(); ?> </body> diff --git a/public/index.php b/public/index.php index e92c5f47e7a4a788bc8b032e5f87afe6377a3ee6..0f9fc4240668ecf7e71a50a7739e29b8cd947e3e 100644 --- a/public/index.php +++ b/public/index.php @@ -38,6 +38,7 @@ urlHasArgument(); <html> <?php generateHeader('Pimaza'); + generateUserBanner(); ?> <body style="text-align: center; background-image:url('./ressources/background/test2.jpeg'); @@ -60,8 +61,8 @@ urlHasArgument(); ?> </div> - <div class="hover-container" style="width:70%"> - <img style="box-shadow: 2px 3px 4px rgba(0, 0, 0, .5);" class="img-fluid" src=<?php echo $imageDataArray->{'hdurl'} ?>> + <div class="hover-container" style="margin: 3px;"> + <img style="margin: 4px;" class="img-fluid" src=<?php echo $imageDataArray->{'hdurl'} ?>> <div class="content"> <div class="text" style="font-size:large;"> diff --git a/public/js/ajax.js b/public/js/ajax.js index 97b095005d8bca2cb2e19555f1c416790a41d4c6..3d3e6061b8817d44eb25e6556c6e8ea0149a397f 100644 --- a/public/js/ajax.js +++ b/public/js/ajax.js @@ -23,4 +23,5 @@ function ajaxNewReview(userP, photoP, noteP) { function ajaxRemoveReview(userP, photoP) { console.log("reviewRetrait"); $.post("ReviewSubmitAction.php", {user: userP, photo: photoP, note: "0", action: "remove"}) -} \ No newline at end of file +} +