Commit 6d7c94e9 authored by Aria Givi's avatar Aria Givi
Browse files

polish

parent 4978c5b2
......@@ -84,7 +84,7 @@ class UpdateKelkooFeed extends Command
return;
} else {
if(ftp_login($connection, env("kelkoo_username"), env("kelkoo_pass"))) {
$contents = ftp_mlsd($connection, $this->remoteFilePath);
$contents = ftp_nlist($connection, $this->remoteFilePath);
foreach ($contents as $content) {
if(ftp_get($connection, config_path() . $this->localFeedFilePath . basename($content) , $this->remoteFilePath . basename($content) , FTP_BINARY)) {
echo "File transfer successful - ". config_path() . $this->localFeedFilePath . basename($content) . "\n";
......
......@@ -8,21 +8,22 @@
}
#product-tile-container {
height: 210px;
height: 205px;
display: flex;
flex-direction: row;
}
.product-tile {
// 5 product tiles
max-width: 20%;
width: 19%;
max-height: 100%;
margin: 8px 0px;
margin: 8px 3px 0px;
padding: 0px 2px;
box-shadow: 0px 0px 2px gray;
}
.product-tile-image {
width: 100%;
max-width: 100%;
height: 50%;
text-align: center;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment