diff --git a/frontend/src/views/CreateTimerecord.vue b/frontend/src/views/CreateTimerecord.vue index f19283e..05e336b 100644 --- a/frontend/src/views/CreateTimerecord.vue +++ b/frontend/src/views/CreateTimerecord.vue @@ -33,7 +33,7 @@ ref="menu" v-model="menu" :close-on-content-click="false" - :return-value.sync="newstartdate" + :nudge-right="40" transition="scale-transition" offset-y min-width="290px" @@ -47,10 +47,8 @@ v-on="on" > - - - Cancel - OK + + @@ -59,7 +57,7 @@ ref="menu2" v-model="menu2" :close-on-content-click="false" - :return-value.sync="newenddate" + :nudge-right="40" transition="scale-transition" offset-y min-width="290px" @@ -73,10 +71,8 @@ v-on="on" > - - - Cancel - OK + + @@ -107,6 +103,7 @@ v-if="menutime" v-model="timestart" full-width + format="24hr" @click:minute="$refs.menutime.save(timestart)" > @@ -136,6 +133,7 @@ v-if="menutime2" v-model="timeend" full-width + format="24hr" @click:minute="$refs.menutime2.save(timeend)" > diff --git a/frontend/src/views/EditTimerecord.vue b/frontend/src/views/EditTimerecord.vue index d5c3453..dce0ca2 100644 --- a/frontend/src/views/EditTimerecord.vue +++ b/frontend/src/views/EditTimerecord.vue @@ -20,7 +20,7 @@ ref="menu" v-model="menu" :close-on-content-click="false" - :return-value.sync="newstartdate" + :nudge-right="40" transition="scale-transition" offset-y min-width="290px" @@ -34,10 +34,8 @@ v-on="on" > - - - Cancel - OK + + @@ -46,7 +44,7 @@ ref="menu2" v-model="menu2" :close-on-content-click="false" - :return-value.sync="newenddate" + :nudge-right="40" transition="scale-transition" offset-y min-width="290px" @@ -60,10 +58,8 @@ v-on="on" > - - - Cancel - OK + + @@ -94,6 +90,7 @@ v-if="menutime" v-model="timestart" full-width + format="24hr" @click:minute="$refs.menutime.save(timestart)" > @@ -123,6 +120,7 @@ v-if="menutime2" v-model="timeend" full-width + format="24hr" @click:minute="$refs.menutime2.save(timeend)" >