status実装

とりあえずCPU使用率だけ
This commit is contained in:
syuilo 2017-08-11 23:57:16 +09:00
parent 598d6f7593
commit 5d9b5820af
10 changed files with 188 additions and 6 deletions

View file

@ -0,0 +1,23 @@
/**
* Status
*/
// Style
import './style.styl';
import * as riot from 'riot';
require('./tags');
import init from '../init';
document.title = 'Misskey System Status';
/**
* init
*/
init(me => {
mount(document.createElement('mk-index'));
});
function mount(content) {
riot.mount(document.getElementById('app').appendChild(content));
}