2023-02-14 16:46:41 +00:00
|
|
|
{% import 'languages/'+lang|default('en')+'.html' as lang %}
|
2018-05-08 09:12:16 +00:00
|
|
|
{% for user in users %}
|
2020-09-05 06:31:40 +00:00
|
|
|
{% include 'include/admin_users.html' %}
|
2019-09-29 20:16:24 +00:00
|
|
|
<script>
|
|
|
|
$( function() {
|
|
|
|
$("#role-{{user.0}}" ).selectmenu({
|
|
|
|
width: 100
|
|
|
|
});
|
|
|
|
$("#usergroup-{{user.0}}" ).selectmenu({
|
|
|
|
width: 100
|
2019-10-09 06:35:35 +00:00
|
|
|
});
|
|
|
|
$( ".newuser" ).addClass( "update", 1000 );
|
|
|
|
$( "input[type=submit], button" ).button();
|
|
|
|
$( "input[type=checkbox]" ).checkboxradio();
|
|
|
|
$( "select" ).selectmenu();
|
|
|
|
$.getScript(awesome);
|
|
|
|
setTimeout(function() {
|
|
|
|
$( ".newuser" ).removeClass( "update" );
|
|
|
|
}, 2500 );
|
2019-09-29 20:16:24 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
{% endfor %}
|
2018-09-28 16:10:01 +00:00
|
|
|
<script>
|
|
|
|
$( "#ajax-users input" ).change(function() {
|
|
|
|
var id = $(this).attr('id').split('-');
|
|
|
|
updateUser(id[1])
|
|
|
|
});
|
|
|
|
$( "#ajax-users select" ).on('selectmenuchange',function() {
|
|
|
|
var id = $(this).attr('id').split('-');
|
|
|
|
updateUser(id[1])
|
|
|
|
});
|
2023-02-14 16:46:41 +00:00
|
|
|
</script>
|