Fixed bug in my collection
This commit is contained in:
parent
e8b60beacb
commit
4f3c2b0499
2 changed files with 22 additions and 5 deletions
|
@ -43,5 +43,22 @@
|
|||
img {
|
||||
border: 2px solid #4a4a4a;
|
||||
}
|
||||
|
||||
.items {
|
||||
span {
|
||||
margin-right: 0.6rem;
|
||||
|
||||
&::after {
|
||||
content: ",";
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
&::after {
|
||||
margin-right: 0;
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
<label for="artist">Artiste</label>
|
||||
<select id="artist" v-model="artist" @change="changeFilter">
|
||||
<option value="">Tous</option>
|
||||
<%
|
||||
<%
|
||||
for (let i = 0; i < page.artists.length; i += 1 ) {
|
||||
__append(`<option value="${page.artists[i]}">${page.artists[i]}</option>`);
|
||||
}
|
||||
|
@ -15,7 +15,7 @@
|
|||
<label for="format">Format</label>
|
||||
<select id="format" v-model="format" @change="changeFilter">
|
||||
<option value="">Tous</option>
|
||||
<%
|
||||
<%
|
||||
for (let i = 0; i < page.formats.length; i += 1 ) {
|
||||
__append(`<option value="${page.formats[i]}">${page.formats[i]}</option>`);
|
||||
}
|
||||
|
@ -47,11 +47,11 @@
|
|||
<br />
|
||||
<span><strong>Pays :</strong> {{ item.country }}</span>
|
||||
<br />
|
||||
<span class="item"><strong>Format :</strong> <span v-for="format in item.formats">{{ format.name }}</span></span>
|
||||
<span class="items"><strong>Format :</strong> <span v-for="format in item.formats">{{ format.name }}</span></span>
|
||||
<br />
|
||||
<span class="item"><strong>Genre :</strong> <span v-for="genre in item.genres">{{ genre }}</span></span>
|
||||
<span class="items"><strong>Genre :</strong> <span v-for="genre in item.genres">{{ genre }}</span></span>
|
||||
<br />
|
||||
<span class="item"><strong>Style :</strong> <span v-for="style in item.styles">{{ style }}</span></span>
|
||||
<span class="items"><strong>Style :</strong> <span v-for="style in item.styles">{{ style }}</span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue