Code cleany cleany

This commit is contained in:
Michał Gdula 2022-09-25 15:49:11 +00:00
parent 7308f669a5
commit a9780f59e7
6 changed files with 48 additions and 20 deletions

View file

@ -344,7 +344,7 @@
var header = "With great power comes great responsibility...";
var description = "Do you trust this user? With admin permitions they can cause a whole lot of damage to this place, so make sure you're very very sure";
var actionBox = "<form id='toggleAdminConfirm' method='POST'>\
<button id='toggleAdminSubmit' class='btn btn-bad' type='submit' value='"+id+"'>Make "+username+" powerfull!</button>\
<button id='toggleAdminSubmit' class='btn btn-bad' type='submit' value='"+id+"'>Toggle "+username+"'s admin status</button>\
</form>";
flyoutShow(header, description, actionBox);