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

{{_('User list')}}

{% for user in content %} {% if not user.role_anonymous() or config.config_anonbrowse %} {% 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')}}

{{_('Calibre DB dir')}} {{_('Log Level')}} {{_('Port')}} {{_('Books per page')}} {{_('Uploading')}} {{_('Public registration')}} {{_('Anonymous browsing')}}
{{config.config_calibre_dir}} {{config.get_Log_Level()}} {{config.config_port}} {{config.config_books_per_page}} {% if config.config_uploading %}{% else %}{% endif %} {% if config.config_public_reg %}{% else %}{% endif %} {% if config.config_anonbrowse %}{% else %}{% endif %}
{{_('Configuration')}}

{{_('Administration')}}

{% if not development %}

{{_('Current commit timestamp')}}: {{commit}}

{{_('Restart Calibre-web')}}
{{_('Stop Calibre-web')}}
{{_('Check for update')}}
{% endif %}
{% endblock %}