[UI][CONTROLLER][ROUTES] UserPanel account page form added, account page CSS work

This commit is contained in:
rainydaysavings
2020-07-21 22:02:39 +01:00
committed by Hugo Sales
parent 5a53915f80
commit 6dd966bd3f
10 changed files with 125 additions and 25 deletions

View File

@@ -49,9 +49,11 @@ abstract class Main
// Settings pages
foreach (['profile', 'avatar'] as $s) {
$r->connect('settings_' . $s, 'settings/' . $s, C\UserPanel::class);
$r->connect('settings_' . $s, 'settings/' . $s, [C\UserPanel::class, 'profile']);
}
$r->connect('settings_account', 'settings/account', C\UserPanel::class);
foreach (['account'] as $s) {
$r->connect('settings_' . $s, 'settings/' . $s, [C\UserPanel::class, 'account']);
}
}
}