Fix of interface in explorer, tags now working as AND and not OR
This commit is contained in:
parent
b76734fe25
commit
04d3e099cb
@ -53,15 +53,15 @@
|
||||
<span><input type="checkbox" id="photos" name="photos" value="all">
|
||||
<label for="photos">Tout état</label></span>
|
||||
<span><input type="checkbox" id="none" name="photo" value="none">
|
||||
<label for="none">☆ aucune</label></span>
|
||||
<label for="none">☆ inexistant</label></span>
|
||||
<span><input type="checkbox" id="exist" name="photo" value="exist">
|
||||
<label for="exist">Existante</label></span>
|
||||
<label for="exist">Existant</label></span>
|
||||
<span><input type="checkbox" id="bad" name="photo" value="bad">
|
||||
<label for="bad">★ mauvaise</label></span>
|
||||
<label for="bad">★ mauvais</label></span>
|
||||
<span><input type="checkbox" id="ok" name="photo" value="ok">
|
||||
<label for="ok">★★ acceptable</label></span>
|
||||
<span><input type="checkbox" id="good" name="photo" value="good">
|
||||
<label for="good">★★★ bonne</label></span>
|
||||
<label for="good">★★★ bon</label></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box years">
|
||||
|
@ -363,13 +363,13 @@ jQuery(document).ready(function($)
|
||||
return true;
|
||||
splitTag = tag.split(", ");
|
||||
|
||||
for (t of splitTag)
|
||||
for (t of paramTag)
|
||||
{
|
||||
if (paramTag.includes(t))
|
||||
return true;
|
||||
}
|
||||
if (!splitTag.includes(t))
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
function checkPhoto(photo)
|
||||
{
|
||||
|
@ -383,14 +383,20 @@ article.explorer .gallery {
|
||||
}
|
||||
|
||||
article.explorer p.intro {
|
||||
width:55vw;
|
||||
width:75vw;
|
||||
margin:auto;
|
||||
margin-bottom:2rem;
|
||||
text-align:justify;
|
||||
}
|
||||
|
||||
@media only screen and (max-width:1200px) {
|
||||
article.explorer p {
|
||||
article.explorer p.intro {
|
||||
width:90vw;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width:1640px) {
|
||||
article.explorer {
|
||||
width:90vw;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user