{% 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')}} {{_('Email')}} {{_('Send to eReader Email')}} {{_('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 %}

{{_('Email Server Settings')}}

{% if config.get_mail_server_configured() %} {% if config.mail_server_type == 0 %}
{{_('SMTP Hostname')}}
{{config.mail_server}}
{{_('SMTP Port')}}
{{config.mail_port}}
{{_('Encryption')}}
{{ display_bool_setting(config.mail_use_ssl) }}
{{_('SMTP Login')}}
{{config.mail_login}}
{{_('From Email')}}
{{config.mail_from}}
{% else %}
{{_('Email Service')}}
{{_('Gmail via Oauth2')}}
{{_('From Email')}}
{{config.mail_gmail_token['email']}}
{% endif %} {% endif %} {{_('Edit Email 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')}}

{{_('Start Time')}}
{{schedule_time}}
{{_('Maximum Duration')}}
{{schedule_duration}}
{{_('Generate Thumbnails')}}
{{ display_bool_setting(config.schedule_generate_book_covers) }}
{{_('Reconnect Calibre Database')}}
{{ display_bool_setting(config.schedule_reconnect) }}
{{_('Generate Metadata Backup Files')}}
{{ display_bool_setting(config.schedule_metadata_backup) }}
{{_('Edit Scheduled Tasks Settings')}} {% if config.schedule_generate_book_covers %} {{_('Refresh Thumbnail Cache')}} {% endif %}
{% endif %}

{{_('Administration')}}

{{_('Download Debug Package')}} {{_('View Logs')}}
{{_('Reconnect Calibre Database')}}
{{_('Restart')}}
{{_('Shutdown')}}
{% if config.schedule_metadata_backup %}
{{_('Queue all books for metadata backup')}}
{% endif %}

{{_('Version Information')}}

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