%#
Luxe is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI
luci-theme-material
Copyright 2015-2017 Lutty Yang
luci-theme-luxe
Copyright 2026 de-quenx | xidz_x
Have a bug? Please create an issue here on GitHub!
https://github.com/de-quenx/luci-theme-luxe/issues
luci-theme-bootstrap:
Copyright 2008 Steven Barth
Copyright 2008-2016 Jo-Philipp Wich
Copyright 2012 David Menting
MUI:
https://github.com/muicss/mui
Licensed to the public under the Apache License 2.0
-%>
<%
local util = require "luci.util"
local fs = require "nixio.fs"
local boardinfo = util.ubus("system", "board") or { }
local hn_file = fs.readfile("/proc/sys/kernel/hostname")
local hostname = (hn_file and hn_file ~= "") and hn_file:gsub("\n", "") or (boardinfo.hostname or "OpenWrt")
-%>
<%= hostname %>