{% extends "layout.html" %} {% macro display_bool_setting(setting_value) -%} {% if setting_value %}{% else %}{% endif %} {%- endmacro %} {% block body %}

{{_('User list')}}

{% for user in allUser %} {% if not user.role_anonymous() or config.config_anonbrowse %} {% endif %} {% endfor %}
{{_('Nickname')}} {{_('E-mail')}} {{_('Kindle')}} {{_('DLS')}}
{{user.nickname}} {{user.email}} {{user.kindle_mail}} {{user.downloads.count()}}

{{_('SMTP e-mail server settings')}}

{{_('SMTP hostname')}} {{_('SMTP port')}} {{_('SSL')}} {{_('SMTP login')}}
{{email.mail_server}} {{email.mail_port}} {% if email.mail_use_ssl %}{% else %}{% endif %} {{email.mail_login}}

{{_('Configuration')}}

{{_('Calibre DB dir')}}
{{config.config_calibre_dir}}
{{_('Log level')}}
{{config.get_log_level()}}
{{_('Port')}}
{{config.config_port}}
{{_('Books per page')}}
{{config.config_books_per_page}}
{{_('Uploading')}}
{{ display_bool_setting(config.config_uploading) }}
{{_('Anonymous browsing')}}
{{ display_bool_setting(config.config_anonbrowse) }}
{{_('Public registration')}}
{{ display_bool_setting(config.config_public_reg) }}
{{_('Remote login')}}
{{ display_bool_setting(config.config_remote_login) }}
{{_('Reverse proxy login')}}
{{ display_bool_setting(config.config_allow_reverse_proxy_header_login) }}
{% if config.config_allow_reverse_proxy_header_login %}
{{_('Reverse proxy header name')}}
{{ config.config_reverse_proxy_login_header_name }}
{% endif %}

{{_('Administration')}}

{{_('Reconnect to Calibre DB')}}
{{_('Restart Calibre-Web')}}
{{_('Stop Calibre-Web')}}

{{_('Update')}}

{{_('Version')}} {{_('Details')}}
{{commit}} {{_('Current version')}}
{{_('Check for update')}}
{% endblock %}