{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %} {% extends 'themes/' + theme() + '/base.html' %} {% else %} {% extends "base.html" %} {% endif %} %} {% from 'bootstrap/form.html' import render_form %} {% set active_child = 'admin_users' %} {% block app_content %}

{{ _('Users') }}

{{ _('Add local user') }}
{% for user in users.items %} {% endfor %}
Name Local/Remote Seen Attitude Rep Banned Reports IP Source Actions
{{ user.display_name() }} {% if user.is_local() %}Local{% else %}Remote{% endif %} {% if request.args.get('local_remote', '') == 'local' %} {{ moment(user.last_seen).fromNow() }} {% else %} {{ user.last_seen }} {% endif %} {{ user.attitude * 100 if user.attitude != 1 }} {{ 'R ' + str(user.reputation) if user.reputation }} {{ 'Banned'|safe if user.banned }} {{ user.reports if user.reports > 0 }} {{ user.ip_address if user.ip_address }}
{{ user.ip_address_country if user.ip_address_country }}
{{ user.referrer if user.referrer }} View local | {% if not user.is_local() %} View remote | {% else %} View remote | {% endif %} Edit | Delete

{% include 'admin/_nav.html' %}

{% endblock %}