|
@@ -133,7 +133,7 @@ class TemplateService:
|
|
|
elif type == 'get_device_password':
|
|
|
data = {
|
|
|
'cn': {
|
|
|
- 'title': '查看设备密码',
|
|
|
+ 'title': '重置设备密码',
|
|
|
'body': """
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
@@ -145,7 +145,7 @@ class TemplateService:
|
|
|
<div class="content"
|
|
|
style="overflow: hidden;padding:30px 10% 70px 10%;margin:0 10%;background-color: #fff;box-shadow:0 4px 20px rgba(0,0,0,0.1);word-break: break-all;">
|
|
|
<h2 style="margin: 30px 0;">您好,{username}</h2>
|
|
|
- <p style="margin-bottom: 40px;">请输入验证码查看设备密码,有效期5分钟:</p>
|
|
|
+ <p style="margin-bottom: 40px;">请输入验证码重置设备密码,有效期5分钟:</p>
|
|
|
<span style="padding: 10px 20px; font-size: 24px;background-color: #EB6F5A;border-radius:4px;color:#fff;">{captcha}</span>
|
|
|
</div>
|
|
|
</body>
|
|
@@ -153,7 +153,7 @@ class TemplateService:
|
|
|
""",
|
|
|
},
|
|
|
'en': {
|
|
|
- 'title': 'View Device Password',
|
|
|
+ 'title': 'Reset Device Password',
|
|
|
'body': """
|
|
|
<!DOCTYPE html>
|
|
|
<html lang="en">
|
|
@@ -165,7 +165,7 @@ class TemplateService:
|
|
|
<div class="content"
|
|
|
style="overflow: hidden;padding:30px 10% 70px 10%;margin:0 10%;background-color: #fff;box-shadow:0 4px 20px rgba(0,0,0,0.1);word-break: break-all;">
|
|
|
<h2 style="margin: 30px 0;">Hello, {username}</h2>
|
|
|
- <p style="margin-bottom: 40px;">Please input code to view device password. only valid in 5 minutes!</p>
|
|
|
+ <p style="margin-bottom: 40px;">Please input code to reset device password. only valid in 5 minutes!</p>
|
|
|
<span style="padding: 10px 20px; font-size: 24px;background-color: #EB6F5A;border-radius:4px;color:#fff;">{captcha}</span>
|
|
|
</div>
|
|
|
</body>
|