{% extends "layout.html" %} {% block body %}

{{_('User list')}}

{% for user in content %} {% if not user.role_anonymous() or config.ANON_BROWSE %} {% endif %} {% endfor %}
{{_('Nickname')}} {{_('Email')}} {{_('Kindle')}} {{_('DLS')}} {{_('Admin')}} {{_('Download')}} {{_('Upload')}} {{_('Edit')}} {{_('Passwd')}}
{{user.nickname}} {{user.email}} {{user.kindle_mail}} {{user.downloads.count()}} {% if user.role_admin() %}{% else %}{% endif %} {% if user.role_download() %}{% else %}{% endif %} {% if user.role_upload() %}{% else %}{% endif %} {% if user.role_edit() %}{% else %}{% endif %} {% if user.role_passwd() %}{% else %}{% endif %}
{{_('Add new user')}}

{{_('SMTP mail settings')}}

{{_('SMTP hostname')}} {{_('SMTP port')}} {{_('SSL')}} {{_('SMTP login')}} {{_('SMTP password')}} {{_('From mail')}}
{{email.mail_server}} {{email.mail_port}} {% if email.mail_use_ssl %}{% else %}{% endif %} {{email.mail_login}} ******** {{email.mail_from}}
{{_('Change SMTP settings')}}

{{_('Configuration')}}

{{_('Log File')}} {{_('Log Level')}} {{_('Port')}} {{_('Books per page')}} {{_('Uploading')}} {{_('Public registration')}} {{_('Anonymous browsing')}}
{{config.LOG_DIR}} {{config.LOG_DIR}} {{config.PORT}} {{config.NEWEST_BOOKS}} {% if config.UPLOADING %}{% else %}{% endif %} {% if config.PUBLIC_REG %}{% else %}{% endif %} {% if config.ANON_BROWSE %}{% else %}{% endif %}

{{_('Administration')}}

{% if not config.DEVELOPMENT %}
{{_('Restart Calibre-web')}}
{% endif %}
{% endblock %}