From e44697df37009ddc2dc062ac1bfad2c28591fa0f Mon Sep 17 00:00:00 2001
From: "louis.fourcade@ensiie.fr" <gofer>
Date: Sat, 7 Dec 2019 14:38:59 +0100
Subject: [PATCH] correction des marges sur les overlay

---
 public/image_alea.php | 8 ++++++--
 public/index.php      | 4 ++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/public/image_alea.php b/public/image_alea.php
index a60cc12..95ab053 100644
--- a/public/image_alea.php
+++ b/public/image_alea.php
@@ -54,13 +54,13 @@ urlHasArgument();
 	<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: 0px;">
 					<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'} ?>>
@@ -73,6 +73,10 @@ urlHasArgument();
 		</div>
 	</div>
 
+	<div class="view container-fluid">
+		<button href="image_alea.php" class="btn btn-primary">Nouvelle Image</button>
+	</div>
+
 
 	<?php generateFooter(); ?>
 </body>
diff --git a/public/index.php b/public/index.php
index 03ddd45..0f9fc42 100644
--- a/public/index.php
+++ b/public/index.php
@@ -61,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;">
-- 
GitLab