{% set id = 'backup-server-' + b.id|string() %}
{{ copy_to_clipboard(id=id, value=b.server) }}
|
{{ input('backup-rserver-'+b.id|string(), value=b.rhost, size='14') }}
|
{{ input('backup-rpath-'+b.id|string(), value=b.rpath) }}
|
{% set values = {'backup':'backup','synchronization':'synchronization'} %}
{{ select('backup-type-'+b.id|string(), values=values, selected=b.backup_type, required='required', class='force_close') }}
|
{% set values = {'hourly':'hourly','daily':'daily','weekly':'weekly', 'monthly':'monthly'} %}
{{ select('backup-time-'+b.id|string(), values=values, selected=b.time, required='required', class='force_close') }}
|
|
{% if b.description is not none %}
{{ input('backup-description-'+b.id|string(), value=b.description) }}
{% else %}
{{ input('backup-description-'+b.id|string()) }}
{% endif %}
|
|
|
{% endif %}
{% endfor %}
{% endfor %}