NDOJ/templates/organization/users.html

33 lines
854 B
HTML
Raw Normal View History

2020-01-21 06:35:58 +00:00
{% extends "user/base-users.html" %}
{% block users_media %}
<style>
.kick-form .button {
margin: -8px 0;
2020-12-30 02:29:50 +00:00
padding: 3px 12px;
}
#users-table td:nth-child(4), #users-table th:nth-child(4) {
border-right: none;
2020-01-21 06:35:58 +00:00
}
</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 %}