-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
560ef73
commit d4ffead
Showing
1 changed file
with
75 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<!DOCTYPE HTML> | ||
<html lang="zh" xmlns:th="http://www.thymeleaf.org"> | ||
|
||
<head> | ||
<meta charset="UTF-8"/> | ||
<link th:href="@{/css/index.css}" rel="stylesheet"/> | ||
<title>警报</title> | ||
<style> | ||
h1 { | ||
text-align: center; | ||
} | ||
|
||
table { | ||
width: 100%; | ||
} | ||
|
||
td { | ||
text-align: center; | ||
} | ||
|
||
body { | ||
color: #fff; | ||
background-color: #283B47; | ||
} | ||
|
||
.arbitration { | ||
border-radius: 15px; | ||
border: 5px solid #ffc; | ||
margin: 8px; | ||
background-color: #2C414E; | ||
} | ||
|
||
</style> | ||
</head> | ||
|
||
|
||
<body> | ||
<!-- | ||
生成图片的宽度 | ||
--> | ||
<w> | ||
3500 | ||
</w> | ||
<h1>警报</h1> | ||
<hr/> | ||
<div class="card arbitration"> | ||
<table th:if="${alerts}!=null"> | ||
<thead> | ||
<tr> | ||
<th>任务地点</th> | ||
<th>任务类型</th> | ||
<th>派系</th> | ||
<th>任务奖励</th> | ||
<th>距离结束</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr th:each="al:${alerts}"> | ||
<td th:text="${al.mission.node}"></td> | ||
<td th:text="${al.mission.type}"></td> | ||
<td th:text="${al.mission.faction}"></td> | ||
<td> | ||
<span th:text="${al.mission.reward.credits}+'星币'" style="color: #3c879c"></span> | ||
<div th:each="rc:${al.mission.reward.countedItems}"> | ||
<span th:text="${rc.count}+' * '+${rc.key}" style="color: #9ec5fe"></span> | ||
</div> | ||
</td> | ||
<td th:text="${al.eta}"></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
</body> | ||
</html> |