forked from Ysurac/openmptcprouter-feeds
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
110 additions
and
32 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
luci-app-openmptcprouter/htdocs/luci-static/resources/view/system/led-trigger/proxy.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
'use strict'; | ||
'require baseclass'; | ||
'require form'; | ||
|
||
return baseclass.extend({ | ||
trigger: _('Proxy status (service: proxy)'), | ||
kernel: false, | ||
addFormOptions: function(s){ | ||
var o; | ||
|
||
o = s.option(form.ListValue, 'proxy_status', _('Proxy Status')); | ||
o.rmempty = true; | ||
o.modalonly = true; | ||
o.value('up', _('Up')); | ||
o.value('down', _('Down')); | ||
o.depends('trigger','proxy'); | ||
} | ||
}); |
18 changes: 18 additions & 0 deletions
18
luci-app-openmptcprouter/htdocs/luci-static/resources/view/system/led-trigger/vpn.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
'use strict'; | ||
'require baseclass'; | ||
'require form'; | ||
|
||
return baseclass.extend({ | ||
trigger: _('VPN status (service: vpn)'), | ||
kernel: false, | ||
addFormOptions: function(s){ | ||
var o; | ||
|
||
o = s.option(form.ListValue, 'vpn_status', _('VPN Status')); | ||
o.rmempty = true; | ||
o.modalonly = true; | ||
o.value('up', _('Up')); | ||
o.value('down', _('Down')); | ||
o.depends('trigger','vpn'); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
tinker panic 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters