1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-07-26 10:39:46 +02:00

new wvnc app

This commit is contained in:
Xuan Sang LE
2018-09-17 19:43:24 +02:00
parent c9c50df4f4
commit 467a36b531
11 changed files with 208 additions and 19 deletions

View File

@ -3,7 +3,7 @@ BaseController:subclass("MarkOnController", {
})
function MarkOnController:index( ... )
self.template:set("jsclass", "MarkOn")
self.template:set("args", "['MarkOn']")
return true
end

View File

@ -0,0 +1,13 @@
BaseController:subclass("WvncController", {
registry = {}
})
function WvncController:index( ... )
self.template:set("args", "['WVNC', 'wss://localhost:9195/wvnc']")
return true
end
function WvncController:actionnotfound(...)
self.template:setView("index")
return self:index(table.unpack({...}))
end