luci-proto-openvpn: format openvpn options
authorFlorian Eckert <redacted>
Tue, 3 Mar 2026 12:39:30 +0000 (13:39 +0100)
committerFlorian Eckert <redacted>
Tue, 3 Mar 2026 12:53:51 +0000 (13:53 +0100)
commitb7ad8af90b75d59daf0c98fc802054ff0233f18c
tree4382dc559d487cc41c834ab090b0090d64b780fb
parent6c22e25977f1c8f02e3d66b005866d2ae9d3844d
luci-proto-openvpn: format openvpn options

OpenVPN does have many options. To make it manageable, these options
are created by using a generic template. The necessary information for
the template is  defined for each OpenVpn option in a single line.

This is very confusing and has the following disadvantages.

* Difficult to read, as the lines are very long with line breaks.
* A change in the option causes the entire line to be marked as changed.
  This complicates the review process, as it is not immediately apparent
  what has been changed.

The current format offers no advantage during development, as the code
will be minimised later anyway.

Therefore, this commit reformats the OpenVPN template option to make
the individual elements of the template easier to recognise.

Signed-off-by: Florian Eckert <redacted>
protocols/luci-proto-openvpn/htdocs/luci-static/resources/protocol/openvpn.js
git clone https://git.99rst.org/PROJECT