File tree Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Expand file tree Collapse file tree 2 files changed +11
-13
lines changed Original file line number Diff line number Diff line change 50
50
<v-progress-circular :size =" 30" :width =" 2" indeterminate ></v-progress-circular >
51
51
</v-btn >
52
52
</template >
53
+ <!--
53
54
<v-btn @click="dialog = true" icon v-if="status == 200">
54
55
<v-icon>check_circle</v-icon>
55
56
</v-btn>
56
- <v-btn @click =" dialog = true" icon v-else >
57
+ -->
58
+ <v-btn @click =" dialog = true" icon v-if =" status != 200" >
57
59
<v-icon >error</v-icon >
58
60
</v-btn >
59
61
</v-toolbar-items >
Original file line number Diff line number Diff line change 6
6
<v-toolbar-title >CoderBot</v-toolbar-title >
7
7
<v-spacer ></v-spacer >
8
8
<v-toolbar-items >
9
+ <!--
9
10
<template v-if="status == 200">
10
11
<v-btn @click="dialog = true" icon>
11
12
<v-icon>check_circle</v-icon>
12
13
</v-btn>
13
14
</template>
14
- <template v-else >
15
+ -->
16
+ <template v-if =" status != 200 " >
15
17
<v-btn flat >
16
18
<v-progress-circular :size =" 30" :width =" 2" indeterminate ></v-progress-circular >
17
19
</v-btn >
61
63
<v-flex xs12 sm12 >
62
64
<br ><br ><br >
63
65
<v-btn-toggle >
64
-
65
66
<v-btn large color =" blue-grey darken-4" class =" white--text" v-on:click =" say()" >
66
67
Pronuncia
67
68
<v-icon dark >chat_bubble_outline</v-icon >
68
69
</v-btn >
69
70
</v-btn-toggle >
70
71
</v-flex >
71
72
<v-flex xs12 sm12 >
72
-
73
73
<v-btn-toggle >
74
-
75
74
<v-btn large color =" blue-grey darken-4" class =" white--text" v-on:click =" takePhoto()" >
76
75
Scatta foto
77
76
<v-icon dark >camera_alt</v-icon >
78
77
</v-btn >
79
78
</v-btn-toggle >
80
79
</v-flex >
81
-
82
80
<v-flex xs12 sm12 >
83
81
<v-btn-toggle >
84
-
85
82
<v-btn large color =" blue-grey darken-4" class =" white--text" v-on:click =" recordVideo()" >
86
83
Registra video
87
84
<v-icon dark >videocam</v-icon >
90
87
</v-flex >
91
88
<v-flex xs12 sm12 >
92
89
<v-btn-toggle >
93
-
94
90
<v-btn large color =" blue-grey darken-4" class =" white--text" v-on:click =" showGallery()" >
95
91
Galleria
96
92
<v-icon dark >photo_library</v-icon >
97
93
</v-btn >
98
94
</v-btn-toggle >
99
- </v-flex >
95
+ </v-flex >
100
96
</v-layout >
101
97
</v-flex >
102
98
</v-layout >
@@ -124,10 +120,10 @@ export default {
124
120
components: { sidebar },
125
121
name: ' HelloWorld' ,
126
122
methods: {
127
- say (){},
128
- takePhoto (){},
129
- recordVideo (){},
130
- showGallery (){},
123
+ say () {},
124
+ takePhoto () {},
125
+ recordVideo () {},
126
+ showGallery () {},
131
127
pollStatus () {
132
128
let axios = this .$axios
133
129
let CB = this .$data .CB
You can’t perform that action at this time.
0 commit comments