mailAlarm.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <style type="text/css">
  8. body {
  9. font-family: sans-serif;
  10. }
  11. </style>
  12. <style id="table">
  13. * {
  14. margin: 0;
  15. padding: 0
  16. }
  17. a {
  18. color: #576b95;
  19. text-decoration: none
  20. }
  21. html {
  22. line-height: 1.6;
  23. }
  24. body {
  25. margin: 0;
  26. padding: 0 ;
  27. font-size: 17px;
  28. color: #333;
  29. width:100%;
  30. max-width:750px
  31. }
  32. .view {
  33. word-break: break-word;
  34. cursor: text;
  35. min-height: 440px;
  36. word-wrap: break-word;
  37. -webkit-hyphens: auto;
  38. -ms-hyphens: auto;
  39. hyphens: auto;
  40. }
  41. p {
  42. clear: both
  43. }
  44. img {
  45. *zoom: 1;
  46. max-width: 100%;
  47. *max-width: 96%;
  48. height: auto !important
  49. }
  50. iframe {
  51. width: 301px !important;
  52. border: 0;
  53. /*background-color: none;*/
  54. }
  55. .selectTdClass {
  56. background-color: #edf5fa !important
  57. }
  58. table.noBorderTable td,
  59. table.noBorderTable th,
  60. table.noBorderTable caption {
  61. border: 1px dashed #ddd !important
  62. }
  63. table {
  64. margin-bottom: 10px;
  65. border-collapse: collapse;
  66. display: table;
  67. }
  68. td,
  69. th {
  70. padding: 5px 10px;
  71. border: 1px solid #DDD;
  72. }
  73. caption {
  74. border: 1px dashed #DDD;
  75. border-bottom: 0;
  76. padding: 3px;
  77. text-align: center;
  78. }
  79. th {
  80. border-top: 2px solid #BBB;
  81. background: #F7F7F7;
  82. }
  83. td p {
  84. margin: 0;
  85. padding: 0;
  86. }
  87. </style>
  88. <style id="list">
  89. ol,
  90. ul {
  91. margin: 0;
  92. padding: 0;
  93. -webkit-box-sizing: border-box;
  94. box-sizing: border-box;
  95. width: 99.9%
  96. }
  97. li {
  98. clear: both;
  99. }
  100. .list-paddingleft-1 {
  101. padding-left: 1.2em
  102. }
  103. .list-paddingleft-2 {
  104. padding-left: 2.2em
  105. }
  106. .list-paddingleft-3 {
  107. padding-left: 3.2em
  108. }
  109. </style>
  110. <style>
  111. body :not(img) {
  112. max-width: 100% !important;
  113. word-wrap: break-word !important;
  114. box-sizing: border-box !important;
  115. }
  116. body img {
  117. max-width: 100% !important;
  118. word-wrap: break-word !important;
  119. }
  120. body table {
  121. box-sizing: content-box !important;
  122. }
  123. body table * {
  124. box-sizing: content-box !important;
  125. }
  126. body p {
  127. clear: both;
  128. min-height: 1em;
  129. }
  130. .mpa-black-tech {
  131. cursor: default;
  132. user-select: none;
  133. }
  134. .mpa-dynamic-material {
  135. cursor: default;
  136. user-select: none;
  137. }
  138. </style>
  139. </head>
  140. <body class="view" spellcheck="false" style="cursor: text">
  141. <section style="display: flex; justify-content: center; align-items: center; width: 100%; max-width:750px">
  142. <section style="width: 1000vw;">
  143. <p>&ZeroWidthSpace;<br></p>
  144. <section
  145. style="display: flex;justify-content: center;align-items: center;width: 100%;">
  146. <section
  147. style="display: flex; justify-content: flex-start; align-items: center; flex-direction: column; width: 100%; padding: 16px 6px 16px 12px; border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0); background: url(https://pic.imgdb.cn/item/616572c82ab3f51d91208003.png) 0% 0% / 100% 100% no-repeat rgb(212, 234, 237);">
  148. <section
  149. style="display: flex;justify-content: flex-start;align-items: center;flex-direction: column;width: 100%;">
  150. <section
  151. style="height: 0px;width: 52px;align-self: flex-start;z-index: 1;transform: translate(17px, -9px);">
  152. <img th:src="@{https://pic.imgdb.cn/item/61657b052ab3f51d912bcf60.png}"
  153. style="display: block;">
  154. </section>
  155. <section
  156. style="display: flex; justify-content: flex-start; align-items: center; flex-direction: column; width: 100%; background: rgb(232, 232, 232); border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);">
  157. <section
  158. style="background: rgb(255, 255, 255); border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0); transform: translate(-5px, -5px); width: 100%;">
  159. <section
  160. style="display: flex;justify-content: center;align-items: center;justify-content: space-between;">
  161. <section
  162. style="width: 11px; height: 11px; border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-top-color: rgb(151, 151, 151); border-left-color: rgb(151, 151, 151); border-right-style: initial; border-right-color: initial; border-bottom-style: initial; border-bottom-color: initial; margin-left: 4px; margin-top: 4px;">
  163. <br>
  164. </section>
  165. <section
  166. style="width: 11px; height: 11px; border-width: 1px 1px 0px 0px; border-top-style: solid; border-right-style: solid; border-top-color: rgb(151, 151, 151); border-right-color: rgb(151, 151, 151); border-bottom-style: initial; border-bottom-color: initial; border-left-style: initial; border-left-color: initial; margin-right: 4px; margin-top: 4px;">
  167. <br>
  168. </section>
  169. </section>
  170. <section
  171. style="display: flex;justify-content: center;align-items: center;width: 100%;">
  172. <section style="width: 66px;margin: 0px 13px 0px 16px;"><img
  173. th:src="@{https://pic.imgdb.cn/item/61656ad22ab3f51d9114d897.jpg}"
  174. style="display: block; width: 110px; height: 110px;">
  175. </section>
  176. <section style="padding-right: 12px;">
  177. <section style="margin-top: 15px;">
  178. <p
  179. style="font-size: 14px;font-family: PingFangSC-Semibold, PingFang SC;font-weight: bold;color: #B1B1B1;line-height: 20px;letter-spacing: 5px;">
  180. TanCloud探云-监控告警
  181. </p>
  182. </section>
  183. <section style="padding: 8px 0px 4px 0px;">
  184. <p
  185. style="font-size: 24px;font-family: PingFangSC-Semibold, PingFang SC;font-weight: bold;color: #000000;line-height: 33px;letter-spacing: 2px;">
  186. 告警通知
  187. </p>
  188. </section>
  189. <section style="margin-bottom: 15px;">
  190. <p
  191. style="font-size: 16px;font-family: PingFangSC-Semibold, PingFang SC;font-weight: bold;color: #B1B1B1;line-height: 22px;">
  192. Alarm notification
  193. </p>
  194. </section>
  195. </section>
  196. </section>
  197. <section
  198. style="display: flex;justify-content: center;align-items: center;justify-content: space-between;">
  199. <section
  200. style="width: 11px; height: 11px; border-width: 0px 0px 1px 1px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(151, 151, 151); border-left-color: rgb(151, 151, 151); border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; margin-left: 4px; margin-bottom: 4px;">
  201. <br>
  202. </section>
  203. <section
  204. style="width: 11px; height: 11px; border-width: 0px 1px 1px 0px; border-right-style: solid; border-bottom-style: solid; border-right-color: rgb(151, 151, 151); border-bottom-color: rgb(151, 151, 151); border-top-style: initial; border-top-color: initial; border-left-style: initial; border-left-color: initial; margin-right: 4px; margin-bottom: 4px;">
  205. <br>
  206. </section>
  207. </section>
  208. </section>
  209. </section>
  210. <section
  211. style="width: 100%; background: rgb(203, 221, 230); border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0); margin-left: -8px; margin-top: 6px; z-index: 1;">
  212. <section
  213. style="background: rgb(227, 245, 255); border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0); transform: translate(4px, 4px); text-align: center; padding: 12px 28px; white-space: nowrap;">
  214. <p
  215. style="font-size: 16px;font-family: PingFangSC-Medium, PingFang SC;font-weight: bold;color: #000000;line-height: 22px;">
  216. TanCloud探云
  217. </p>
  218. </section>
  219. </section>
  220. <section
  221. style="width: 52px;height: 0px;z-index: 1;align-self: flex-end;transform: translate(-10px, -3px);">
  222. <img th:src="@{https://pic.imgdb.cn/item/61657b052ab3f51d912bcf60.png}"
  223. style="display: block;">
  224. </section>
  225. </section>
  226. </section>
  227. </section>
  228. <p><br></p>
  229. <section
  230. style="display: flex;justify-content: center;align-items: center;width: 100%;padding:0;">
  231. <section
  232. style="display: flex; justify-content: flex-start; align-items: center; flex-direction: column; width: 100%; padding: 16px; background: rgb(212, 234, 237); border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);">
  233. <section
  234. style="display: flex;justify-content: flex-start;align-items: center;flex-direction: column;width: 100%;">
  235. <section
  236. style="display: flex; justify-content: flex-start; align-items: center; flex-direction: column; width: 100%; background: rgb(232, 232, 232); border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);">
  237. <section
  238. style="background: rgb(255, 255, 255); border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0); transform: translate(-5px, -5px); width: 100%;">
  239. <section
  240. style="display: flex;justify-content: center;align-items: center;justify-content: space-between;">
  241. <section
  242. style="width: 11px; height: 11px; border-width: 1px 0px 0px 1px; border-top-style: solid; border-left-style: solid; border-top-color: rgb(151, 151, 151); border-left-color: rgb(151, 151, 151); border-right-style: initial; border-right-color: initial; border-bottom-style: initial; border-bottom-color: initial; margin-left: 4px; margin-top: 4px;">
  243. <br>
  244. </section>
  245. <section
  246. style="width: 11px; height: 11px; border-width: 1px 1px 0px 0px; border-top-style: solid; border-right-style: solid; border-top-color: rgb(151, 151, 151); border-right-color: rgb(151, 151, 151); border-bottom-style: initial; border-bottom-color: initial; border-left-style: initial; border-left-color: initial; margin-right: 4px; margin-top: 4px;">
  247. <br>
  248. </section>
  249. </section>
  250. <section
  251. style="display: flex;justify-content: center;align-items: center;width: 100%;padding: 6px 0px;">
  252. <section style="text-align: center;">
  253. <p style="font-size: 14px; font-family: PingFangSC-Medium,PingFang SC; font-weight: bold; color: rgb(0, 0, 0); line-height: 22px; letter-spacing: 1px;text-align: left;padding-left: 5px;">
  254. 告警目标对象:<span th:text="${target}"></span><br>
  255. &nbsp;&nbsp;&nbsp;&nbsp;所属监控ID:<span th:text="${ID}"></span><br>
  256. &nbsp;&nbsp;&nbsp;&nbsp;所属监控名称:<span th:text="${name}"></span><br>
  257. &nbsp;&nbsp;&nbsp;&nbsp;告警级别:<span th:text="${priority}"></span><br>
  258. &nbsp;&nbsp;&nbsp;&nbsp;告警详情:<br>
  259. <span th:text="${content}"></span><br>
  260. </p>
  261. <p
  262. style="font-size: 14px; font-family: PingFangSC-Medium,PingFang SC; font-weight: bold; color: rgb(0, 0, 0); line-height: 22px; letter-spacing: 1px;">
  263. <br>
  264. </p>
  265. </section>
  266. </section>
  267. <section
  268. style="display: flex;justify-content: center;align-items: center;justify-content: space-between;">
  269. <section
  270. style="width: 11px; height: 11px; border-width: 0px 0px 1px 1px; border-bottom-style: solid; border-left-style: solid; border-bottom-color: rgb(151, 151, 151); border-left-color: rgb(151, 151, 151); border-top-style: initial; border-top-color: initial; border-right-style: initial; border-right-color: initial; margin-left: 4px; margin-bottom: 4px;">
  271. <br>
  272. </section>
  273. <section
  274. style="width: 11px; height: 11px; border-width: 0px 1px 1px 0px; border-right-style: solid; border-bottom-style: solid; border-right-color: rgb(151, 151, 151); border-bottom-color: rgb(151, 151, 151); border-top-style: initial; border-top-color: initial; border-left-style: initial; border-left-color: initial; margin-right: 4px; margin-bottom: 4px;">
  275. <br>
  276. </section>
  277. </section>
  278. </section>
  279. </section>
  280. </section>
  281. </section>
  282. </section>
  283. <p><br></p>
  284. <p><br></p>
  285. </section>
  286. </section>
  287. </section>
  288. </section>
  289. </section>
  290. </section>
  291. </section>
  292. </body>
  293. </html>