File tree 1 file changed +11
-5
lines changed
docs/src/.vuepress/components
1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" cron-demo" >
3
- <p >Flavor</p >
3
+ <p class = " pb-1 " >Flavor</p >
4
4
<v-select
5
5
v-model =" flavor"
6
6
:items =" flavors"
9
9
return-object >
10
10
</v-select >
11
11
12
- <p >Locale</p >
12
+ <p class = " pb-1 " >Locale</p >
13
13
<v-select v-model =" locale" :items =" locales" item-title =" name" >
14
14
<template #item =" { item , props } " >
15
15
<v-list-item v-bind =" props" :subtitle =" 'locale: '+item.value" ></v-list-item >
16
16
</template >
17
17
</v-select >
18
18
19
- <p >Format</p >
19
+ <p class = " pb-1 " >Format</p >
20
20
<v-btn-toggle
21
21
v-model =" format"
22
22
tile
26
26
class =" mb-5 elevation-5" >
27
27
28
28
<v-btn v-for =" item in formats" :value =" item" :key =" item" >
29
- {{item}}
29
+ {{ item.value }}
30
30
</v-btn >
31
31
32
32
</v-btn-toggle >
33
33
34
+ <p >{{ format.value }} documentation: <a :href =" format.docs" >{{ format.docs }}</a ></p >
35
+
34
36
<v-switch v-model =" disabled" color =" secondary" label =" Disabled" ></v-switch >
35
37
36
38
<iframe :src =" src" ></iframe >
@@ -125,7 +127,11 @@ export default {
125
127
]
126
128
locales .sort ((a , b ) => a .name .localeCompare (b .name ))
127
129
128
- const formats = [' crontab' , ' quartz' ]
130
+ const formats = [
131
+ {value: ' crontab' , docs: ' https://man7.org/linux/man-pages/man5/crontab.5.html' },
132
+ {value: ' quartz' , docs: ' https://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/crontrigger.html' },
133
+ {value: ' spring' , docs: ' https://spring.io/blog/2020/11/10/new-in-spring-5-3-improved-cron-expressions' },
134
+ ]
129
135
130
136
const flavor = ref (flavors[0 ])
131
137
const locale = ref (' en' )
You can’t perform that action at this time.
0 commit comments