Updated templates

This commit is contained in:
2011-03-15 12:02:34 +00:00
parent 114413ba80
commit e1e28e4306
19 changed files with 128 additions and 96 deletions

View File

@@ -3,19 +3,6 @@
{% block title %}Blacklist User{% endblock %}
{% block content %}
<script type="text/javascript">
<!--
function confirmPost()
{
var agree=confirm("Are you sure you want to blacklist {{ u.username }}?");
if (agree)
return true ;
else
return false ;
}
// -->
</script>
<p>This form will blacklist the listed user below. It'll process all entries for the user and blacklist the following:</p>
<ul>
<li>EVE API Keys</li>
@@ -24,12 +11,12 @@ return false ;
<li>Reddit Accounts</li>
</ul>
<form action="" method="post">
<form action="{% url hr.views.blacklist_user u.id %}" method="post">
<table>
<tr><th><label>User:</label></th><td>{{ u.username }}</td></tr>
{{ form.as_table }}
</table>
{% csrf_token %}
<input type="submit" value="Blacklist" onClick="return confirmPost()" />
<input type="submit" value="Blacklist" />
</form>
{% endblock %}