<template>

	<div id='CONTAINER' class='card'>

		<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>