<%# Rosy is a theme for LuCI. It is based on luci-theme-bootstrap luci-theme-rosy Copyright 2018 Rosy Song Copyright 2018 Yan Lan Shen Have a bug? Please create an issue here on GitHub! https://github.com/rosywrt/luci-theme-rosy/issues luci-theme-bootstrap: Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Copyright 2012 David Menting Licensed to the public under the Apache License 2.0 -%> <% local ver = require "luci.version" local version = {} for word in ver.distversion:gmatch("%S+") do table.insert(version, word) end verstr=(version[1] or "?") .. " " .. (version[2] or "?") .. " " .. (version[3] or "?") local ver = require "luci.version" local disp = require "luci.dispatcher" local request = disp.context.path local category = request[1] local tree = disp.node() local categories = disp.node_childs(tree) %>