ptut-vhost/webpack/component/ue/manage.vue

49 lines
739 B
Vue
Raw Normal View History

<template>
<div id='CONTAINER' class='card'>
2018-03-14 16:43:44 +00:00
<div class='list container'>
<!-- COURS -->
<section
v-for='c in gstore.manage.cours'
data-anim-incoming='1'
:data-anim-bounce='gstore.nav_anim.out?1:0'>
<div :data-prof='c.idProf'>{{ `${c.firstName} ${c.lastName}` || 'blabla' }}</div>
<div>{{ c.volume }}</div>
</section>
<!-- TD -->
<!-- TP -->
<div class='footer'>
<button class='neutral' @click='gstore.nav_out($router)'>Retour</button>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'CONTAINER_VIEW',
data(){
return { gstore: gstore.get }
},
beforeMount(){
gstore.get.manage_load(this.$route.params.code, this.$router);
}
}
</script>