luci-mod-network: fix route defaults 6698/head
authorVladislav Grigoryev <vg.aetera@gmail.com>
Tue, 14 Nov 2023 10:12:42 +0000 (13:12 +0300)
committerVladislav Grigoryev <vg.aetera@gmail.com>
Tue, 14 Nov 2023 10:21:35 +0000 (13:21 +0300)
commita84762e0c9cf5c838c5816890a6b051772905a95
tree39fd81e5b5e2a67f1e4e336ae742001cab2edc68
parent29c12cae59411423eeedb48b014c6d993be744d0
luci-mod-network: fix route defaults

Routes inherit metric and table from the relevant interface.
Display route metric and table as `auto` when unspecified.
Consolidate modal view for unspecified options.

Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js