luci/themes/luci-theme-openwrt
Chen Minqiang 7a47df9f07 luci-theme-*: set mediaurlbase if it is the first time to be installed
If we build multi-themes into firmware, each of them set itself
to be the default theme, what theme should it be?

To make it clear, we only set mediaurlbase if the theme is the
first time to be installed/built-in.

This resolve the issue that theme always change to somewhat default
after upgrading the firmware even with a config-keep-upgrade

Signed-off-by: Chen Minqiang <ptpt52@gmail.com>
(backported from commit fc150636b9)
2020-05-07 19:40:49 +02:00
..
htdocs/luci-static/openwrt.org luci-theme-openwrt: work around cssmin bug breaking the minified CSS. 2020-05-07 19:40:49 +02:00
luasrc/view/themes/openwrt.org themes: generalize indicator markup and styling 2020-05-07 19:40:49 +02:00
root/etc/uci-defaults luci-theme-*: set mediaurlbase if it is the first time to be installed 2020-05-07 19:40:49 +02:00
Makefile Rework LuCI build system 2015-01-08 16:26:20 +01:00