mirror of
https://github.com/HackPlan/RootPanel.git
synced 2026-03-30 06:54:42 +08:00
rename
This commit is contained in:
12
plugin/0ssh/action.coffee
Normal file
12
plugin/0ssh/action.coffee
Normal file
@@ -0,0 +1,12 @@
|
||||
module.exports =
|
||||
update_passwd:
|
||||
mode: 'custom'
|
||||
callback: ->
|
||||
|
||||
killall:
|
||||
mode: 'alert'
|
||||
callback: ->
|
||||
|
||||
resetPermission:
|
||||
mode: 'alert'
|
||||
callback: ->
|
||||
27
plugin/0ssh/index.coffee
Normal file
27
plugin/0ssh/index.coffee
Normal file
@@ -0,0 +1,27 @@
|
||||
action = require './action'
|
||||
service = require './service'
|
||||
monitor = require './monitor'
|
||||
|
||||
module.exports =
|
||||
name: '0ssh'
|
||||
type: 'service'
|
||||
version: '0.1.0'
|
||||
|
||||
action: action
|
||||
|
||||
service: service
|
||||
|
||||
static: './static'
|
||||
|
||||
inject:
|
||||
script: [
|
||||
'panel'
|
||||
]
|
||||
|
||||
resources: [
|
||||
'disk'
|
||||
]
|
||||
|
||||
monitor: [
|
||||
{interval: '6h', callback: monitor.disk}
|
||||
]
|
||||
1
plugin/0ssh/monitor.coffee
Normal file
1
plugin/0ssh/monitor.coffee
Normal file
@@ -0,0 +1 @@
|
||||
exports.disk = ->
|
||||
6
plugin/0ssh/service.coffee
Normal file
6
plugin/0ssh/service.coffee
Normal file
@@ -0,0 +1,6 @@
|
||||
exports.enable = ->
|
||||
|
||||
exports.pause = ->
|
||||
|
||||
exports.delete = ->
|
||||
|
||||
0
plugin/0ssh/static/panel.coffee
Normal file
0
plugin/0ssh/static/panel.coffee
Normal file
0
plugin/0ssh/view/modal/update_passwd.jade
Normal file
0
plugin/0ssh/view/modal/update_passwd.jade
Normal file
Reference in New Issue
Block a user