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">
|
<span><input type="checkbox" id="photos" name="photos" value="all">
|
||||||
<label for="photos">Tout état</label></span>
|
<label for="photos">Tout état</label></span>
|
||||||
<span><input type="checkbox" id="none" name="photo" value="none">
|
<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">
|
<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">
|
<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">
|
<span><input type="checkbox" id="ok" name="photo" value="ok">
|
||||||
<label for="ok">★★ acceptable</label></span>
|
<label for="ok">★★ acceptable</label></span>
|
||||||
<span><input type="checkbox" id="good" name="photo" value="good">
|
<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>
|
</div>
|
||||||
<div class="box years">
|
<div class="box years">
|
||||||
|
@ -363,12 +363,12 @@ jQuery(document).ready(function($)
|
|||||||
return true;
|
return true;
|
||||||
splitTag = tag.split(", ");
|
splitTag = tag.split(", ");
|
||||||
|
|
||||||
for (t of splitTag)
|
for (t of paramTag)
|
||||||
{
|
{
|
||||||
if (paramTag.includes(t))
|
if (!splitTag.includes(t))
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkPhoto(photo)
|
function checkPhoto(photo)
|
||||||
|
@ -383,14 +383,20 @@ article.explorer .gallery {
|
|||||||
}
|
}
|
||||||
|
|
||||||
article.explorer p.intro {
|
article.explorer p.intro {
|
||||||
width:55vw;
|
width:75vw;
|
||||||
margin:auto;
|
margin:auto;
|
||||||
margin-bottom:2rem;
|
margin-bottom:2rem;
|
||||||
text-align:justify;
|
text-align:justify;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width:1200px) {
|
@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;
|
width:90vw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user