Compare commits
2 Commits
5c80fa0860
...
87b04e84d3
| Author | SHA1 | Date | |
|---|---|---|---|
| 87b04e84d3 | |||
| c1256f6425 |
@@ -1207,38 +1207,38 @@
|
|||||||
<!-- 全局设置 -->
|
<!-- 全局设置 -->
|
||||||
<div style="background: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 20px;">
|
<div style="background: #f8f9fa; padding: 15px; border-radius: 8px; margin-bottom: 20px;">
|
||||||
<div class="form-group" style="margin-bottom: 10px;">
|
<div class="form-group" style="margin-bottom: 10px;">
|
||||||
<label style="display: flex; align-items: center; gap: 10px;">
|
<div style="display: flex; align-items: center; gap: 10px;">
|
||||||
<input type="checkbox" id="emailEnabled" onchange="updateEmailSettings()" style="width: auto; max-width: none;">
|
<input type="checkbox" id="emailEnabled" onchange="updateEmailSettings()" style="width: auto; max-width: none; cursor: pointer;">
|
||||||
启用邮件功能
|
<span>启用邮件功能</span>
|
||||||
</label>
|
</div>
|
||||||
<div style="font-size: 12px; color: #666; margin-top: 5px;">
|
<div style="font-size: 12px; color: #666; margin-top: 5px; margin-left: 28px;">
|
||||||
开启后,系统将支持邮箱验证、密码重置邮件、任务完成通知等功能
|
开启后,系统将支持邮箱验证、密码重置邮件、任务完成通知等功能
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" style="margin-bottom: 10px;">
|
<div class="form-group" style="margin-bottom: 10px;">
|
||||||
<label style="display: flex; align-items: center; gap: 10px;">
|
<div style="display: flex; align-items: center; gap: 10px;">
|
||||||
<input type="checkbox" id="failoverEnabled" onchange="updateEmailSettings()" style="width: auto; max-width: none;">
|
<input type="checkbox" id="failoverEnabled" onchange="updateEmailSettings()" style="width: auto; max-width: none; cursor: pointer;">
|
||||||
启用故障转移
|
<span>启用故障转移</span>
|
||||||
</label>
|
</div>
|
||||||
<div style="font-size: 12px; color: #666; margin-top: 5px;">
|
<div style="font-size: 12px; color: #666; margin-top: 5px; margin-left: 28px;">
|
||||||
开启后,主SMTP配置发送失败时自动切换到备用配置
|
开启后,主SMTP配置发送失败时自动切换到备用配置
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" style="margin-bottom: 10px;">
|
<div class="form-group" style="margin-bottom: 10px;">
|
||||||
<label style="display: flex; align-items: center; gap: 10px;">
|
<div style="display: flex; align-items: center; gap: 10px;">
|
||||||
<input type="checkbox" id="registerVerifyEnabled" onchange="updateEmailSettings()" style="width: auto; max-width: none;">
|
<input type="checkbox" id="registerVerifyEnabled" onchange="updateEmailSettings()" style="width: auto; max-width: none; cursor: pointer;">
|
||||||
启用注册邮箱验证
|
<span>启用注册邮箱验证</span>
|
||||||
</label>
|
</div>
|
||||||
<div style="font-size: 12px; color: #666; margin-top: 5px;">
|
<div style="font-size: 12px; color: #666; margin-top: 5px; margin-left: 28px;">
|
||||||
开启后,新用户注册需通过邮箱验证才能激活账号(优先级高于自动审核)
|
开启后,新用户注册需通过邮箱验证才能激活账号(优先级高于自动审核)
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" style="margin-bottom: 10px;">
|
<div class="form-group" style="margin-bottom: 10px;">
|
||||||
<label style="display: flex; align-items: center; gap: 10px;">
|
<div style="display: flex; align-items: center; gap: 10px;">
|
||||||
<input type="checkbox" id="taskNotifyEnabled" onchange="updateEmailSettings()" style="width: auto; max-width: none;">
|
<input type="checkbox" id="taskNotifyEnabled" onchange="updateEmailSettings()" style="width: auto; max-width: none; cursor: pointer;">
|
||||||
启用任务完成通知
|
<span>启用任务完成通知</span>
|
||||||
</label>
|
</div>
|
||||||
<div style="font-size: 12px; color: #666; margin-top: 5px;">
|
<div style="font-size: 12px; color: #666; margin-top: 5px; margin-left: 28px;">
|
||||||
开启后,定时任务完成时将发送邮件通知给用户(用户需已设置邮箱)
|
开启后,定时任务完成时将发送邮件通知给用户(用户需已设置邮箱)
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -184,7 +184,7 @@
|
|||||||
<label for="captcha">验证码</label>
|
<label for="captcha">验证码</label>
|
||||||
<div style="display: flex; gap: 10px; align-items: center;">
|
<div style="display: flex; gap: 10px; align-items: center;">
|
||||||
<input type="text" id="captcha" name="captcha" placeholder="请输入验证码" style="flex: 1;">
|
<input type="text" id="captcha" name="captcha" placeholder="请输入验证码" style="flex: 1;">
|
||||||
<img id="captchaImage" src="" alt="验证码" style="height: 36px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshCaptcha()" title="点击刷新">
|
<img id="captchaImage" src="" alt="验证码" style="height: 50px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshCaptcha()" title="点击刷新">
|
||||||
<button type="button" onclick="refreshCaptcha()" style="padding: 8px 15px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;">刷新</button>
|
<button type="button" onclick="refreshCaptcha()" style="padding: 8px 15px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;">刷新</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -185,7 +185,7 @@
|
|||||||
<label for="captcha">验证码</label>
|
<label for="captcha">验证码</label>
|
||||||
<div class="captcha-row">
|
<div class="captcha-row">
|
||||||
<input type="text" id="captcha" name="captcha" placeholder="请输入验证码">
|
<input type="text" id="captcha" name="captcha" placeholder="请输入验证码">
|
||||||
<img id="captchaImage" src="" alt="验证码" style="height: 36px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshCaptcha()" title="点击刷新">
|
<img id="captchaImage" src="" alt="验证码" style="height: 50px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshCaptcha()" title="点击刷新">
|
||||||
<button type="button" class="captcha-refresh" onclick="refreshCaptcha()">🔄</button>
|
<button type="button" class="captcha-refresh" onclick="refreshCaptcha()">🔄</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
<label>验证码</label>
|
<label>验证码</label>
|
||||||
<div class="captcha-row">
|
<div class="captcha-row">
|
||||||
<input type="text" id="emailResetCaptcha" placeholder="请输入验证码" required>
|
<input type="text" id="emailResetCaptcha" placeholder="请输入验证码" required>
|
||||||
<img id="emailResetCaptchaImage" src="" alt="验证码" style="height: 36px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshEmailResetCaptcha()" title="点击刷新">
|
<img id="emailResetCaptchaImage" src="" alt="验证码" style="height: 50px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshEmailResetCaptcha()" title="点击刷新">
|
||||||
<button type="button" class="captcha-refresh" onclick="refreshEmailResetCaptcha()">🔄</button>
|
<button type="button" class="captcha-refresh" onclick="refreshEmailResetCaptcha()">🔄</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -242,7 +242,7 @@
|
|||||||
<label>验证码</label>
|
<label>验证码</label>
|
||||||
<div class="captcha-row">
|
<div class="captcha-row">
|
||||||
<input type="text" id="resendCaptcha" placeholder="请输入验证码" required>
|
<input type="text" id="resendCaptcha" placeholder="请输入验证码" required>
|
||||||
<img id="resendCaptchaImage" src="" alt="验证码" style="height: 36px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshResendCaptcha()" title="点击刷新">
|
<img id="resendCaptchaImage" src="" alt="验证码" style="height: 50px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshResendCaptcha()" title="点击刷新">
|
||||||
<button type="button" class="captcha-refresh" onclick="refreshResendCaptcha()">🔄</button>
|
<button type="button" class="captcha-refresh" onclick="refreshResendCaptcha()">🔄</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -181,7 +181,7 @@
|
|||||||
<label for="captcha">验证码</label>
|
<label for="captcha">验证码</label>
|
||||||
<div style="display: flex; gap: 10px; align-items: center;">
|
<div style="display: flex; gap: 10px; align-items: center;">
|
||||||
<input type="text" id="captcha" placeholder="请输入验证码" required style="flex: 1;">
|
<input type="text" id="captcha" placeholder="请输入验证码" required style="flex: 1;">
|
||||||
<img id="captchaImage" src="" alt="验证码" style="height: 40px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshCaptcha()" title="点击刷新">
|
<img id="captchaImage" src="" alt="验证码" style="height: 50px; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;" onclick="refreshCaptcha()" title="点击刷新">
|
||||||
<button type="button" onclick="refreshCaptcha()" style="padding: 8px 15px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;">刷新</button>
|
<button type="button" onclick="refreshCaptcha()" style="padding: 8px 15px; background: #f0f0f0; border: 1px solid #ddd; border-radius: 4px; cursor: pointer;">刷新</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user