File tree Expand file tree Collapse file tree 2 files changed +28
-23
lines changed Expand file tree Collapse file tree 2 files changed +28
-23
lines changed Original file line number Diff line number Diff line change 1212 <template v-if =" photos .length == 0 " >
1313 <br >
1414 <h3 >Galleria vuota!</h3 >
15- </template >
16- <template v-else >
17- <v-card >
18- <v-container grid-list-sm fluid >
19- <v-layout row wrap >
20- <v-flex v-for =" n in photos.length" :key =" n" xs3 d-flex >
21- <v-card flat tile class =" d-flex" >
22- <v-layout column >
23- <div class =" subheading" >{{ photos[n-1].name }} <v-btn v-on:click =" deletePhoto(photos[n-1].name)" flat icon color =" red lighten-2" >
24- <v-icon >delete</v-icon >
25- </v-btn >
26- </div >
15+ </template >
16+ <template v-else >
17+ <v-card >
18+ <v-container grid-list-sm fluid >
19+ <v-layout row wrap >
20+ <v-flex v-for =" n in photos.length" :key =" n" xs3 d-flex >
21+ <v-card flat tile class =" d-flex" >
22+ <v-layout column >
23+ <div class =" subheading" >{{ photos[n-1].name }} <v-btn v-on:click =" deletePhoto(photos[n-1].name)" flat icon color =" red lighten-2" >
24+ <v-icon >delete</v-icon >
25+ </v-btn >
26+ </div >
27+ <a :href =" CBv1+'/photos/'+photos[n-1].name" target =" _blank" >
2728 <v-img :src =" CBv1+'/photos/'+photos[n-1].name" aspect-ratio =" 1" class =" grey lighten-2" >
2829 <v-layout slot =" placeholder" fill-height align-center justify-center ma-0 >
2930 <v-progress-circular indeterminate color =" grey lighten-5" ></v-progress-circular >
3031 </v-layout >
3132 </v-img >
32- </v-layout >
33- </v-card >
34- </v-flex >
35- </v-layout >
36- </v-container >
37- </v-card >
38- </template >
33+ </a >
34+ </v-layout >
35+ </v-card >
36+ </v-flex >
37+ </v-layout >
38+ </v-container >
39+ </v-card >
40+ </template >
3941 </v-flex >
4042 </v-layout >
4143 </v-content >
@@ -86,11 +88,13 @@ export default {
8688
8789 </script >
8890<style scoped>
89- .v-card {
91+ .v-card {
9092 margin : 10px ;
9193}
92- .container {
94+
95+ .container {
9396 padding-top : 0px ;
94- margin-top :0px ;
97+ margin-top : 0px ;
9598}
96- </style >
99+
100+ </style >
Original file line number Diff line number Diff line change 3131.v-toolbar__title
3232 font-family : 'Overpass'
3333 font-size : 24px
34+ letter-spacing : 0px
3435
3536.v-tabs__div
3637 font-size : 15px
You can’t perform that action at this time.
0 commit comments