mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-09-21 07:55:56 +08:00
REBUILD
in some view
This commit is contained in:
parent
a82a791f76
commit
6ebd2c3c94
|
@ -103,6 +103,7 @@ public class SMSender {
|
|||
String eHTML = mailbody.html();
|
||||
// 处理变量
|
||||
eHTML = eHTML.replace("%TO%", to);
|
||||
eHTML = eHTML.replace("%APPNAME%", SysConfiguration.get(ConfigurableItem.AppName));
|
||||
|
||||
params.put("html", eHTML);
|
||||
} else {
|
||||
|
|
|
@ -1,21 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Mail Notification Template</title>
|
||||
<meta charset="utf-8">
|
||||
<title>Mail Notification Template</title>
|
||||
</head>
|
||||
<body>
|
||||
<div style="background-color:#f5f5f5;margin:0;font-size:0.9rem;padding:20px 30px;color:#333;font-family:Roboto,Helvetica,'Microsoft YaHei','宋体',sans-serif;line-height:1.5">
|
||||
<div>
|
||||
<a href="https://getrebuild.com/?utm_source=mailtemp"><img src="https://getrebuild.com/img/logo.png" alt="REBUILD" style="width:132px;display:inline-block"></a>
|
||||
</div>
|
||||
<div style="border:1px solid #eee;padding:30px 20px;background-color:#fff;border-radius:3px;border-top:3px solid #4285f4;max-width:720px;margin:10px 0">
|
||||
<h2 class="rb-title" style="font-size:1.4rem;margin:0;font-weight:400">%TITLE%</h2>
|
||||
<div class="rb-content" style="margin-top:10px">%CONTETN%</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="rb-footer" style="margin:0;color:#888;font-size:12px;">本消息由 REBUILD 系统自动发送,请不要直接回复。<br><em>This email was sent to %TO%</em></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="background-color:#f5f5f5;margin:0;font-size:0.9rem;padding:20px 30px;color:#333;font-family:Roboto,Helvetica,'Microsoft YaHei','宋体',sans-serif;line-height:1.5">
|
||||
<div>
|
||||
<a href="https://getrebuild.com/?utm_source=rb.mail">
|
||||
<img src="https://getrebuild.com/img/logo.png" alt="REBUILD" style="width:132px;display:inline-block"/>
|
||||
</a>
|
||||
</div>
|
||||
<div style="border:1px solid #eee;padding:30px 20px;background-color:#fff;border-radius:3px;border-top:3px solid #4285f4;max-width:720px;margin:10px 0">
|
||||
<h2 class="rb-title" style="font-size:1.4rem;margin:0;font-weight:400">%TITLE%</h2>
|
||||
<div class="rb-content" style="margin-top:10px">%CONTETN%</div>
|
||||
</div>
|
||||
<div>
|
||||
<div class="rb-footer" style="margin:0;color:#888;font-size:12px;">
|
||||
本消息由 %APPNAME% 系统自动发送,请不要直接回复。<br>
|
||||
<em>This email was sent to %TO%</em>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
|
@ -92,7 +92,7 @@
|
|||
<% } %>
|
||||
<div class="block">
|
||||
<div class="text-muted">
|
||||
© 2019 <a href="https://getrebuild.com/?utm_source=rebuild">${appName}</a>
|
||||
© 2019 <a href="https://getrebuild.com/?utm_source=rebuild">REBUILD</a>
|
||||
<% if (AppUtils.getRequestUser(request) != null) { %>
|
||||
·
|
||||
<a href="server-status.json">Status Api</a>
|
||||
|
|
Loading…
Reference in a new issue