Improve UX when there are no Unsplash results

This commit is contained in:
Skylar Ittner 2018-05-25 13:57:27 -06:00
parent 9339ea12c6
commit 5bd9b908ce
2 changed files with 3 additions and 1 deletions

View File

@ -138,4 +138,6 @@ define("STRINGS", [
"delete" => "Delete", "delete" => "Delete",
"new folder" => "New Folder", "new folder" => "New Folder",
"new" => "New", "new" => "New",
"search" => "Search",
"no results" => "No results.",
]); ]);

View File

@ -39,7 +39,7 @@ $images->
$htmlout = ""; $htmlout = "";
if (count($images) == 0) { if (count($images) == 0) {
$htmlout = "<span>" . lang("no results", false) . "</span>"; $htmlout = "<div class=\"card text-center\"><div class=\"card-body\"><i class=\"fas fa-search-minus\"></i> " . lang("no results", false) . "</div></div>";
} }
$htmlout .= '<div class="card-columns">'; $htmlout .= '<div class="card-columns">';