Fix textbox width for backup server and path inputs

This commit is contained in:
Ilia Ross
2026-09-20 23:50:49 +02:00
parent b0cca9edf2
commit 78d307aa77

View File

@@ -168,14 +168,14 @@ my @options = (
# FTP connection and remote path
{ 'value' => 1, 'label' => $text{'backup_mode1'},
'content' => &ui_textbox("$_[0]_server",
$mode == 1 ? $server : undef, 20),
$mode == 1 ? $server : undef, 30),
'fields' => [
[ $text{'backup_path'}, &ui_textbox("$_[0]_path",
$mode == 1 ? $path : undef, 20) ],
$mode == 1 ? $path : undef, 30) ],
[ $text{'backup_login'}, &ui_textbox("$_[0]_user",
$mode == 1 ? $user : undef, 20) ],
$mode == 1 ? $user : undef, 15) ],
[ $text{'backup_pass'}, &ui_password("$_[0]_pass",
$mode == 1 ? $pass : undef, 20, 0,
$mode == 1 ? $pass : undef, 15, 0,
undef, 'data-password-meter-skip') ],
[ $text{'backup_port'}, &ui_opt_textbox("$_[0]_port",
$mode == 1 ? $port : undef, 5,
@@ -184,14 +184,14 @@ my @options = (
# SSH connection and remote path
{ 'value' => 2, 'label' => $text{'backup_mode2'},
'content' => &ui_textbox("$_[0]_sserver",
$mode == 2 ? $server : undef, 20),
$mode == 2 ? $server : undef, 30),
'fields' => [
[ $text{'backup_path'}, &ui_textbox("$_[0]_spath",
$mode == 2 ? $path : undef, 20) ],
$mode == 2 ? $path : undef, 30) ],
[ $text{'backup_login'}, &ui_textbox("$_[0]_suser",
$mode == 2 ? $user : undef, 20) ],
$mode == 2 ? $user : undef, 15) ],
[ $text{'backup_pass'}, &ui_password("$_[0]_spass",
$mode == 2 ? $pass : undef, 20, 0,
$mode == 2 ? $pass : undef, 15, 0,
undef, 'data-password-meter-skip') ],
[ $text{'backup_port'}, &ui_opt_textbox("$_[0]_sport",
$mode == 2 ? $port : undef, 5,