yandere_fe/src/components/timeline/timeline.vue

20 lines
511 B
Vue
Raw Normal View History

2016-10-26 10:03:55 -07:00
<template>
<div class="timeline">
2016-10-28 06:40:13 -07:00
<a href="#" v-on:click.prevent='showNewStatuses()' v-if="timeline.newStatusCount > 0">
<div class="new-status-notification">
<p class="text-center" >
{{timeline.newStatusCount}} new statuses
</p>
</div>
</a>
2016-11-03 08:59:06 -07:00
<status v-for="status in timeline.visibleStatuses" :key="status.id" v-bind:statusoid="status"></status>
2016-10-26 10:03:55 -07:00
</div>
</template>
<script src="./timeline.js"></script>
2016-10-28 16:38:41 -07:00
<style>
.timeline.panel {
flex: 1;
}
</style>