Cloned DMOJ
This commit is contained in:
parent
f623974b58
commit
49dc9ff10c
513 changed files with 132349 additions and 39 deletions
33
templates/organization/users.html
Normal file
33
templates/organization/users.html
Normal file
|
@ -0,0 +1,33 @@
|
|||
{% extends "user/base-users.html" %}
|
||||
{% block users_media %}
|
||||
<style>
|
||||
#users-table td:nth-child(2), #users-table th:nth-child(2) {
|
||||
border-right: none;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.kick-form .button {
|
||||
margin: -8px 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
{% if is_admin %}
|
||||
<style>#users-table td:nth-child(3), #users-table th:nth-child(3) {
|
||||
border-right: none;
|
||||
}
|
||||
</style>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block users_js_media %}
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('form.kick-form').find('a.button').click(function () {
|
||||
$(this).parent().submit();
|
||||
return false;
|
||||
})
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
{% block users_table %}{% include "organization/users-table.html" %}{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue