This commit is contained in:
syuilo 2018-11-15 07:03:46 +09:00
parent a43b0548ed
commit 2c2cd893b8
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -37,8 +37,10 @@
</div> </div>
</nav> </nav>
<main> <main>
<marquee-text v-if="instances.length > 0" class="instances" :repeat="10" :duration="20"> <marquee-text v-if="instances.length > 0" class="instances" :repeat="10" :duration="30">
<span v-for="instance in instances" class="instance"><b :style="{ background: instance.bg }">{{ instance.host }}</b>{{ instance.notesCount | number }}</span> <span v-for="instance in instances" class="instance">
<b :style="{ background: instance.bg }">{{ instance.host }}</b>{{ instance.notesCount | number }} / {{ instance.usersCount | number }}
</span>
</marquee-text> </marquee-text>
<div class="page"> <div class="page">
<div v-if="page == 'dashboard'"><x-dashboard/></div> <div v-if="page == 'dashboard'"><x-dashboard/></div>
@ -286,10 +288,10 @@ export default Vue.extend({
padding 0 0 0 250px padding 0 0 0 250px
> .instances > .instances
padding 8px padding 10px
background rgba(0, 0, 0, 0.7) background #000
color #fff color #fff
font-size 14px font-size 13px
>>> .instance >>> .instance
margin 0 10px margin 0 10px