{#
Material is a clean HTML5 theme for LuCI. It is based on luci-theme-bootstrap and MUI
luci-theme-material
Copyright 2015-2017 Lutty Yang
Have a bug? Please create an issue here on GitHub!
https://github.com/LuttyYang/luci-theme-material/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
-#}
{%
import { getuid, getspnam } from 'luci.core';
const boardinfo = ubus.call('system', 'board');
const hostname = striptags(boardinfo?.hostname ?? '?');
http.prepare_content('text/html; charset=UTF-8');
-%}
{% if (node?.css): %}
{% endif %}
{{ hostname }}{{ node?.title ? ` - ${striptags(node.title)}` : '' }} - LuCI
{% if (css): %}
{% endif %}