2019-06-03 03:31:38 +00:00
|
|
|
<template>
|
2019-10-28 01:54:37 +00:00
|
|
|
<div class="content">
|
|
|
|
<div class="filters-bar noselect">
|
|
|
|
<Icon icon="filter" />
|
|
|
|
|
2019-10-27 23:58:54 +00:00
|
|
|
<ul class="filters">
|
2019-10-29 04:21:51 +00:00
|
|
|
<li class="filter">
|
|
|
|
<label
|
|
|
|
class="toggle"
|
|
|
|
:class="{ active: showStraight }"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
v-model="showStraight"
|
|
|
|
type="checkbox"
|
|
|
|
class="check"
|
|
|
|
>straight
|
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
|
2019-10-28 01:54:37 +00:00
|
|
|
<li class="filter">
|
|
|
|
<label
|
|
|
|
class="toggle"
|
|
|
|
:class="{ active: showLesbian }"
|
|
|
|
>
|
2019-10-27 23:58:54 +00:00
|
|
|
<input
|
2019-10-28 01:54:37 +00:00
|
|
|
v-model="showLesbian"
|
2019-10-27 23:58:54 +00:00
|
|
|
type="checkbox"
|
2019-10-28 01:54:37 +00:00
|
|
|
class="check"
|
|
|
|
>lesbian
|
2019-10-27 23:58:54 +00:00
|
|
|
</label>
|
|
|
|
</li>
|
2019-10-28 01:54:37 +00:00
|
|
|
|
|
|
|
<li class="filter">
|
|
|
|
<label
|
|
|
|
class="toggle"
|
|
|
|
:class="{ active: showGay }"
|
|
|
|
>
|
2019-10-27 23:58:54 +00:00
|
|
|
<input
|
2019-10-28 01:54:37 +00:00
|
|
|
v-model="showGay"
|
2019-10-27 23:58:54 +00:00
|
|
|
type="checkbox"
|
2019-10-28 01:54:37 +00:00
|
|
|
class="check"
|
|
|
|
>gay
|
2019-10-27 23:58:54 +00:00
|
|
|
</label>
|
|
|
|
</li>
|
2019-10-28 01:54:37 +00:00
|
|
|
|
|
|
|
<li class="filter">
|
|
|
|
<label
|
|
|
|
class="toggle"
|
|
|
|
:class="{ active: showTrans }"
|
|
|
|
>
|
2019-10-27 23:58:54 +00:00
|
|
|
<input
|
2019-10-28 01:54:37 +00:00
|
|
|
v-model="showTrans"
|
2019-10-27 23:58:54 +00:00
|
|
|
type="checkbox"
|
2019-10-28 01:54:37 +00:00
|
|
|
class="check"
|
|
|
|
>trans
|
2019-10-27 23:58:54 +00:00
|
|
|
</label>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2019-10-28 01:54:37 +00:00
|
|
|
<div class="content-inner">
|
|
|
|
<ul class="scenes nolist">
|
|
|
|
<li
|
|
|
|
v-for="release in releases"
|
|
|
|
:key="release.id"
|
|
|
|
class="scene"
|
|
|
|
>
|
|
|
|
<span class="scene-banner">
|
|
|
|
<span class="scene-details">
|
|
|
|
<a
|
|
|
|
:href="`/site/${release.site.id}`"
|
|
|
|
:title="release.network.name"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
class="scene-site site-link"
|
|
|
|
>{{ release.site.name }}</a>
|
|
|
|
|
|
|
|
<a
|
|
|
|
:href="release.url"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
class="scene-date"
|
|
|
|
>{{ formatDate(release.date, 'MMM D, YYYY') }}</a>
|
|
|
|
</span>
|
2019-06-03 03:31:38 +00:00
|
|
|
|
|
|
|
<a
|
2019-10-28 01:54:37 +00:00
|
|
|
:href="`/scene/${release.id}`"
|
2019-06-03 03:31:38 +00:00
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
2019-10-28 01:54:37 +00:00
|
|
|
class="scene-link"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
v-if="release.poster"
|
2019-10-30 03:45:42 +00:00
|
|
|
:src="`/media/${release.poster.path}`"
|
2019-10-28 01:54:37 +00:00
|
|
|
:alt="release.title"
|
|
|
|
class="scene-thumbnail"
|
|
|
|
>
|
2019-06-03 03:31:38 +00:00
|
|
|
|
2019-10-28 01:54:37 +00:00
|
|
|
<img
|
|
|
|
v-else-if="release.photos.length > 0"
|
2019-10-30 03:45:42 +00:00
|
|
|
:src="`/media/${release.photos[0].path}`"
|
2019-10-28 01:54:37 +00:00
|
|
|
:alt="release.title"
|
|
|
|
class="scene-thumbnail"
|
|
|
|
>
|
|
|
|
|
|
|
|
<div
|
|
|
|
v-else
|
|
|
|
:title="release.title"
|
|
|
|
class="scene-thumbnail"
|
|
|
|
>No thumbnail available</div>
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<div class="scene-info">
|
2019-06-03 03:31:38 +00:00
|
|
|
<a
|
2019-10-28 01:54:37 +00:00
|
|
|
:href="`/scene/${release.id}`"
|
2019-06-03 03:31:38 +00:00
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
2019-10-28 01:54:37 +00:00
|
|
|
class="scene-row scene-link"
|
2019-06-03 03:31:38 +00:00
|
|
|
>
|
2019-10-29 04:21:51 +00:00
|
|
|
<h3
|
|
|
|
:title="release.title"
|
|
|
|
class="scene-title"
|
|
|
|
>{{ release.title }}</h3>
|
2019-10-28 01:54:37 +00:00
|
|
|
</a>
|
2019-07-06 03:29:12 +00:00
|
|
|
|
2019-10-28 01:54:37 +00:00
|
|
|
<span class="scene-row">
|
|
|
|
<ul class="scene-actors nolist">
|
|
|
|
<li
|
|
|
|
v-for="actor in release.actors"
|
|
|
|
:key="actor.id"
|
|
|
|
class="scene-actor"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
:href="`/actor/${actor.slug}`"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
class="actor-link"
|
|
|
|
>{{ actor.name }}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</span>
|
2019-06-03 03:31:38 +00:00
|
|
|
|
2019-10-28 01:54:37 +00:00
|
|
|
<span
|
|
|
|
:title="release.tags.map(tag => tag.name).join(', ')"
|
|
|
|
class="scene-row"
|
|
|
|
>
|
|
|
|
<ul class="scene-tags nolist">
|
|
|
|
<li
|
|
|
|
v-for="tag in release.tags"
|
|
|
|
:key="`tag-${tag.slug}`"
|
|
|
|
class="scene-tag"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
:href="`/tag/${tag.slug}`"
|
|
|
|
target="_blank"
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
class="tag-link"
|
|
|
|
>{{ tag.name }}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2019-06-03 03:31:38 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2019-09-10 14:48:04 +00:00
|
|
|
function pageTitle() {
|
|
|
|
return '';
|
|
|
|
}
|
|
|
|
|
2019-06-03 03:31:38 +00:00
|
|
|
async function mounted() {
|
|
|
|
this.releases = await this.$store.dispatch('fetchReleases');
|
|
|
|
}
|
|
|
|
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
2019-10-29 04:21:51 +00:00
|
|
|
showStraight: true,
|
2019-10-28 01:54:37 +00:00
|
|
|
showLesbian: true,
|
|
|
|
showGay: false,
|
|
|
|
showTrans: false,
|
2019-06-03 03:31:38 +00:00
|
|
|
releases: [],
|
|
|
|
};
|
|
|
|
},
|
2019-09-10 14:48:04 +00:00
|
|
|
computed: {
|
|
|
|
pageTitle,
|
|
|
|
},
|
2019-06-03 03:31:38 +00:00
|
|
|
mounted,
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
@import 'theme';
|
|
|
|
|
2019-10-28 01:54:37 +00:00
|
|
|
.filters-bar {
|
|
|
|
display: block;
|
|
|
|
background: $shadow-hint;
|
|
|
|
padding: .5rem 1rem;
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
fill: $shadow;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filters {
|
|
|
|
display: inline-block;
|
|
|
|
list-style: none;
|
|
|
|
padding: .5rem;
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
.toggle {
|
|
|
|
color: $shadow;
|
|
|
|
background: $shadow-hint;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: .5rem;
|
|
|
|
border-radius: .5rem;
|
|
|
|
font-size: .9rem;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
.check {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $text-contrast;
|
|
|
|
background: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2019-06-03 03:31:38 +00:00
|
|
|
.scenes {
|
|
|
|
display: grid;
|
2019-07-06 03:29:12 +00:00
|
|
|
grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
|
2019-06-03 03:31:38 +00:00
|
|
|
grid-gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0 0 .5rem 0;;
|
|
|
|
border-radius: .25rem;
|
|
|
|
overflow: hidden;
|
|
|
|
box-shadow: 0 0 3px rgba(0, 0, 0, .25);
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-banner {
|
|
|
|
position: relative;
|
|
|
|
margin: 0 0 .5rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-thumbnail {
|
|
|
|
width: 100%;
|
|
|
|
height: 200px;
|
2019-07-06 03:29:12 +00:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
object-fit: cover;
|
2019-06-03 03:31:38 +00:00
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
2019-07-06 03:29:12 +00:00
|
|
|
background-color: $shadow-hint;
|
|
|
|
color: $shadow;
|
|
|
|
text-shadow: 1px 1px 0 $highlight;
|
2019-06-03 03:31:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.scene-row {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0 .5rem;
|
|
|
|
margin: 0 0 .25rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-details {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-site,
|
|
|
|
.scene-date {
|
|
|
|
color: #fff;
|
|
|
|
background: rgba(0, 0, 0, .5);
|
|
|
|
font-size: .8rem;
|
|
|
|
padding: .25rem;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-site {
|
|
|
|
border-radius: 0 0 .25rem 0;
|
2019-07-06 03:29:12 +00:00
|
|
|
font-weight: bold;
|
2019-06-03 03:31:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.scene-date {
|
|
|
|
border-radius: 0 0 0 .25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-info {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-link {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-title {
|
2019-10-29 04:21:51 +00:00
|
|
|
color: $text;
|
2019-06-03 03:31:38 +00:00
|
|
|
margin: 0;
|
|
|
|
font-size: 1rem;
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow: hidden;
|
|
|
|
max-height: 3rem;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-network {
|
|
|
|
color: #555;
|
|
|
|
margin: 0 .25rem 0 0;
|
|
|
|
font-size: .8rem;
|
|
|
|
}
|
|
|
|
|
2019-10-29 04:21:51 +00:00
|
|
|
.scene-actors {
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow: hidden;
|
|
|
|
max-height: 2.5rem;
|
|
|
|
line-height: 1.25rem;
|
|
|
|
}
|
|
|
|
|
2019-06-03 03:31:38 +00:00
|
|
|
.scene-tags {
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow: hidden;
|
|
|
|
max-height: 2.5rem;
|
|
|
|
line-height: 1.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-actor,
|
|
|
|
.scene-tag {
|
|
|
|
margin: 0 .25rem 0 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-actor {
|
|
|
|
font-size: .9rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-tag {
|
|
|
|
font-size: .75rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scene-actor:not(:last-of-type)::after,
|
2019-07-06 03:29:12 +00:00
|
|
|
.scene-tag:not(:last-child):after {
|
2019-06-03 03:31:38 +00:00
|
|
|
content: ",";
|
|
|
|
}
|
|
|
|
|
|
|
|
.actor-link,
|
|
|
|
.tag-link {
|
2019-10-29 04:21:51 +00:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.actor-link {
|
|
|
|
color: $link;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tag-link {
|
|
|
|
color: $shadow-strong;
|
2019-06-03 03:31:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.thumbnail {
|
|
|
|
width: 300px;
|
|
|
|
}
|
|
|
|
</style>
|