summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/www
AgeCommit message (Collapse)Author
2024-02-17luci-base: extend Expires directive to prevent cachingAndre Heider
Some browsers apparently act on fixed dates only, so add that too. Tested on firefox. Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-09-17proper cache control in firefoxDaniel Kucera
Added more meta headers to ensure proper cache control in Firefox. Before this patch, the `/` url hasn't even been requested when opened in Firefox. Signed-off-by: Daniel Kucera <daniel.kucera@gmail.com>
2021-11-16luci-base: apply Browser/OS dark mode preference to index redirect pageJo-Philipp Wich
Turn white body, black link into black body, white link if the Browser/OS indicates dark mode preference. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-16luci-base: remove hardcoded cgi-bin pathAnsuel Smith
Currently LuCI can be loaded only when placed in the root of the server as the cgi-bin path are hardcoded. Change the index.html to load the cgi-bin path from the current level. Also add a new entry in the env Object to make the cgi_base path easily accessible. This variable will be based on the position of /cgi-bin/luci. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
2019-08-01luci-base: index.html: add extend cache-control directiveJo-Philipp Wich
Fixes: #2942 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-10-10luci-base: redirect root path to /cgi-bin/luci/xiongjie
Fix openwrt/luci#1062 Signed-off-by: MonwF <boluo2@gmail.com>
2015-09-29luci-base: change index.html to be more like current themesHannu Nyman
Change index.html that is visible for a second when entering Luci: * Black text on white background (instead of white on black) * Specify font as Arial/Helvetica Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2015-05-18luci-base: Add cache control in index.html nightcoffee
Signed-off-by: Night Coffee <ydkf@qq.com>
2015-01-08Rework LuCI build systemJo-Philipp Wich
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>