almost complete wifi page redesign
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
$pages = [];
|
||||
|
||||
/** Add a page */
|
||||
function pg($key, $bc, $path) {
|
||||
global $pages;
|
||||
$pages[$key] = (object) [
|
||||
'bodyclass' => $bc,
|
||||
'path' => $path,
|
||||
'label' => tr("menu.$key"),
|
||||
];
|
||||
}
|
||||
|
||||
pg('cfg_wifi', 'cfg', '/cfg/wifi');
|
||||
pg('cfg_network', 'cfg', '/cfg/network');
|
||||
pg('cfg_term', 'cfg', '/cfg/term');
|
||||
pg('about', 'cfg', '/about');
|
||||
pg('help', 'cfg', '/help');
|
||||
pg('term', 'term', '/');
|
||||
|
||||
// technical
|
||||
pg('wifi_set', '', '/cfg/wifi/set');
|
||||
|
||||
return $pages;
|
||||
Reference in New Issue
Block a user