2016-10-27 04:03:55 +11:00
|
|
|
<template>
|
|
|
|
<div class="timeline">
|
2016-10-29 00:40:13 +11:00
|
|
|
<a href="#" v-on:click.prevent='showNewStatuses()' v-if="timeline.newStatusCount > 0">
|
2017-01-16 01:44:56 +11:00
|
|
|
<div class="base01-background base05-border new-status-notification">
|
2016-10-29 00:40:13 +11:00
|
|
|
<p class="text-center" >
|
|
|
|
{{timeline.newStatusCount}} new statuses
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
2017-02-04 23:53:16 +11:00
|
|
|
<status-or-conversation v-for="status in timeline.visibleStatuses" :key="status.id" v-bind:statusoid="status"></status-or-conversation>
|
2016-11-07 03:44:05 +11:00
|
|
|
<a href="#" v-on:click.prevent='fetchOlderStatuses()' v-if="!timeline.loading">
|
2017-01-16 01:44:56 +11:00
|
|
|
<div class="base01-background base05-border new-status-notification">
|
2016-11-07 03:44:05 +11:00
|
|
|
<p class="text-center" >
|
|
|
|
Load older statuses.
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</a>
|
2016-10-27 04:03:55 +11:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
<script src="./timeline.js"></script>
|
2017-01-16 01:44:56 +11:00
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
.new-status-notification {
|
|
|
|
border-style: solid;
|
2017-01-16 01:53:55 +11:00
|
|
|
border-width: 1px 0 1px 0;
|
2017-01-16 01:44:56 +11:00
|
|
|
font-size: 1.1em;
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0px;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|