diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-08-11 23:57:16 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-08-11 23:57:16 +0900 |
| commit | 5d9b5820afcd8525278f7e661a2519c76eedca5f (patch) | |
| tree | 22377f31dd737e6f70f2634ee2ec4af0b86a9253 /src/web/app/status/script.js | |
| parent | Log url when Misskey started (diff) | |
| download | misskey-5d9b5820afcd8525278f7e661a2519c76eedca5f.tar.gz misskey-5d9b5820afcd8525278f7e661a2519c76eedca5f.tar.bz2 misskey-5d9b5820afcd8525278f7e661a2519c76eedca5f.zip | |
status実装
とりあえずCPU使用率だけ
Diffstat (limited to 'src/web/app/status/script.js')
| -rw-r--r-- | src/web/app/status/script.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/web/app/status/script.js b/src/web/app/status/script.js new file mode 100644 index 0000000000..06d4d9a7a4 --- /dev/null +++ b/src/web/app/status/script.js @@ -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)); +} |