From 7c273a8bcab2da87acb3431448a53e91e360d5eb Mon Sep 17 00:00:00 2001
From: Udo Walter
Date: Sun, 19 Jan 2020 21:18:15 +0000
Subject: [webapp] upgrade/migration from vuetify 1.5 to 2.X still TODO: switch
 from old grid system (v-layout/v-flex) to the new one (v-row/v-col)

---
 webapp/src/components/EventModuleEdit.vue | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

(limited to 'webapp/src/components/EventModuleEdit.vue')

diff --git a/webapp/src/components/EventModuleEdit.vue b/webapp/src/components/EventModuleEdit.vue
index 4bda15f..c079ee5 100644
--- a/webapp/src/components/EventModuleEdit.vue
+++ b/webapp/src/components/EventModuleEdit.vue
@@ -146,7 +146,7 @@
         <v-stepper v-model="step" horizontal style="width: 100%; background: transparent" class="elevation-0">
           <v-stepper-items>
             <v-stepper-content step="1">
-              <v-layout row wrap>
+              <v-layout wrap>
                 <v-flex xs12 md5>
                   <v-text-field
                     :value="name"
@@ -197,13 +197,12 @@
                   ></v-checkbox>
                 </v-flex>
               </v-layout>
-              <v-layout row wrap class="tutorial-element label-right tutorial-border" style="--label-number: '4'">
+              <v-layout wrap class="tutorial-element label-right tutorial-border" style="--label-number: '4'">
                 <v-flex xs12 md5>
                   <v-menu
                     v-model="startDateMenu"
                     transition="scale-transition"
                     :close-on-content-click="false"
-                    lazy
                     offset-y
                     full-width
                     min-width="290px"
@@ -225,7 +224,6 @@
                     v-model="endDateMenu"
                     transition="scale-transition"
                     :close-on-content-click="false"
-                    lazy
                     offset-y
                     full-width
                     min-width="290px"
@@ -247,7 +245,6 @@
                     v-model="startTimeMenu"
                     transition="scale-transition"
                     :close-on-content-click="false"
-                    lazy
                     offset-y
                     full-width
                     max-width="290px"
@@ -278,7 +275,6 @@
                     v-model="endTimeMenu"
                     transition="scale-transition"
                     :close-on-content-click="false"
-                    lazy
                     offset-y
                     full-width
                     max-width="290px"
@@ -306,12 +302,12 @@
                   </v-menu>
                 </v-flex>
               </v-layout>
-              <v-layout row wrap>
+              <v-layout wrap>
                 <v-flex>
                   <v-switch color="primary" v-model="repetitiveEvent" :label="$t('repetitiveModeSwitch')" class="tutorial-element tutorial-no-border label-left tutorial-switch" style="--label-number: '5';"/>
                 </v-flex>
               </v-layout>
-              <v-layout row wrap v-show="repetitiveEvent" class="">
+              <v-layout wrap v-show="repetitiveEvent" class="">
                 <v-flex xs12 md12>
                   <p class="tutorial-element tutorial-no-border tutorial-label label-right" style="margin-bottom: 0px; --label-number: '1'">{{ $t('days') }}</p>
                     <v-btn small class="no-margin" :color="dayMap[0] ? 'primary' : ''" @click="setDayMap(0)">{{ $t('monday') }}</v-btn>
@@ -388,7 +384,7 @@
     <v-divider></v-divider>
     <v-card-actions>
       <v-spacer></v-spacer>
-      <v-btn flat @click.native="$store.commit('events/setDialog', { show : false } )">{{ $t('cancel') }}</v-btn>
+      <v-btn text @click.native="$store.commit('events/setDialog', { show : false } )">{{ $t('cancel') }}</v-btn>
       <v-btn :color="dialog.info.id ? 'primary' : 'success'" @click="submit" type="submit">{{ dialog.info.id ? $t('save') : $t('create') }}</v-btn>
       <v-btn color="primary" v-show="step == 1" @click.native="completeStepOne()">{{ $t('continue') }}</v-btn>
       <v-btn color="primary" v-show="step == 2 && groups.length > 0" @click.native="completeStepTwo()">{{ $t('continue') }}</v-btn>
-- 
cgit v1.2.3-55-g7522

