Compare commits

..

No commits in common. "ed4bb8e09d646173e82aceaaaf4c2f76aabe86f0" and "044c8c0ce57e55953fae8c2795ef404abe994bee" have entirely different histories.

3 changed files with 20 additions and 47 deletions

4
package-lock.json generated
View File

@ -1,11 +1,11 @@
{ {
"name": "traxxx-web", "name": "traxxx-web",
"version": "0.23.11", "version": "0.23.10",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"version": "0.23.11", "version": "0.23.10",
"dependencies": { "dependencies": {
"@brillout/json-serializer": "^0.5.8", "@brillout/json-serializer": "^0.5.8",
"@dicebear/collection": "^7.0.5", "@dicebear/collection": "^7.0.5",

View File

@ -77,5 +77,5 @@
"postcss-custom-media": "^10.0.2", "postcss-custom-media": "^10.0.2",
"postcss-nesting": "^12.0.2" "postcss-nesting": "^12.0.2"
}, },
"version": "0.23.11" "version": "0.23.10"
} }

View File

@ -134,19 +134,17 @@
/> />
<div class="view"> <div class="view">
<!--
<button <button
v-if="scene.photos.length > 0" v-if="scene.photos.length > 0"
class="button view nolink" class="button view nolink"
>View photos</button> >View photos</button>
-->
<Link <Link
v-if="scene.url" v-if="scene.url"
:href="scene.url" :href="scene.url"
target="_blank" target="_blank"
class="button button-primary watch nolink" class="button button-primary watch nolink"
>Watch full video</Link> >Watch scene</Link>
</div> </div>
</div> </div>
</div> </div>
@ -247,23 +245,18 @@
class="detail" class="detail"
> >
<h3 class="heading">Quality</h3> <h3 class="heading">Quality</h3>
{{ scene.qualities.map((quality) => `${quality}p`).join(', ') }}
<template v-if="qualities[scene.qualities[0]]">{{ qualities[scene.qualities[0]] }} ({{ scene.qualities[0] }}p)</template>
<template v-else>{{ scene.qualities[0] }}p</template>
</div> </div>
</div> </div>
<div class="section details"> <div class="section details">
<div class="detail"> <div class="detail">
<h3 class="heading">Added</h3> <h3 class="heading">Added</h3>
<span class="added-date">{{ formatDate(scene.createdAt, 'yyyy-MM-dd') }}</span>
<span> <span
<span class="added-date">{{ formatDate(scene.createdAt, 'yyyy-MM-dd') }}</span> :title="`Batch ${scene.createdBatchId}`"
<span class="added-batch"
:title="`Batch ${scene.createdBatchId}`" >#{{ scene.createdBatchId }}</span>
class="added-batch"
>#{{ scene.createdBatchId }}</span>
</span>
</div> </div>
<div <div
@ -321,17 +314,6 @@ const { scene } = pageProps;
const playing = ref(false); const playing = ref(false);
const paused = ref(false); const paused = ref(false);
const qualities = {
2160: '4K',
1440: 'Quad HD',
1080: 'Full HD',
720: 'HD',
576: 'PAL VHS',
540: 'qHD',
480: 'VGA',
360: 'nHD',
};
const poster = computed(() => { const poster = computed(() => {
if (scene.poster) { if (scene.poster) {
return getPath(scene.poster, 'thumbnail'); return getPath(scene.poster, 'thumbnail');
@ -578,13 +560,13 @@ function copySummary() {
.header { .header {
display: flex; display: flex;
align-items: center; align-items: flex-start;
justify-content: space-between; justify-content: space-between;
padding: 1rem .5rem 1rem .5rem; padding: 1rem .5rem .5rem .5rem;
} }
.title { .title {
margin: .25rem .5rem .5rem 0; margin: 0 .5rem 1rem 0;
line-height: 1.25; line-height: 1.25;
display: -webkit-box; display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
@ -620,11 +602,12 @@ function copySummary() {
display: flex; display: flex;
} }
.watch.button { /*
padding: .75rem 2rem; .watch {
margin-left: .25rem; background: var(--primary);
font-size: 1rem; color: var(--text-light);
} }
*/
.actors, .actors,
.tags { .tags {
@ -680,12 +663,6 @@ function copySummary() {
.details { .details {
display: flex; display: flex;
gap: 1rem 1.5rem; gap: 1rem 1.5rem;
flex-wrap: wrap;
}
.detail {
display: flex;
flex-direction: column;
} }
.description { .description {
@ -751,7 +728,7 @@ function copySummary() {
.actions { .actions {
width: 100%; width: 100%;
justify-content: space-between; justify-content: space-between;
margin-bottom: 1.25rem; margin-bottom: 1.5rem;
} }
.title { .title {
@ -794,11 +771,7 @@ function copySummary() {
} }
.header { .header {
padding: 1rem .5rem .5rem .5rem; padding: 1rem .5rem 1.5rem .5rem;
}
.title {
margin-left: 1.5rem;
} }
.info { .info {