Update description text and UX

This commit is contained in:
Ilia Ross
2026-04-18 19:50:26 +02:00
parent ae35b100c2
commit bb39d752a9
2 changed files with 18 additions and 6 deletions

View File

@@ -261,9 +261,22 @@ print ui_tabs_end_tab();
# Let's Encrypt form
print ui_tabs_start_tab("mode", "lets");
print "$text{'ssl_letsdesc'}<p>\n";
my $err = &check_letsencrypt();
print $text{'ssl_letsdesc'};
if (!$err) {
print &ui_tag('span',
&ui_details({
'class' => 'inline inlined',
'title' => '',
'content' => $text{'ssl_letsdesc2'},
}))."\n".
&ui_tag('style',
".ui--span>details.inline>summary+span {\n".
"margin-top: 0;\n".
"}\n");
}
print "<p>\n";
if ($err) {
print "<b>",&text('ssl_letserr', $err),"</b><p>\n";
print &get_letsencrypt_install_message(
@@ -273,7 +286,6 @@ if ($err) {
}
else {
# Show form to create a cert
print "$text{'ssl_letsdesc2'}<p>\n";
print &ui_form_start("letsencrypt.cgi");
print &ui_table_start($text{'ssl_letsheader'}, undef, 2);
@@ -367,7 +379,7 @@ else {
'content' => $acme_extra,
})."\n".
&ui_tag('style',
"details.inline>summary+span {\n".
"tr>td>details.inline>summary+span {\n".
"margin-left: 0;\n".
"}\n"));

View File

@@ -422,10 +422,10 @@ ssl_edownload=Failed to extract PEM data from certificate
ssl_csralready=View most recent key and CSR ..
ssl_already1=Previously generated private key :
ssl_already2=Previously generated certificate signing request :
ssl_letsdesc=Use an ACME-compatible SSL provider such as Let's Encrypt to generate a trusted SSL certificate for Webmin.
ssl_letsdesc=This form lets you request a trusted SSL certificate for Webmin from an ACME-compatible provider such as Let's Encrypt.
ssl_letserr=Unfortunately, this system cannot request certificates from an SSL provider : $1.
ssl_letserr2=Alternately, check the <a href='$1'>module configuration</a> page to ensure you are using the correct path to the configured ACME client command.
ssl_letsdesc2=This page can be used to request a new certificate, which will overwrite any certificate currently configured in Webmin. Before a certificate can be issued, the ACME provider must verify control of each hostname, either by fetching a temporary file from the website's document directory or, for DNS validation, by checking a temporary DNS TXT record.
ssl_letsdesc2=The new certificate will replace the one currently configured in Webmin. Before it can be issued, the ACME provider must verify control of each hostname using either a temporary file in the website's document directory or a temporary DNS TXT record.
ssl_letsheader=Certificate request options
ssl_letsdoms=Hostnames for certificate
ssl_subset=Skip unverifiable hostnames?