Make files headers, indentation and conding style consistent
Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
This commit is contained in:
parent
9fdcfc866c
commit
e37523385f
@ -10,7 +10,7 @@
|
|||||||
luci-theme-material:
|
luci-theme-material:
|
||||||
Copyright 2015 Lutty Yang <lutty@wcan.in>
|
Copyright 2015 Lutty Yang <lutty@wcan.in>
|
||||||
|
|
||||||
Agron Theme
|
Argon Theme
|
||||||
https://demos.creative-tim.com/argon-dashboard/index.html
|
https://demos.creative-tim.com/argon-dashboard/index.html
|
||||||
|
|
||||||
Licensed to the public under the Apache License 2.0
|
Licensed to the public under the Apache License 2.0
|
||||||
@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
-- send as HTML5
|
-- send as HTML5
|
||||||
http.prepare_content("text/html")
|
http.prepare_content("text/html")
|
||||||
|
|
||||||
math.randomseed(os.time())
|
math.randomseed(os.time())
|
||||||
|
|
||||||
-- Custom settings
|
-- Custom settings
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
<%#
|
<%#
|
||||||
edge is a clean HTML5 theme for LuCI. It is based on luci-theme-material edge Template
|
Argon is a clean HTML5 theme for LuCI. It is based on luci-theme-material Argon Template
|
||||||
|
|
||||||
luci-theme-edge
|
luci-theme-argon
|
||||||
Copyright 2020 Jerrykuku <jerrykuku@qq.com>
|
Copyright 2020 Jerrykuku <jerrykuku@qq.com>
|
||||||
|
|
||||||
Have a bug? Please create an issue here on GitHub!
|
Have a bug? Please create an issue here on GitHub!
|
||||||
https://github.com/jerrykuku/luci-theme-edge/issues
|
https://github.com/jerrykuku/luci-theme-argon/issues
|
||||||
|
|
||||||
luci-theme-material:
|
luci-theme-material:
|
||||||
Copyright 2015 Lutty Yang <lutty@wcan.in>
|
Copyright 2015 Lutty Yang <lutty@wcan.in>
|
||||||
|
|
||||||
Agron Theme
|
Argon Theme
|
||||||
https://demos.creative-tim.com/edge-dashboard/index.html
|
https://demos.creative-tim.com/argon-dashboard/index.html
|
||||||
|
|
||||||
Licensed to the public under the Apache License 2.0
|
Licensed to the public under the Apache License 2.0
|
||||||
-%>
|
-%>
|
||||||
@ -23,7 +23,9 @@
|
|||||||
local disp = require "luci.dispatcher"
|
local disp = require "luci.dispatcher"
|
||||||
|
|
||||||
local boardinfo = util.ubus("system", "board")
|
local boardinfo = util.ubus("system", "board")
|
||||||
|
|
||||||
local node = disp.context.dispatched
|
local node = disp.context.dispatched
|
||||||
|
|
||||||
local fs = require "nixio.fs"
|
local fs = require "nixio.fs"
|
||||||
local nutil = require "nixio.util"
|
local nutil = require "nixio.util"
|
||||||
local uci = require 'luci.model.uci'.cursor()
|
local uci = require 'luci.model.uci'.cursor()
|
||||||
@ -48,7 +50,6 @@
|
|||||||
mode = uci:get_first('argon', 'global', 'mode')
|
mode = uci:get_first('argon', 'global', 'mode')
|
||||||
bar_color = mode == 'dark' and dark_primary or primary
|
bar_color = mode == 'dark' and dark_primary or primary
|
||||||
end
|
end
|
||||||
|
|
||||||
-%>
|
-%>
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="<%=luci.i18n.context.lang%>">
|
<html lang="<%=luci.i18n.context.lang%>">
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
MUI:
|
MUI:
|
||||||
https://github.com/muicss/mui
|
https://github.com/muicss/mui
|
||||||
|
|
||||||
Agron Theme
|
Argon Theme
|
||||||
https://demos.creative-tim.com/argon-dashboard/index.html
|
https://demos.creative-tim.com/argon-dashboard/index.html
|
||||||
|
|
||||||
Licensed to the public under the Apache License 2.0
|
Licensed to the public under the Apache License 2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user