Skip to content

Commit

Permalink
Update real estate import
Browse files Browse the repository at this point in the history
  • Loading branch information
doishub committed Jan 14, 2021
1 parent 943a969 commit 157f2e2
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 10 deletions.
6 changes: 4 additions & 2 deletions src/Resources/contao/classes/ConfigDemoData.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@ public function run()

// Move assets
$sourceDir = 'web/bundles/estatemanagersetupconfigurator/assets/demo';
$targetDir = 'files/estatemanager/demo';
$targetDir = 'files/demo';

$objTarget = new Folder($targetDir);
$objTarget->unprotect();
$objTarget->purge();

$this->moduleLog(sprintf($GLOBALS['TL_LANG']['tl_real_estate_configurator']['estate_log_assets'], $targetDir));
Expand All @@ -76,5 +75,8 @@ public function run()
);

$this->moduleLog($GLOBALS['TL_LANG']['tl_real_estate_configurator']['estate_log_imported']);

// Unprotect demo folder
$objTarget->unprotect();
}
}
8 changes: 6 additions & 2 deletions src/Resources/public/configurator.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Resources/public/configurator.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions src/Resources/public/configurator.scss
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,19 @@
ul.em-messages{
margin: 0 10px 10px;
padding: 0 0 0 25px;
overflow-x: hidden;

li{
list-style: initial;
margin: 4px 0px;
margin: 4px 0;
font-weight: 500;

&.success{
color: #5ca02e;
font-weight: 500;
}

&.error{
color: #a02e38;
}
}
}
Expand Down
Loading

0 comments on commit 157f2e2

Please sign in to comment.