Compare commits

..

3 Commits

Author SHA1 Message Date
958897dc0a Implemented GUI aspect of usermanagement page
TODO: add ajax-call that will update database
2019-03-06 14:18:07 +01:00
efc66fc3d8 Refactored template; make main content scrollable without overflow
Switched to Flexbox CSS based layout
Removed theme-easteregg.
2019-03-05 10:12:26 +01:00
b5df954322 Managementinterface retrieves data from database;
Table on interface is editable; replaced library.
2019-03-03 17:06:41 +01:00

View File

@ -27,7 +27,7 @@
$row['Id'], $row['Id'],
explode('\\', $row['Username'])[1], explode('\\', $row['Username'])[1],
$row['Rolename'], $row['Rolename'],
'<button class="bttn-simple bttn-xs bttn-primary" data-translation="button_sessions">Sessions</button>' . ($validateTokenResult['uid'] === $row['Id'] ? null : '&nbsp;<button class="bttn-simple bttn-xs bttn-primary delete" data-translation="button_delete">Delete</button>') $validateTokenResult['uid'] === $row['Id'] ? '<button class="bttn-simple bttn-xs bttn-primary" data-translation="button_sessions">Sessions</button>' : '<button class="bttn-simple bttn-xs bttn-primary" data-translation="button_sessions">Sessions</button>&nbsp;<button class="bttn-simple bttn-xs bttn-primary delete" data-translation="button_delete">Delete</button>'
); );
} }