File tree Expand file tree Collapse file tree 1 file changed +33
-17
lines changed
client/src/components/apps Expand file tree Collapse file tree 1 file changed +33
-17
lines changed Original file line number Diff line number Diff line change 47
47
48
48
49
49
</v-col >
50
- </v-row >
51
50
52
- <v-row >
51
+ <v-col
52
+ cols =" 12"
53
+ md =" 3" >
53
54
<v-dialog
54
55
v-model =" dialog"
55
56
persistent
56
57
max-width =" 600px"
57
58
>
58
59
<template v-slot :activator =" { props } " v-if =" showButtons " >
59
-
60
- < v-col cols = " 12 " >
61
- < v-btn
62
- elevation = " 2 "
63
- icon
64
- small
65
- v-bind = " props "
66
- @click = " openNewDialog() "
67
- >
68
- < v-icon dark >
69
- mdi-plus
70
- </v-icon >
71
- </ v-btn >
72
- </v-col >
60
+ < v-card
61
+ color = " cardBackground "
62
+ variant = " flat "
63
+ class = " d-flex flex-column align-center justify-center add-addon-card "
64
+ style = " height : 198.08 px ; cursor : pointer ; border : 2 px dashed rgb ( var ( --v-theme-primary ), 0.25 ); transition : border-color 0.2 s ; "
65
+ v-bind = " props "
66
+ @click = " openNewDialog() "
67
+
68
+ >
69
+ < v-avatar size = " 57 " rounded class = " bg-primary-lighten-2 mb-2 " style = " background-color : rgb ( var ( --v-theme-secondary )); " >
70
+ < v-icon size = " 36 " > mdi-plus</ v-icon >
71
+ </v-avatar >
72
+ < span class = " text-subtitle-1 font-weight-medium mt-2 text-primary " >Add Addon</ span >
73
+ </v-card >
73
74
</template >
74
75
<v-card >
76
+ <v-card-title v-if =" mode==='create'" >
77
+ <span class =" text-h5" >Addon</span >
78
+ </v-card-title >
79
+ <v-card-title v-if =" mode==='edit'" >
80
+ <v-container class =" pb-0" >
81
+ <v-avatar
82
+ size =" 50"
83
+ rounded
84
+ :image =" selectedAddon.icon"
85
+ :alt =" selectedAddon.displayName"
86
+ ></v-avatar >
87
+ <span class =" text-h5 ml-4" >{{ selectedAddon.displayName }}</span >
88
+ </v-container >
89
+ </v-card-title >
75
90
<v-card-text >
76
- <v-container >
91
+ <v-container class = " pt-0 " >
77
92
<v-row >
78
93
<v-col cols =" 12" >
79
94
<v-select
192
207
</v-card-actions >
193
208
</v-card >
194
209
</v-dialog >
210
+ </v-col >
195
211
</v-row >
196
212
</v-form >
197
213
</template >
You can’t perform that action at this time.
0 commit comments