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

{{_('Users')}}

{% if allUser.__len__() < 10 %} {% if config.config_uploading %} {% endif %} {% for user in allUser %} {% if not user.role_anonymous() or config.config_anonbrowse %} {% if config.config_uploading %} {% endif %} {% endif %} {% endfor %}
{{_('Username')}} {{_('E-mail Address')}} {{_('Send to Kindle E-mail Address')}} {{_('Downloads')}}
{{user.name}} {{user.email}} {{user.kindle_mail}} {{user.downloads.count()}}
{% endif %} {% if not simple %} {{_('Edit Users')}} {% endif %} {{_('Add New User')}} {% if (config.config_login_type == 1) %}
{{_('Import LDAP Users')}}
{% endif %}

{{_('E-mail Server Settings')}}

{% if config.get_mail_server_configured() %} {% if email.mail_server_type == 0 %}
{{_('SMTP Hostname')}}
{{email.mail_server}}
{{_('SMTP Port')}}
{{email.mail_port}}
{{_('Encryption')}}
{{ display_bool_setting(email.mail_use_ssl) }}
{{_('SMTP Login')}}
{{email.mail_login}}
{{_('From E-mail')}}
{{email.mail_from}}
{% else %}
{{_('E-Mail Service')}}
{{_('Gmail via Oauth2')}}
{{_('From E-mail')}}
{{email.mail_gmail_token['email']}}
{% endif %} {% endif %} {{_('Edit E-mail Server Settings')}}

{{_('Configuration')}}

{{_('Calibre Database Directory')}}
{{config.config_calibre_dir}}
{{_('Log Level')}}
{{config.get_log_level()}}
{{_('Port')}}
{{config.config_port}}
{% if kobo_support and config.config_port != config.config_external_port %}
{{_('External Port')}}
{{config.config_external_port}}
{% endif %}
{{_('Books per Page')}}
{{config.config_books_per_page}}
{{_('Uploads')}}
{{ display_bool_setting(config.config_uploading) }}
{{_('Anonymous Browsing')}}
{{ display_bool_setting(config.config_anonbrowse) }}
{{_('Public Registration')}}
{{ display_bool_setting(config.config_public_reg) }}
{{_('Magic Link 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 %}
{{_('Edit Calibre Database Configuration')}} {{_('Edit Basic Configuration')}} {{_('Edit UI Configuration')}}
{% if feature_support['scheduler'] %}

{{_('Scheduled Tasks')}}

{{_('Time at which tasks start to run')}}
{{schedule_time}}
{{_('Maximum tasks duration')}}
{{schedule_duration}}
{{_('Generate book cover thumbnails')}}
{{ display_bool_setting(config.schedule_generate_book_covers) }}
{{_('Reconnect to Calibre Library')}}
{{ display_bool_setting(config.schedule_reconnect) }}
{{_('Edit Scheduled Tasks Settings')}} {% if config.schedule_generate_book_covers %} {{_('Refresh Thumbnail Cover Cache')}} {% endif %}
{% endif %}

{{_('Administration')}}

{{_('Download Debug Package')}} {{_('View Logs')}}
{{_('Reconnect Calibre Database')}}
{{_('Restart')}}
{{_('Shutdown')}}

{{_('Update')}}

{{_('Version')}} {{_('Details')}}
{{commit}} {{_('Current version')}}
{% if feature_support['updater'] %}
{{_('Check for Update')}}
{% endif %}
{% endblock %} {% block modal %} {{ change_confirm_modal() }} {% endblock %}