mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add type None, API only or Ping only to OMR-Tracker server
This commit is contained in:
parent
cb906c82f4
commit
c36b666666
5 changed files with 38 additions and 7 deletions
|
@ -44,6 +44,13 @@ return view.extend({
|
|||
o.value('offline', _('Offline'));
|
||||
o.modalonly = true;
|
||||
|
||||
o = s.option(form.ListValue, 'type', _('Tracking method'),_('Check if VPS api answer or/and ping server IPs.'));
|
||||
o.default = 'apiping';
|
||||
o.value('apiping',_('API & Ping'));
|
||||
o.value('api',_('API'));
|
||||
o.value('ping',_('Ping'));
|
||||
o.value('none',_('None'));
|
||||
|
||||
o = s.option(form.Flag, 'mail_alert', _('Mail alert'),
|
||||
_('Send a mail when connection status change. You need to configure e-mail settings here.'));
|
||||
o.rmempty = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue