diff --git a/frontend/classes/class.user.php b/frontend/classes/class.user.php index 668f2be..f45b106 100644 --- a/frontend/classes/class.user.php +++ b/frontend/classes/class.user.php @@ -31,6 +31,12 @@ class User extends CPHPDatabaseRecordClass ) ); + public $prototype_export = array( + 'Username', + 'EmailAddress', + 'AccessLevel' + ); + public function GenerateSalt() { $this->uSalt = random_string(10); diff --git a/frontend/css/cvm.css b/frontend/css/cvm.css index 1fd936a..5f85ed6 100644 --- a/frontend/css/cvm.css +++ b/frontend/css/cvm.css @@ -81,14 +81,14 @@ table.vpsinfo th width: 150px; } -table.vpslist tr:hover +table.console th { - background-color: #BABAD0; + width: 120px; } -table.console th +table.userlist td { - width: 120px; + padding-bottom: 4px; } .clickable a @@ -97,6 +97,11 @@ table.console th text-decoration: none; } +tr.clickable:hover +{ + background-color: #BABAD0; +} + .clear { clear: both; diff --git a/frontend/module.admin.php b/frontend/module.admin.php index ac5bba1..e57972c 100644 --- a/frontend/module.admin.php +++ b/frontend/module.admin.php @@ -28,7 +28,8 @@ try $router->routes = array( 0 => array( - '^/admin/?$' => "module.admin.overview.php" + '^/admin/?$' => "module.admin.overview.php", + '^/admin/users/?$' => "module.admin.users.php" ) );