aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/UploadDetail.vue
diff options
context:
space:
mode:
authorArne Schauf <git@asw.io>2018-03-03 19:11:16 +0100
committerArne Schauf <git@asw.io>2018-03-03 19:11:16 +0100
commit287107ecd044fc924ac6d80b33e98297111a31ee (patch)
treecbc8beadb3651e00e2a3eca78c58d1ae8d2d4098 /src/pages/UploadDetail.vue
parent351c4b24387c9d7198cb79f5595f963608e17ded (diff)
downloadparry-ui-287107ecd044fc924ac6d80b33e98297111a31ee.tar.gz
parry-ui-287107ecd044fc924ac6d80b33e98297111a31ee.zip
another change of the layout
Diffstat (limited to 'src/pages/UploadDetail.vue')
-rw-r--r--src/pages/UploadDetail.vue12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/pages/UploadDetail.vue b/src/pages/UploadDetail.vue
index 4967283..53de013 100644
--- a/src/pages/UploadDetail.vue
+++ b/src/pages/UploadDetail.vue
@@ -1,15 +1,17 @@
<template>
<div>
- <p class="text-right">
- <q-btn @click="$router.push({name: 'upload-list'})" outline icon-right="fa-times" label="Close" />
- </p>
<div v-if="upload">
<q-card>
<q-card-media v-if="upload.pic" overlay-position="top">
<q-card-title slot="overlay">
{{ upload.title }}
- <span slot="subtitle">by {{ upload.author.username }}</span>
- <span slot="right" class="text-white" style="margin-left: 3rem">updated {{ upload.updatedAt | moment("from") }}</span>
+ <span slot="subtitle">
+ by {{ upload.author.username }},
+ updated {{ upload.updatedAt | moment("from") }}
+ </span>
+ <span slot="right" class="text-white" style="margin-left: 3rem">
+ <q-btn @click="$router.push({name: 'upload-list'})" flat round icon="fa-times" color="negative"/>
+ </span>
</q-card-title>
<img :src="`${$http.defaults.baseURL}/media/${upload.pic._id}`">
</q-card-media>