瀏覽代碼

docs: replace the images relating to the old theme

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
Nicola Murino 1 年之前
父節點
當前提交
e5fc1bd574
共有 58 個文件被更改,包括 60 次插入44 次删除
  1. 2 2
      docs/howto/getting-started.md
  2. 二進制
      docs/howto/img/add-folder.png
  3. 二進制
      docs/howto/img/add-group.png
  4. 二進制
      docs/howto/img/add-user-simplified.png
  5. 二進制
      docs/howto/img/add-user.png
  6. 二進制
      docs/howto/img/admin-2FA-login.png
  7. 二進制
      docs/howto/img/admin-2FA.png
  8. 二進制
      docs/howto/img/admin-save-2FA.png
  9. 二進制
      docs/howto/img/az-user-1.png
  10. 二進制
      docs/howto/img/az-user-2.png
  11. 二進制
      docs/howto/img/backup-action.png
  12. 二進制
      docs/howto/img/backup-notification-action.png
  13. 二進制
      docs/howto/img/create-dirs-action.png
  14. 二進制
      docs/howto/img/create-dirs-failure-notification.png
  15. 二進制
      docs/howto/img/create-dirs-rule-actions.png
  16. 二進制
      docs/howto/img/create-dirs-rule.png
  17. 二進制
      docs/howto/img/daily-backup-actions.png
  18. 二進制
      docs/howto/img/daily-backup-schedule.png
  19. 二進制
      docs/howto/img/folders.png
  20. 二進制
      docs/howto/img/gcs-user.png
  21. 二進制
      docs/howto/img/initial-screen.png
  22. 二進制
      docs/howto/img/local-encrypted.png
  23. 二進制
      docs/howto/img/primary-group-settings.png
  24. 二進制
      docs/howto/img/read-only-share.png
  25. 二進制
      docs/howto/img/recycle-folder.png
  26. 二進制
      docs/howto/img/recycle-group.png
  27. 二進制
      docs/howto/img/recycle-move-action.png
  28. 二進制
      docs/howto/img/recycle-rule-path.png
  29. 二進制
      docs/howto/img/recycle-rule.png
  30. 二進制
      docs/howto/img/s3-key-prefix.png
  31. 二進制
      docs/howto/img/s3-private-folder.png
  32. 二進制
      docs/howto/img/s3-user-1.png
  33. 二進制
      docs/howto/img/s3-user-2.png
  34. 二進制
      docs/howto/img/setup.png
  35. 二進制
      docs/howto/img/sftp-user.png
  36. 二進制
      docs/howto/img/simplified-admin.png
  37. 二進制
      docs/howto/img/status.png
  38. 二進制
      docs/howto/img/upload-notification.png
  39. 二進制
      docs/howto/img/upload-rule.png
  40. 二進制
      docs/howto/img/user-2FA-disabled.png
  41. 二進制
      docs/howto/img/user-2FA-login.png
  42. 二進制
      docs/howto/img/user-save-2FA.png
  43. 二進制
      docs/howto/img/virtual-folders.png
  44. 二進制
      docs/howto/img/virtual-permissions.png
  45. 二進制
      docs/howto/img/web-client-files.png
  46. 二進制
      docs/howto/img/web-client-two-factor-auth.png
  47. 6 2
      docs/howto/two-factor-authentication.md
  48. 4 3
      static/locales/en/translation.json
  49. 4 3
      static/locales/it/translation.json
  50. 10 0
      templates/common/base.html
  51. 2 3
      templates/common/changepassword.html
  52. 5 5
      templates/webadmin/admin.html
  53. 6 6
      templates/webadmin/configs.html
  54. 5 5
      templates/webadmin/eventaction.html
  55. 8 8
      templates/webadmin/eventrule.html
  56. 1 1
      templates/webadmin/fsconfig.html
  57. 3 2
      templates/webadmin/group.html
  58. 4 4
      templates/webadmin/user.html

+ 2 - 2
docs/howto/getting-started.md

@@ -36,7 +36,7 @@ Before you can use SFTPGo you need to create an admin account, so open [http://1
 
 
 ![Setup](./img/setup.png)
 ![Setup](./img/setup.png)
 
 
-After creating the admin account you will be automatically logged in.
+After creating the admin account you will be automatically logged in and redirected to the page to set up two-factor authentication. Setting up two-factor authentication is optional.
 
 
 ![Users list](./img/initial-screen.png)
 ![Users list](./img/initial-screen.png)
 
 
@@ -57,7 +57,7 @@ Let's create our first local user:
 - from the `Users` page click the `+` icon to open the `Add user page`
 - from the `Users` page click the `+` icon to open the `Add user page`
 - the only required fields are the `Username` and a `Password` or a `Public key`
 - the only required fields are the `Username` and a `Password` or a `Public key`
 - if you are on Windows or you installed SFTPGo manually and no `users_base_dir` is defined in your configuration file you also have to set a `Home Dir`. It must be an absolute path, for example `/srv/sftpgo/data/username` on Linux or `C:\sftpgo\data\username` on Windows. SFTPGo will try to automatically create the home directory, if missing, when the user logs in. Each user can only access files and folders inside its home directory.
 - if you are on Windows or you installed SFTPGo manually and no `users_base_dir` is defined in your configuration file you also have to set a `Home Dir`. It must be an absolute path, for example `/srv/sftpgo/data/username` on Linux or `C:\sftpgo\data\username` on Windows. SFTPGo will try to automatically create the home directory, if missing, when the user logs in. Each user can only access files and folders inside its home directory.
-- click `Submit`
+- click `Save`
 
 
 ![Add user](./img/add-user.png)
 ![Add user](./img/add-user.png)
 
 

二進制
docs/howto/img/add-folder.png


二進制
docs/howto/img/add-group.png


二進制
docs/howto/img/add-user-simplified.png


二進制
docs/howto/img/add-user.png


二進制
docs/howto/img/admin-2FA-login.png


二進制
docs/howto/img/admin-2FA.png


二進制
docs/howto/img/admin-save-2FA.png


二進制
docs/howto/img/az-user-1.png


二進制
docs/howto/img/az-user-2.png


二進制
docs/howto/img/backup-action.png


二進制
docs/howto/img/backup-notification-action.png


二進制
docs/howto/img/create-dirs-action.png


二進制
docs/howto/img/create-dirs-failure-notification.png


二進制
docs/howto/img/create-dirs-rule-actions.png


二進制
docs/howto/img/create-dirs-rule.png


二進制
docs/howto/img/daily-backup-actions.png


二進制
docs/howto/img/daily-backup-schedule.png


二進制
docs/howto/img/folders.png


二進制
docs/howto/img/gcs-user.png


二進制
docs/howto/img/initial-screen.png


二進制
docs/howto/img/local-encrypted.png


二進制
docs/howto/img/primary-group-settings.png


二進制
docs/howto/img/read-only-share.png


二進制
docs/howto/img/recycle-folder.png


二進制
docs/howto/img/recycle-group.png


二進制
docs/howto/img/recycle-move-action.png


二進制
docs/howto/img/recycle-rule-path.png


二進制
docs/howto/img/recycle-rule.png


二進制
docs/howto/img/s3-key-prefix.png


二進制
docs/howto/img/s3-private-folder.png


二進制
docs/howto/img/s3-user-1.png


二進制
docs/howto/img/s3-user-2.png


二進制
docs/howto/img/setup.png


二進制
docs/howto/img/sftp-user.png


二進制
docs/howto/img/simplified-admin.png


二進制
docs/howto/img/status.png


二進制
docs/howto/img/upload-notification.png


二進制
docs/howto/img/upload-rule.png


二進制
docs/howto/img/user-2FA-disabled.png


二進制
docs/howto/img/user-2FA-login.png


二進制
docs/howto/img/user-save-2FA.png


二進制
docs/howto/img/virtual-folders.png


二進制
docs/howto/img/virtual-permissions.png


二進制
docs/howto/img/web-client-files.png


二進制
docs/howto/img/web-client-two-factor-auth.png


+ 6 - 2
docs/howto/two-factor-authentication.md

@@ -41,10 +41,12 @@ Each admin can view/change his/her two-factor authentication by selecting the `T
 
 
 ![Admin 2FA](./img/admin-2FA.png)
 ![Admin 2FA](./img/admin-2FA.png)
 
 
-Then select a configuration and click "Generate new secret". A QR code will be generated which you can scan with a compatible app. After you configured your app, enter a test code to ensure everything works correctly and click on "Verify and save".
+Then select a configuration and click "Generate new secret key". A QR code will be generated which you can scan with a compatible app. After you configured your app, enter a test code to ensure everything works correctly and click on "Save".
 
 
 ![Enable 2FA](./img/admin-save-2FA.png)
 ![Enable 2FA](./img/admin-save-2FA.png)
 
 
+Then save the configuration.
+
 SFTPGo automatically generates some recovery codes. They are a set of one time use codes that can be used in place of the TOTP to login to the web UI. You can use them if you lose access to your phone to login to your account and disable or regenerate TOTP configuration.
 SFTPGo automatically generates some recovery codes. They are a set of one time use codes that can be used in place of the TOTP to login to the web UI. You can use them if you lose access to your phone to login to your account and disable or regenerate TOTP configuration.
 
 
 2FA is now enabled, so the next time you login with this admin you have to provide a valid authentication code after your password.
 2FA is now enabled, so the next time you login with this admin you have to provide a valid authentication code after your password.
@@ -82,10 +84,12 @@ HTTP protocol means Web UI and REST APIs. Web UI will ask for the passcode using
 
 
 FTP has no standard way to support two factor authentication, if you enable the FTP protocol, you have to add the TOTP passcode after the password. For example if your password is "password" and your one time passcode is "123456" you have to use "password123456" as password.
 FTP has no standard way to support two factor authentication, if you enable the FTP protocol, you have to add the TOTP passcode after the password. For example if your password is "password" and your one time passcode is "123456" you have to use "password123456" as password.
 
 
-To enable 2FA select the wanted protocols, a configuration and click "Generate new secret". A QR code will be generated which you can scan with a compatible app. After you configured your app, enter a test code to ensure everything works correctly and click on "Verify and save".
+To enable 2FA select the wanted protocols, a configuration and click "Generate new secret key". A QR code will be generated which you can scan with a compatible app. After you configured your app, enter a test code to ensure everything works correctly and click on "Save".
 
 
 ![Enable 2FA](./img/user-save-2FA.png)
 ![Enable 2FA](./img/user-save-2FA.png)
 
 
+Then save the configuration.
+
 SFTPGo automatically generates some recovery codes. They are a set of one time use codes that can be used in place of the TOTP to login to the web UI. You can use them if you lose access to your phone to login to your account and disable or regenerate TOTP configuration.
 SFTPGo automatically generates some recovery codes. They are a set of one time use codes that can be used in place of the TOTP to login to the web UI. You can use them if you lose access to your phone to login to your account and disable or regenerate TOTP configuration.
 
 
 2FA is now enabled, so the next time you login with this user you have to provide a valid authentication code after your password.
 2FA is now enabled, so the next time you login with this user you have to provide a valid authentication code after your password.

+ 4 - 3
static/locales/en/translation.json

@@ -167,7 +167,7 @@
         "api_key_auth": "API key authentication",
         "api_key_auth": "API key authentication",
         "api_key_auth_help": "Allow to impersonate yourself, in REST API, using an API key",
         "api_key_auth_help": "Allow to impersonate yourself, in REST API, using an API key",
         "pub_keys": "Public keys",
         "pub_keys": "Public keys",
-        "pub_key_placeholder": "Paste your public key here",
+        "pub_key_placeholder": "Paste a public key here",
         "verify": "Verify",
         "verify": "Verify",
         "problems": "Having problems?",
         "problems": "Having problems?",
         "allowed_ip_mask": "Allowed IP/Mask",
         "allowed_ip_mask": "Allowed IP/Mask",
@@ -522,7 +522,7 @@
         "expires_in": "Expires in",
         "expires_in": "Expires in",
         "expires_in_help": "Account expiration as number of days from the creation. 0 means no expiration",
         "expires_in_help": "Account expiration as number of days from the creation. 0 means no expiration",
         "tls_certs": "TLS certificates",
         "tls_certs": "TLS certificates",
-        "tls_cert_help": "Paste your PEM encoded TLS certificate here",
+        "tls_cert_help": "Paste a PEM encoded TLS certificate here",
         "tls_cert_invalid": "Invalid TLS certificate",
         "tls_cert_invalid": "Invalid TLS certificate",
         "template_title": "Create one or more new users from this template",
         "template_title": "Create one or more new users from this template",
         "template_username_placeholder": "replaced with the specified username",
         "template_username_placeholder": "replaced with the specified username",
@@ -533,7 +533,8 @@
     },
     },
     "group": {
     "group": {
         "view_manage": "View and manage groups",
         "view_manage": "View and manage groups",
-        "err_delete_referenced": "Cannot delete a group with associated users, remove associations first"
+        "err_delete_referenced": "Cannot delete a group with associated users, remove associations first",
+        "help": "The %username% placeholder will be replaced with the username of the associated users"
     },
     },
     "virtual_folders": {
     "virtual_folders": {
         "view_manage": "View and manage virtual folders",
         "view_manage": "View and manage virtual folders",

+ 4 - 3
static/locales/it/translation.json

@@ -167,7 +167,7 @@
         "api_key_auth": "Autenticazione mediante chiave API",
         "api_key_auth": "Autenticazione mediante chiave API",
         "api_key_auth_help": "Permetti di impersonarti nelle API REST utilizzando una chiave API",
         "api_key_auth_help": "Permetti di impersonarti nelle API REST utilizzando una chiave API",
         "pub_keys": "Chiavi pubbliche",
         "pub_keys": "Chiavi pubbliche",
-        "pub_key_placeholder": "Incolla qui la tua chiave pubblica",
+        "pub_key_placeholder": "Incolla qui una chiave pubblica",
         "verify": "Verifica",
         "verify": "Verifica",
         "problems": "Hai problemi?",
         "problems": "Hai problemi?",
         "allowed_ip_mask": "IP/Reti permesse",
         "allowed_ip_mask": "IP/Reti permesse",
@@ -522,7 +522,7 @@
         "expires_in": "Scadenza",
         "expires_in": "Scadenza",
         "expires_in_help": "Scadenza dell'account espressa in numero di giorni dalla creazione. 0 significa nessuna scadenza",
         "expires_in_help": "Scadenza dell'account espressa in numero di giorni dalla creazione. 0 significa nessuna scadenza",
         "tls_certs": "Certificati TLS",
         "tls_certs": "Certificati TLS",
-        "tls_cert_help": "Incolla qui il tuo certificato TLS codificato PEM",
+        "tls_cert_help": "Incolla qui un tuo certificato TLS codificato PEM",
         "tls_cert_invalid": "Certificato TLS non valido",
         "tls_cert_invalid": "Certificato TLS non valido",
         "template_title": "Crea uno o più nuovi utenti da questo modello",
         "template_title": "Crea uno o più nuovi utenti da questo modello",
         "template_username_placeholder": "sostituito con il nome utente specificato",
         "template_username_placeholder": "sostituito con il nome utente specificato",
@@ -533,7 +533,8 @@
     },
     },
     "group": {
     "group": {
         "view_manage": "Visualizza e gestisci gruppi",
         "view_manage": "Visualizza e gestisci gruppi",
-        "err_delete_referenced": "Impossibile eliminare un gruppo con utenti associati, rimuovere prima le associazioni"
+        "err_delete_referenced": "Impossibile eliminare un gruppo con utenti associati, rimuovere prima le associazioni",
+        "help": "Il segnaposto %username% verrà sostituito con il nome utente degli utenti associati"
     },
     },
     "virtual_folders": {
     "virtual_folders": {
         "view_manage": "Visualizza e gestisci cartelle virtuali",
         "view_manage": "Visualizza e gestisci cartelle virtuali",

+ 10 - 0
templates/common/base.html

@@ -732,6 +732,16 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
 {{- end}}
 {{- end}}
 
 
 {{- define "infomsg"}}
 {{- define "infomsg"}}
+<div class="notice d-flex bg-light-primary rounded border-primary border border-dashed p-4 mb-10">
+    <div class="d-flex flex-stack flex-grow-1">
+        <div class="fs-5 fw-semibold text-break text-wrap text-gray-800">
+            <span data-i18n="{{.}}"></span>
+        </div>
+    </div>
+</div>
+{{- end}}
+
+{{- define "infomsg-no-mb"}}
 <div class="notice d-flex bg-light-primary rounded border-primary border border-dashed p-4">
 <div class="notice d-flex bg-light-primary rounded border-primary border border-dashed p-4">
     <div class="d-flex flex-stack flex-grow-1">
     <div class="d-flex flex-stack flex-grow-1">
         <div class="fs-5 fw-semibold text-break text-wrap text-gray-800">
         <div class="fs-5 fw-semibold text-break text-wrap text-gray-800">

+ 2 - 3
templates/common/changepassword.html

@@ -21,11 +21,10 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
         <h3 data-i18n="title.change_password" class="card-title section-title">Change password</h3>
         <h3 data-i18n="title.change_password" class="card-title section-title">Change password</h3>
     </div>
     </div>
     <div class="card-body">
     <div class="card-body">
-        {{template "infomsg" "change_pwd.info"}}
-
+        {{- template "infomsg" "change_pwd.info"}}
         {{- template "errmsg" .Error}}
         {{- template "errmsg" .Error}}
         <form id="change_pwd_form" action="{{.CurrentURL}}" method="POST" autocomplete="off">
         <form id="change_pwd_form" action="{{.CurrentURL}}" method="POST" autocomplete="off">
-            <div class="form-group row mt-10">
+            <div class="form-group row">
                 <label data-i18n="change_pwd.current" class="col-md-3 col-form-label required">Current password</label>
                 <label data-i18n="change_pwd.current" class="col-md-3 col-form-label required">Current password</label>
                 <div class="col-md-9">
                 <div class="col-md-9">
                     <div class="position-relative" data-password-control="container">
                     <div class="position-relative" data-password-control="container">

+ 5 - 5
templates/webadmin/admin.html

@@ -69,8 +69,8 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                     <h3 data-i18n="general.role" class="card-title section-title-inner">Role</h3>
                     <h3 data-i18n="general.role" class="card-title section-title-inner">Role</h3>
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
-                    {{template "infomsg" "admin.role_help"}}
-                    <div class="form-group row mt-10">
+                    {{- template "infomsg" "admin.role_help"}}
+                    <div class="form-group row">
                         <label for="idRole" data-i18n="general.role" class="col-md-3 col-form-label">Role</label>
                         <label for="idRole" data-i18n="general.role" class="col-md-3 col-form-label">Role</label>
                         <div class="col-md-9">
                         <div class="col-md-9">
                             <select id="idRole" name="role" data-i18n="[data-placeholder]general.role_placeholder" class="form-select" data-control="i18n-select2" data-placeholder="Select a role" data-allow-clear="true">
                             <select id="idRole" name="role" data-i18n="[data-placeholder]general.role_placeholder" class="form-select" data-control="i18n-select2" data-placeholder="Select a role" data-allow-clear="true">
@@ -92,7 +92,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="groups">
                     <div id="groups">
-                        {{template "infomsg" "admin.users_groups_help"}}
+                        {{- template "infomsg-no-mb" "admin.users_groups_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="groups">
                             <div data-repeater-list="groups">
                                 {{range $idx, $val := .Admin.Groups}}
                                 {{range $idx, $val := .Admin.Groups}}
@@ -181,9 +181,9 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                     <h3 data-i18n="admin.user_page_pref" class="card-title section-title-inner">User page preferences</h3>
                     <h3 data-i18n="admin.user_page_pref" class="card-title section-title-inner">User page preferences</h3>
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
-                    {{template "infomsg" "admin.user_page_pref_help"}}
+                    {{- template "infomsg" "admin.user_page_pref_help"}}
 
 
-                    <div class="form-group row mt-10">
+                    <div class="form-group row">
                         <label for="idUserPageHiddenSections" data-i18n="admin.hide_sections" class="col-md-3 col-form-label">Hide sections</label>
                         <label for="idUserPageHiddenSections" data-i18n="admin.hide_sections" class="col-md-3 col-form-label">Hide sections</label>
                         <div class="col-md-9">
                         <div class="col-md-9">
                             <select id="idUserPageHiddenSections" name="user_page_hidden_sections" class="form-select" data-control="i18n-select2" data-hide-search="true" data-close-on-select="false" multiple>
                             <select id="idUserPageHiddenSections" name="user_page_hidden_sections" class="form-select" data-control="i18n-select2" data-hide-search="true" data-close-on-select="false" multiple>

+ 6 - 6
templates/webadmin/configs.html

@@ -31,10 +31,10 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </h2>
                 </h2>
                 <div id="accordion_sftp_body" class="accordion-collapse collapse {{if eq .ConfigSection 1}}show{{end}}" aria-labelledby="accordion_header_sftp" data-bs-parent="#accordion_configs">
                 <div id="accordion_sftp_body" class="accordion-collapse collapse {{if eq .ConfigSection 1}}show{{end}}" aria-labelledby="accordion_header_sftp" data-bs-parent="#accordion_configs">
                     <div class="accordion-body">
                     <div class="accordion-body">
-                        {{template "infomsg" "sftp.help"}}
+                        {{- template "infomsg" "sftp.help"}}
 
 
                         <form id="configs_sftp_form" action="{{.CurrentURL}}" method="POST" autocomplete="off">
                         <form id="configs_sftp_form" action="{{.CurrentURL}}" method="POST" autocomplete="off">
-                            <div class="form-group row mt-10">
+                            <div class="form-group row">
                                 <label for="idHostKeyAlgos" data-i18n="sftp.host_key_algos" class="col-md-3 col-form-label">
                                 <label for="idHostKeyAlgos" data-i18n="sftp.host_key_algos" class="col-md-3 col-form-label">
                                     Host Key Algos
                                     Host Key Algos
                                 </label>
                                 </label>
@@ -126,11 +126,11 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </h2>
                 </h2>
                 <div id="accordion_acme_body" class="accordion-collapse collapse {{if eq .ConfigSection 2}}show{{end}}" aria-labelledby="accordion_header_acme" data-bs-parent="#accordion_configs">
                 <div id="accordion_acme_body" class="accordion-collapse collapse {{if eq .ConfigSection 2}}show{{end}}" aria-labelledby="accordion_header_acme" data-bs-parent="#accordion_configs">
                     <div class="accordion-body">
                     <div class="accordion-body">
-                        {{template "infomsg" "acme.help"}}
+                        {{- template "infomsg" "acme.help"}}
 
 
                         <form id="configs_acme_form" action="{{.CurrentURL}}" method="POST" autocomplete="off">
                         <form id="configs_acme_form" action="{{.CurrentURL}}" method="POST" autocomplete="off">
 
 
-                            <div class="form-group row mt-10">
+                            <div class="form-group row">
                                 <label for="idACMEDomain" data-i18n="general.domain" class="col-md-3 col-form-label">Domain</label>
                                 <label for="idACMEDomain" data-i18n="general.domain" class="col-md-3 col-form-label">Domain</label>
                                 <div class="col-md-9">
                                 <div class="col-md-9">
                                     <input id="idACMEDomain" type="text" class="form-control" name="acme_domain" value="{{.Configs.ACME.Domain}}" aria-describedby="idACMEDomainHelp" />
                                     <input id="idACMEDomain" type="text" class="form-control" name="acme_domain" value="{{.Configs.ACME.Domain}}" aria-describedby="idACMEDomainHelp" />
@@ -195,11 +195,11 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </h2>
                 </h2>
                 <div id="accordion_smtp_body" class="accordion-collapse collapse {{if eq .ConfigSection 3}}show{{end}}" aria-labelledby="accordion_header_smtp" data-bs-parent="#accordion_configs">
                 <div id="accordion_smtp_body" class="accordion-collapse collapse {{if eq .ConfigSection 3}}show{{end}}" aria-labelledby="accordion_header_smtp" data-bs-parent="#accordion_configs">
                     <div class="accordion-body">
                     <div class="accordion-body">
-                        {{template "infomsg" "smtp.help"}}
+                        {{- template "infomsg" "smtp.help"}}
 
 
                         <form id="configs_smtp_form" action="{{.CurrentURL}}" method="POST" autocomplete="off">
                         <form id="configs_smtp_form" action="{{.CurrentURL}}" method="POST" autocomplete="off">
 
 
-                            <div class="form-group row mt-10">
+                            <div class="form-group row">
                                 <label for="idSMTPHost" data-i18n="smtp.host" class="col-md-3 col-form-label">Server name</label>
                                 <label for="idSMTPHost" data-i18n="smtp.host" class="col-md-3 col-form-label">Server name</label>
                                 <div class="col-md-5">
                                 <div class="col-md-5">
                                     <input id="idSMTPHost" type="text" class="form-control" name="smtp_host" value="{{.Configs.SMTP.Host}}" maxlength="512" spellcheck="false" aria-describedby="idSMTPHostHelp" />
                                     <input id="idSMTPHost" type="text" class="form-control" name="smtp_host" value="{{.Configs.SMTP.Host}}" maxlength="512" spellcheck="false" aria-describedby="idSMTPHostHelp" />

+ 5 - 5
templates/webadmin/eventaction.html

@@ -295,7 +295,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="multipart_body">
                     <div id="multipart_body">
-                        {{template "infomsg" "actions.multipart_body_help"}}
+                        {{- template "infomsg-no-mb" "actions.multipart_body_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="multipart_body">
                             <div data-repeater-list="multipart_body">
                                 {{- range $idx, $val := .Action.Options.HTTPConfig.Parts}}
                                 {{- range $idx, $val := .Action.Options.HTTPConfig.Parts}}
@@ -411,7 +411,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="env_vars">
                     <div id="env_vars">
-                        {{template "infomsg" "actions.command_env_vars_help"}}
+                        {{- template "infomsg-no-mb" "actions.command_env_vars_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="env_vars">
                             <div data-repeater-list="env_vars">
                                 {{- range $idx, $val := .Action.Options.CmdConfig.EnvVars}}
                                 {{- range $idx, $val := .Action.Options.CmdConfig.EnvVars}}
@@ -536,7 +536,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="data_retention">
                     <div id="data_retention">
-                        {{template "infomsg" "actions.data_retention_help"}}
+                        {{- template "infomsg-no-mb" "actions.data_retention_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="data_retention">
                             <div data-repeater-list="data_retention">
                                 {{- range $idx, $val := .Action.Options.RetentionConfig.Folders}}
                                 {{- range $idx, $val := .Action.Options.RetentionConfig.Folders}}
@@ -632,7 +632,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="fs_rename">
                     <div id="fs_rename">
-                        {{template "infomsg" "actions.paths_src_dst_help"}}
+                        {{- template "infomsg-no-mb" "actions.paths_src_dst_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="fs_rename">
                             <div data-repeater-list="fs_rename">
                                 {{- range $idx, $val := .Action.Options.FsConfig.Renames}}
                                 {{- range $idx, $val := .Action.Options.FsConfig.Renames}}
@@ -730,7 +730,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="fs_copy">
                     <div id="fs_copy">
-                        {{template "infomsg" "actions.paths_src_dst_help"}}
+                        {{- template "infomsg-no-mb" "actions.paths_src_dst_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="fs_copy">
                             <div data-repeater-list="fs_copy">
                                 {{- range $idx, $val := .Action.Options.FsConfig.Copy}}
                                 {{- range $idx, $val := .Action.Options.FsConfig.Copy}}

+ 8 - 8
templates/webadmin/eventrule.html

@@ -99,7 +99,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="schedules">
                     <div id="schedules">
-                        {{template "infomsg" "rules.scheduler_help"}}
+                        {{- template "infomsg-no-mb" "rules.scheduler_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="schedules">
                             <div data-repeater-list="schedules">
                                 {{- range $idx, $val := .Rule.Conditions.Schedules}}
                                 {{- range $idx, $val := .Rule.Conditions.Schedules}}
@@ -219,7 +219,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="name_filters">
                     <div id="name_filters">
-                        {{template "infomsg" "rules.name_filters_help"}}
+                        {{- template "infomsg-no-mb" "rules.name_filters_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="name_filters">
                             <div data-repeater-list="name_filters">
                                 {{- range $idx, $val := .Rule.Conditions.Options.Names}}
                                 {{- range $idx, $val := .Rule.Conditions.Options.Names}}
@@ -296,7 +296,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="group_name_filters">
                     <div id="group_name_filters">
-                        {{template "infomsg" "rules.group_name_filters_help"}}
+                        {{- template "infomsg-no-mb" "rules.group_name_filters_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="group_name_filters">
                             <div data-repeater-list="group_name_filters">
                                 {{- range $idx, $val := .Rule.Conditions.Options.GroupNames}}
                                 {{- range $idx, $val := .Rule.Conditions.Options.GroupNames}}
@@ -373,7 +373,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="role_name_filters">
                     <div id="role_name_filters">
-                        {{template "infomsg" "rules.role_name_filters_help"}}
+                        {{- template "infomsg-no-mb" "rules.role_name_filters_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="role_name_filters">
                             <div data-repeater-list="role_name_filters">
                                 {{- range $idx, $val := .Rule.Conditions.Options.RoleNames}}
                                 {{- range $idx, $val := .Rule.Conditions.Options.RoleNames}}
@@ -450,7 +450,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="path_filters">
                     <div id="path_filters">
-                        {{template "infomsg" "rules.path_filters_help"}}
+                        {{- template "infomsg-no-mb" "rules.path_filters_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="path_filters">
                             <div data-repeater-list="path_filters">
                                 {{- range $idx, $val := .Rule.Conditions.Options.FsPaths}}
                                 {{- range $idx, $val := .Rule.Conditions.Options.FsPaths}}
@@ -528,8 +528,8 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                     </h3>
                     </h3>
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
-                    {{template "infomsg" "rules.file_size_limits_help"}}
-                    <div class="form-group row mt-10">
+                    {{- template "infomsg" "rules.file_size_limits_help"}}
+                    <div class="form-group row">
                         <label for="idFsMinSize" data-i18n="rules.min_size" class="col-md-3 col-form-label">Min size</label>
                         <label for="idFsMinSize" data-i18n="rules.min_size" class="col-md-3 col-form-label">Min size</label>
                         <div class="col-md-3">
                         <div class="col-md-3">
                             <input id="idFsMinSize" type="text" class="form-control" name="fs_min_size" value="{{HumanizeBytes .Rule.Conditions.Options.MinFileSize}}" />
                             <input id="idFsMinSize" type="text" class="form-control" name="fs_min_size" value="{{HumanizeBytes .Rule.Conditions.Options.MinFileSize}}" />
@@ -549,7 +549,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="actions">
                     <div id="actions">
-                        {{template "infomsg" "rules.actions_help"}}
+                        {{- template "infomsg-no-mb" "rules.actions_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="actions">
                             <div data-repeater-list="actions">
                                 {{- range $idx, $val := .Rule.Actions}}
                                 {{- range $idx, $val := .Rule.Actions}}

+ 1 - 1
templates/webadmin/fsconfig.html

@@ -517,7 +517,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
     </div>
     </div>
     <div class="card-body">
     <div class="card-body">
         <div id="directory_patterns">
         <div id="directory_patterns">
-            {{template "infomsg" "filters.directory_patterns_help"}}
+            {{- template "infomsg-no-mb" "filters.directory_patterns_help"}}
             <div class="form-group">
             <div class="form-group">
                 <div data-repeater-list="directory_patterns">
                 <div data-repeater-list="directory_patterns">
                     {{- range $idx, $pattern := .GetFlatFilePatterns -}}
                     {{- range $idx, $pattern := .GetFlatFilePatterns -}}

+ 3 - 2
templates/webadmin/group.html

@@ -21,6 +21,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
         <h3 data-i18n="{{.Title}}" class="card-title section-title"></h3>
         <h3 data-i18n="{{.Title}}" class="card-title section-title"></h3>
     </div>
     </div>
     <div class="card-body">
     <div class="card-body">
+        {{- template "infomsg" "group.help"}}
         {{- template "errmsg" .Error}}
         {{- template "errmsg" .Error}}
         <form id="group_form" enctype="multipart/form-data" action="{{.CurrentURL}}" method="POST" autocomplete="off">
         <form id="group_form" enctype="multipart/form-data" action="{{.CurrentURL}}" method="POST" autocomplete="off">
 
 
@@ -47,7 +48,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="virtual_folders">
                     <div id="virtual_folders">
-                        {{template "infomsg" "user.virtual_folders_help"}}
+                        {{- template "infomsg-no-mb" "user.virtual_folders_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="virtual_folders">
                             <div data-repeater-list="virtual_folders">
                                 {{- range $idx, $val := .Group.VirtualFolders}}
                                 {{- range $idx, $val := .Group.VirtualFolders}}
@@ -156,7 +157,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                                 </div>
                                 </div>
                                 <div class="card-body">
                                 <div class="card-body">
                                     <div id="directory_permissions">
                                     <div id="directory_permissions">
-                                        {{template "infomsg" "filters.directory_permissions_help"}}
+                                        {{- template "infomsg-no-mb" "filters.directory_permissions_help"}}
                                         <div class="form-group">
                                         <div class="form-group">
                                             <div data-repeater-list="directory_permissions">
                                             <div data-repeater-list="directory_permissions">
                                                 {{- range $idx, $dirPerms := .Group.GetPermissions -}}
                                                 {{- range $idx, $dirPerms := .Group.GetPermissions -}}

+ 4 - 4
templates/webadmin/user.html

@@ -216,8 +216,8 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                     <h3 data-i18n="title.groups" class="card-title section-title-inner">Groups</h3>
                     <h3 data-i18n="title.groups" class="card-title section-title-inner">Groups</h3>
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
-                    {{template "infomsg" "user.groups_help"}}
-                    <div class="form-group row mt-10">
+                    {{- template "infomsg" "user.groups_help"}}
+                    <div class="form-group row">
                         <label for="idPrimaryGroup" data-i18n="user.primary_group" class="col-md-3 col-form-label">Primary group</label>
                         <label for="idPrimaryGroup" data-i18n="user.primary_group" class="col-md-3 col-form-label">Primary group</label>
                         <div class="col-md-9">
                         <div class="col-md-9">
                             <select id="idPrimaryGroup" name="primary_group" data-i18n="[data-placeholder]general.group_placeholder" class="form-select" data-control="i18n-select2" data-placeholder="Select a group" data-allow-clear="true">
                             <select id="idPrimaryGroup" name="primary_group" data-i18n="[data-placeholder]general.group_placeholder" class="form-select" data-control="i18n-select2" data-placeholder="Select a group" data-allow-clear="true">
@@ -264,7 +264,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                 </div>
                 </div>
                 <div class="card-body">
                 <div class="card-body">
                     <div id="virtual_folders">
                     <div id="virtual_folders">
-                        {{template "infomsg" "user.virtual_folders_help"}}
+                        {{- template "infomsg-no-mb" "user.virtual_folders_help"}}
                         <div class="form-group">
                         <div class="form-group">
                             <div data-repeater-list="virtual_folders">
                             <div data-repeater-list="virtual_folders">
                                 {{- range $idx, $val := .User.VirtualFolders}}
                                 {{- range $idx, $val := .User.VirtualFolders}}
@@ -443,7 +443,7 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
                                 </div>
                                 </div>
                                 <div class="card-body">
                                 <div class="card-body">
                                     <div id="directory_permissions">
                                     <div id="directory_permissions">
-                                        {{template "infomsg" "filters.directory_permissions_help"}}
+                                        {{- template "infomsg-no-mb" "filters.directory_permissions_help"}}
                                         <div class="form-group">
                                         <div class="form-group">
                                             <div data-repeater-list="directory_permissions">
                                             <div data-repeater-list="directory_permissions">
                                                 {{- range $idx, $dirPerms := .User.GetSubDirPermissions -}}
                                                 {{- range $idx, $dirPerms := .User.GetSubDirPermissions -}}