luci-mod-system: implement system.description, system.notes
authorHenrique de Moraes Holschuh <henrique@nic.br>
Mon, 1 Mar 2021 16:18:00 +0000 (13:18 -0300)
committerHannu Nyman <hannu.nyman@iki.fi>
Tue, 6 Apr 2021 20:20:26 +0000 (23:20 +0300)
commit80a1a9a555fd47f1fd3311cd75be3923839edc1d
tree7a10ad7a40700d5c0c3951b234aa0a4d33bb49e0
parent3561927effcfa01ff5e27efc335797244a8d584c
luci-mod-system: implement system.description, system.notes

Implement two new text "options" for UCI system config, intended to
help humans describe the device.

"system.description" is a short, single-line description suitable for
selector UIs in remote administration applications, or remote UCI (over
ubus RPC), etc.  It would also be suitable as a default for LLDP/SNMP
"system description".

"system.notes" is a multi-line, free-form text field that can be used in
any way the user wishes, e.g. to hold installation notes, or unit serial
number and inventory number, location, etc.

Signed-off-by: Henrique de Moraes Holschuh <henrique@nic.br>
modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js