treewide: rework uci change display
authorJo-Philipp Wich <jo@mein.io>
Sat, 4 Aug 2018 20:09:49 +0000 (22:09 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sun, 20 Jan 2019 11:28:39 +0000 (12:28 +0100)
commita11f4ac2eb6134e8ca71a3e66bd611263cc9cc1a
treecf2e68fe6765e89b47102d21bb6df9b8d57b82d9
parentf1a5b179dd6f0d1cf91a47f4e7ff13759de9cf8f
treewide: rework uci change display

 - Use native rpcd uci changes format instead of incompletely converting
   back and forth between the old and the new format
 - Rework uci changelog template to print the equivalent uci commands
   for the various changes
 - Rework theme headers to properly count the uncomitted changes
 - Rework theme CSS to properly style new changelog

Fixes: #2170

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 849d153851db2fc193c1c82648dbe719463d3a38)
modules/luci-base/luasrc/model/uci.lua
modules/luci-mod-admin-full/luasrc/view/admin_uci/changelog.htm
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm
themes/luci-theme-material/luasrc/view/themes/material/header.htm
themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
themes/luci-theme-openwrt/luasrc/view/themes/openwrt.org/header.htm