<%# InfinityFreedom-NG (Next Generation) is a clean HTML5 theme for LuCI. luci-theme-infinityfreedom-ng Copyright 2024 Eric Have a bug? Please create an issue here on GitHub! https://github.com/xiaoqingfengATGH/luci-theme-infinityfreedom/issues Licensed to the public under the Apache License 2.0 -%> <% local sys = require "luci.sys" local util = require "luci.util" local http = require "luci.http" local disp = require "luci.dispatcher" local fs = require "nixio.fs" local nutil = require "nixio.util" local uci = require 'luci.model.uci'.cursor() local boardinfo = util.ubus("system", "board") local request = disp.context.path local request2 = disp.context.request local category = request[1] local cattree = category and disp.node(category) local leaf = request2[#request2] local tree = disp.node() local node = disp.context.dispatched local categories = disp.node_childs(tree) local c = tree local i, r -%> <%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI - LuCI"> - LuCI"> <% if node and node.css then %> <% end -%> <% if css then %> <% end -%>