Merge pull request #4596 from mikma/routes-proto

luci-mod-status: routes.js: add route protocol
This commit is contained in:
Jo-Philipp Wich 2020-11-18 17:11:30 +01:00 committed by GitHub
commit 61c2361170
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,8 @@ return view.extend({
dest,
(v6 ? flags.from : flags.via) || '-',
String(flags.metric || 0),
flags.table || 'main'
flags.table || 'main',
flags.proto,
]);
}
@ -163,7 +164,8 @@ return view.extend({
E('div', { 'class': 'th' }, [ _('Target') ]),
E('div', { 'class': 'th' }, [ _('IPv4-Gateway') ]),
E('div', { 'class': 'th' }, [ _('Metric') ]),
E('div', { 'class': 'th' }, [ _('Table') ])
E('div', { 'class': 'th' }, [ _('Table') ]),
E('div', { 'class': 'th' }, [ _('Protocol') ]),
])
]);
@ -181,7 +183,8 @@ return view.extend({
E('div', { 'class': 'th' }, [ _('Target') ]),
E('div', { 'class': 'th' }, [ _('Source') ]),
E('div', { 'class': 'th' }, [ _('Metric') ]),
E('div', { 'class': 'th' }, [ _('Table') ])
E('div', { 'class': 'th' }, [ _('Table') ]),
E('div', { 'class': 'th' }, [ _('Protocol') ]),
])
]);