This commit is contained in:
Lucas Verney 2016-11-07 22:08:33 +00:00
parent 160ade4790
commit 7abed1dbaa
4 changed files with 26 additions and 6 deletions

View File

@ -10,6 +10,10 @@
table
margin auto
text-align left
h2
text-align left
margin-bottom 0
</style>
<script>

9
app/models/RSVP.js Normal file
View File

@ -0,0 +1,9 @@
const RSVP = {
startTime: null,
endTime: null,
members: [],
eventTypeHash: null,
status: null
}
export default RSVP

View File

@ -1,5 +1,6 @@
body {
line-height: 1.5em
line-height: 1.5em;
background-color: white;
}
.sr-only {
@ -14,9 +15,9 @@ body {
}
.upper {
text-transform: capitalize
text-transform: capitalize;
}
.center {
text-align: center
text-align: center;
}

View File

@ -18,21 +18,27 @@
list-style-type none
padding-left 40px
padding-right 40px
h2
text-align left
margin-bottom 0
hr
border 1px solid black
</style>
<script>
// NPM imports
import cozySDK from 'cozysdk-client'
import moment from 'moment-timezone'
// Components imports
import eventTypesNav from '../components/eventTypesNav.vue'
import dashboardDay from '../components/dashboardDay.vue'
cozySDK.defineView('rsvp', 'test', function complexMap(doc) {
emit(doc.docType, doc);
}, err => err && console.log(err));
let promise = cozySDK.queryView('rsvp', 'test', {})
promise.then((res) => {
console.log(res)
})
export default {
data () {
return {