diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-11-18 17:11:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 17:11:30 +0100 |
commit | 61c23611705de4de2ef06ee35e10b9c760d12647 (patch) | |
tree | 282801af41f5a514eff0f8e4db6d6e36d51ba77e | |
parent | ceae469a193d54103820d2bf1f599b8f0a26c363 (diff) | |
parent | 4799fcead6336fa158b79317f7c7f92180d98f9d (diff) |
Merge pull request #4596 from mikma/routes-proto
luci-mod-status: routes.js: add route protocol
-rw-r--r-- | modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js index 5da5d403b1..fa2315fb55 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/routes.js @@ -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') ]), ]) ]); |