<div class="row-fluid">
	<div class="span1 hidden-phone"></div>
	<div class="span10">
		${h.form(url.current(), method='post')}
		<div class="row-fluid">
			<table class="table table-bordered table-condensed table-hover table-striped">
			<thead>
			<tr>
			    <th>&nbsp;</th>
			    <th>${_('Username')}</th>
			    <th>${_('Full names')}</th>
			    <th>${_('Email address')}</th>
			    <th>${_('Status')}</th>
				<th colspan="2">${_('Actions')}</th>
			</tr>
			</thead>
			<tbody>
			% for user in c.page.items:
			<% 
				if user.account_type == 1:
					user_icon = h.literal('<i class="icon-user red"></i>')
				elif user.account_type == 2:
					user_icon = h.literal('<i class="icon-user green"></i>')
				else:
					user_icon = h.literal('<i class="icon-user blue"></i>')
			%>
			<tr class="highspam">
			    <td>${user_icon}</td>
			    <td>${user.username}</td>
			    <td>${user.firstname} ${user.lastname}</td>
			    <td>${user.email}</td>
			    <td>${functions.item_status(user.active)}</td>
				<td>${h.literal('<i class="icon-edit blue"></i>')}</td>
				<td>${h.literal('<i class="icon-remove red"></i>')}</td>
			</tr>
			% endfor
			% if not c.page.items:
			<tr><td class="spanrow" colspan="8">${_('No accounts found')}</td></tr>
			% endif
			</tbody>
			</table>
		</div>
		<div class="row-fluid mkbox">
			<div class="span10">&nbsp;</div>
			<div class="span2">
				<button type="submit" id="submit-button" class="btn btn-small btn-success"><i class="icon-thumbs-up"></i> ${_('Yes Delete')}</button>
			</div>
		</div>
		${h.end_form()}\
	</div>
	<div class="span1 hidden-phone"></div>
</div>

<%def name="title()">
${_('Accounts :: Confirm bulk account deletion')} 
</%def>

<%def name="heading()">
${_('Accounts :: Confirm bulk account deletion')} 
</%def>

<%def name="headers()">
</%def>
<%def name="submenu()"></%def>
<%def name="localscripts()">\
</%def>
<%namespace name="functions" file="../includes/functions.html"/>
<%inherit file="../base.html"/>
