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 table
margin auto margin auto
text-align left text-align left
h2
text-align left
margin-bottom 0
</style> </style>
<script> <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 { body {
line-height: 1.5em line-height: 1.5em;
background-color: white;
} }
.sr-only { .sr-only {
@ -14,9 +15,9 @@ body {
} }
.upper { .upper {
text-transform: capitalize text-transform: capitalize;
} }
.center { .center {
text-align: center text-align: center;
} }

View File

@ -18,21 +18,27 @@
list-style-type none list-style-type none
padding-left 40px padding-left 40px
padding-right 40px padding-right 40px
h2
text-align left
margin-bottom 0
hr hr
border 1px solid black border 1px solid black
</style> </style>
<script> <script>
// NPM imports // NPM imports
import cozySDK from 'cozysdk-client'
import moment from 'moment-timezone' import moment from 'moment-timezone'
// Components imports // Components imports
import eventTypesNav from '../components/eventTypesNav.vue' import eventTypesNav from '../components/eventTypesNav.vue'
import dashboardDay from '../components/dashboardDay.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 { export default {
data () { data () {
return { return {