Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
a34fdc2068 | |||
2c2cd893b8 | |||
a43b0548ed | |||
93e95f56f4 |
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"name": "misskey",
|
"name": "misskey",
|
||||||
"author": "syuilo <i@syuilo.com>",
|
"author": "syuilo <i@syuilo.com>",
|
||||||
"version": "10.51.0",
|
"version": "10.51.2",
|
||||||
"clientVersion": "2.0.11800",
|
"clientVersion": "2.0.11804",
|
||||||
"codename": "nighthike",
|
"codename": "nighthike",
|
||||||
"main": "./built/index.js",
|
"main": "./built/index.js",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
@ -37,8 +37,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<main>
|
<main>
|
||||||
<marquee-text v-if="instances.length > 0" class="instances" :repeat="10" :duration="10">
|
<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>
|
||||||
@ -103,7 +105,9 @@ export default Vue.extend({
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.$root.api('instances').then(instances => {
|
this.$root.api('instances', {
|
||||||
|
sort: '+notes'
|
||||||
|
}).then(instances => {
|
||||||
instances.forEach(i => {
|
instances.forEach(i => {
|
||||||
i.bg = randomColor({
|
i.bg = randomColor({
|
||||||
seed: i.host,
|
seed: i.host,
|
||||||
@ -284,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
|
||||||
|
Reference in New Issue
Block a user