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 4747
4848
4949 </v-col >
50- </v-row >
5150
52- <v-row >
51+ <v-col
52+ cols =" 12"
53+ md =" 3" >
5354 <v-dialog
5455 v-model =" dialog"
5556 persistent
5657 max-width =" 600px"
5758 >
5859 <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 >
7374 </template >
7475 <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 >
7590 <v-card-text >
76- <v-container >
91+ <v-container class = " pt-0 " >
7792 <v-row >
7893 <v-col cols =" 12" >
7994 <v-select
192207 </v-card-actions >
193208 </v-card >
194209 </v-dialog >
210+ </v-col >
195211 </v-row >
196212 </v-form >
197213</template >
You can’t perform that action at this time.
0 commit comments