Skip to content

Commit

Permalink
adjust admin categories (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
ab7pa committed Jul 25, 2022
1 parent 54ecb2a commit 6272209
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions files/www/cgi-bin/advancedconfig
Original file line number Diff line number Diff line change
Expand Up @@ -242,13 +242,20 @@ local settings = {
needreboot = true
},
{
category = "OLSR",
category = "Network Tools",
key = "aredn.olsr.restart",
type = "none",
desc = "Will restart OLSR when saving setting -- wait up to 2 or 3 minutes to receive response.",
default = "0",
postcallback = "olsr_restart()"
},
{
category = "Network Tools",
key = "aredn.@iperf[0].enable",
type = "boolean",
desc = "Enable the included iperf3 client/server support",
default = "1"
},
{
category = "AREDN Alerts",
key = "aredn.aam.refresh",
Expand Down Expand Up @@ -280,13 +287,6 @@ local settings = {
default = "",
postcallback = "alert_purge()"
},
{
category = "iPerf",
key = "aredn.@iperf[0].enable",
type = "boolean",
desc = "Enable the included iperf3 client/server support",
default = "1"
},
{
category = "Link Quality",
key = "aredn.@lqm[0].enable",
Expand Down Expand Up @@ -819,7 +819,7 @@ do
end
sval = sval and tostring(sval) or ""
if setting.category ~= prior_category then
html.print([[<tr class="wscan-row-node"><td align="center" colspan="4"><b>]] .. setting.category .. [[</b></td></tr>]])
html.print([[<tr style=background-color:lightseagreen><td align="center" colspan="4"><b>]] .. setting.category .. [[</b></td></tr>]])
prior_category = setting.category
end
html.print([[<tr><td align="center"><span title="]] .. setting.desc .. [["><img src="/qmark.png" /></span></td><td>]] .. setting.key .. [[</td><td>]])
Expand Down

0 comments on commit 6272209

Please sign in to comment.