Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
byit-myth-job
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liyuan
byit-myth-job
Commits
962876f0
Commit
962876f0
authored
May 25, 2020
by
huangfusuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整模板引擎
parent
6cb1b189
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
32 deletions
+33
-32
mail.html
...re/myth-admin-core/src/main/resources/templates/mail.html
+33
-32
No files found.
byit-myth-core/myth-admin-core/src/main/resources/templates/mail.html
View file @
962876f0
<!DOCTYPE html>
<html
lang=
"en"
xmlns:th=
"http://www.thymeleaf.org"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
/
>
<title>
工作流执行报告
</title>
</head>
<body>
<table
border=
'1'
width=
'80%'
align=
'center'
cellspacing=
'0'
cellpadding=
'6'
>
<table
border=
'1'
width=
'80%'
align=
'center'
cellspacing=
'0'
cellpadding=
'6'
>
<div
style=
"margin-bottom: 20px
"
>
<h1
style=
'text-align:center;color:red
'
>
工作流执行报告
</h1>
<br/>
<span
style=
"margin-left: 10%;font-size: 16px;color: #646256
"
th:text=
"'工作流名称:'+${title}"
></span>
<span
style=
"margin-left: 10%;font-size: 16px;color: #646256
"
th:text=
"'总耗时:'+${flowConsumeDate}"
></span>
<span
style=
"float:right;margin-right: 11%;font-size: 16px;color: #646256
"
th:text=
"'环境:'+${env}"
></span>
</div>
<div
style=
"margin-bottom: 20px;
"
>
<h1
style=
'text-align:center;color:red;
'
>
工作流执行报告
</h1>
<br/>
<span
style=
"margin-left: 10%;font-size: 16px;color: #646256;
"
th:text=
"'工作流名称:'+${title}"
></span>
<span
style=
"margin-left: 10%;font-size: 16px;color: #646256;
"
th:text=
"'总耗时:'+${flowConsumeDate}"
></span>
<span
style=
"float:right;margin-right: 11%;font-size: 16px;color: #646256;
"
th:text=
"'环境:'+${env}"
></span>
</div>
<thead
align=
'center'
style=
'background: blue;color: #fff'
>
<th
width =
'10%'
>
节点名称
</th>
<th
width =
'20%'
>
开始时间
</th>
<th
width =
'20%'
>
结束时间
</th>
<th
width =
'10%'
>
耗费时间
</th>
<th
width =
'10%'
>
运行结果
</th>
<th
width =
'30%'
>
日志远程路径
</th>
</thead>
<tbody>
<tr
th:each=
"email : ${data}"
>
<th
th:text=
"${email.nodeName}"
></th>
<th
th:text=
"${email.startDate}"
></th>
<th
th:text=
"${email.endDate}"
></th>
<th
th:text=
"${email.consuming}"
></th>
<th
th:text=
"${email.runStatus}"
></th>
<th>
<dev
th:each=
"logPath : ${email.logPaths}"
>
<a
th:href=
"@{${logPath}}"
th:text=
"${logPath}"
></a><br/>
</dev>
</th>
</tr>
</tbody>
</table>
<thead
align=
'center'
style=
'background: blue;color: #fff'
>
<th
width =
'10%'
>
节点名称
</th>
<th
width =
'20%'
>
开始时间
</th>
<th
width =
'20%'
>
结束时间
</th>
<th
width =
'10%'
>
耗费时间
</th>
<th
width =
'10%'
>
运行结果
</th>
<th
width =
'30%'
>
日志远程路径
</th>
</thead>
<tbody>
<tr
th:each=
"email : ${data}"
>
<th
th:text=
"${email.nodeName}"
></th>
<th
th:text=
"${email.startDate}"
></th>
<th
th:text=
"${email.endDate}"
></th>
<th
th:text=
"${email.consuming}"
></th>
<th
th:text=
"${email.runStatus}"
></th>
<th>
<dev
th:each=
"logPath : ${email.logPaths}"
>
<a
th:href=
"@{${logPath}}"
th:text=
"${logPath}"
></a><br/>
</dev>
</th>
</tr>
</tbody>
</table>
</body>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment