Frio: admin/user template fixes

- small fixes to html
- move js and css to extern files
- move checkboxes to first column
This commit is contained in:
fabrixxm 2018-04-18 21:43:33 +02:00
parent 362654abf0
commit 20a2918bda
3 changed files with 59 additions and 59 deletions

View file

@ -20,12 +20,27 @@ $(function() {
}
});
function selectall(cls) {
$('.' + cls).prop('checked', true);
return false;
}
function selectnone(cls) {
$('.' + cls).prop('checked', false);
return false;
}
});
function selectall(cls) {
$('.' + cls).prop('checked', true);
return false;
}
function selectnone(cls) {
$('.' + cls).prop('checked', false);
return false;
}
// Users
function confirm_delete(uname){
return confirm( "{{$confirm_delete}}".format(uname));
}
function confirm_delete_multi(){
return confirm("{{$confirm_delete_multi}}");
}
function details(uid) {
$("#user-"+uid+"-detail").toggleClass("hidden");
$("#user-"+uid).toggleClass("opened");
return false;
}