mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
related to #1609 replacing squeleton in the search album tab
This commit is contained in:
@@ -128,15 +128,6 @@ function resultAppear(result) {
|
||||
}
|
||||
}
|
||||
|
||||
function prepare_skeleton() {
|
||||
while (!($(document).height() > $(window).height())) {
|
||||
$(".search-album-ghost").append("<div></div>");
|
||||
}
|
||||
$(".search-album-ghost div:last").remove();
|
||||
};
|
||||
|
||||
prepare_skeleton();
|
||||
|
||||
updateSearch();
|
||||
$('.search-input').focus();
|
||||
{/literal}
|
||||
@@ -156,9 +147,7 @@ $('.search-input').focus();
|
||||
</div>
|
||||
|
||||
<div class="search-album-ghost">
|
||||
<div></div>
|
||||
<div></div>
|
||||
<div></div>
|
||||
<span>{'No research in progress'|@translate}</span>
|
||||
</div>
|
||||
|
||||
<div class="search-album-elem-template" style="display:none">
|
||||
|
||||
@@ -5993,6 +5993,14 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
|
||||
background-image: linear-gradient(0.25turn, #eee, rgb(250, 250, 250));
|
||||
background-attachment: fixed;
|
||||
}
|
||||
.search-album-ghost span{
|
||||
text-align: center;
|
||||
font-weight: 600;
|
||||
padding: 90px 0;
|
||||
background-color: #f3f3f3;
|
||||
color: #c1c1c1;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
.search-album-elem {
|
||||
box-shadow: 0px 2px 3px #00000024;
|
||||
|
||||
@@ -1202,6 +1202,10 @@ li.plupload_delete a:hover {background: url("images/cancelhover.svg")!important;
|
||||
.search-album-ghost div {
|
||||
background-image: linear-gradient(#333, #444);
|
||||
}
|
||||
.search-album-ghost span{
|
||||
background-color: #5a5757;
|
||||
color: #c1c1c1;
|
||||
}
|
||||
|
||||
/* Icon colors*/
|
||||
|
||||
|
||||
@@ -1278,6 +1278,7 @@ $lang['This albums is already in related categories list'] = 'This albums is alr
|
||||
$lang['No search in progress'] = 'No search in progress';
|
||||
$lang['Create a new album at root'] = 'Create a new album at root';
|
||||
$lang['Create a sub-album of "%s"'] = 'Create a sub-album of "%s"';
|
||||
$lang['No research in progress'] = 'No research in progress';
|
||||
|
||||
$lang['Visited'] = 'Visited';
|
||||
$lang['Downloaded'] = 'Downloaded';
|
||||
|
||||
@@ -1272,6 +1272,7 @@ $lang['Purge Actions'] = 'Actions de purge';
|
||||
$lang['Purge Cache'] = 'Purger le cache';
|
||||
$lang['Create a new album at root'] = 'Créer un nouvel album à la racine';
|
||||
$lang['Create a sub-album of "%s"'] = 'Créer un sous-album de "%s"';
|
||||
$lang['No research in progress'] = 'Pas de recherche en cours';
|
||||
$lang['Rename "%s"'] = 'Renommer "%s"';
|
||||
$lang['Yes, rename'] = 'Oui, renommer';
|
||||
$lang['Tag name'] = 'Nom du tag';
|
||||
|
||||
Reference in New Issue
Block a user