52 lines
1.0 KiB
Vue
52 lines
1.0 KiB
Vue
<template lang="pug">
|
|
div
|
|
router-link() // TODO: History back
|
|
|
|
h1
|
|
color-span(v-bind:color="eventType.color")
|
|
| {{ eventType.length }} minutes meeting
|
|
| with 
|
|
a(v-bind:href="'mailto:' + owner.email") {{ owner.name }}
|
|
|
|
router-view
|
|
</template>
|
|
|
|
<style lang="stylus" scoped>
|
|
h1
|
|
display inline-block
|
|
</style>
|
|
|
|
<script>
|
|
import colorSpan from '../components/colorSpan.vue'
|
|
|
|
export default {
|
|
data () {
|
|
return {
|
|
eventType: {
|
|
hash: "15toto",
|
|
length: 15,
|
|
color: "yellow"
|
|
},
|
|
owner: {
|
|
name: "Phyks",
|
|
email: "phyks@example.com"
|
|
},
|
|
availableSlotsPerDay: {
|
|
"06-11-2016": [
|
|
],
|
|
"07-11-2016": [
|
|
],
|
|
"08-11-2016": [
|
|
],
|
|
"10-11-2016": [
|
|
]
|
|
}
|
|
}
|
|
},
|
|
|
|
components: {
|
|
colorSpan
|
|
}
|
|
}
|
|
</script>
|