mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-03-30 22:59:13 +08:00
19 lines
295 B
CoffeeScript
19 lines
295 B
CoffeeScript
service = require './service'
|
|
monitor = require './monitor'
|
|
|
|
app.view_hook.menu_bar.push
|
|
href: '/public/monitor/'
|
|
html: '服务器状态'
|
|
|
|
module.exports =
|
|
name: 'linux'
|
|
type: 'service'
|
|
|
|
service: service
|
|
|
|
panel:
|
|
widget: service.widget
|
|
style:'/style/panel.css'
|
|
|
|
monitor.run()
|