| <!-- |
| ~ Licensed to the Apache Software Foundation (ASF) under one or more |
| ~ contributor license agreements. See the NOTICE file distributed with |
| ~ this work for additional information regarding copyright ownership. |
| ~ The ASF licenses this file to You under the Apache License, Version 2.0 |
| ~ (the "License"); you may not use this file except in compliance with |
| ~ the License. You may obtain a copy of the License at |
| ~ |
| ~ http://www.apache.org/licenses/LICENSE-2.0 |
| ~ |
| ~ Unless required by applicable law or agreed to in writing, software |
| ~ distributed under the License is distributed on an "AS IS" BASIS, |
| ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| ~ See the License for the specific language governing permissions and |
| ~ limitations under the License. |
| --> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| <meta name="viewport" content="width=device-width"/> |
| <style type="text/css"> |
| img { |
| max-width: 100%; |
| } |
| |
| body { |
| -webkit-font-smoothing: antialiased; |
| -webkit-text-size-adjust: none; |
| width: 100% !important; |
| height: 100%; |
| line-height: 1.6em; |
| } |
| |
| body { |
| background-color: #f6f6f6; |
| } |
| |
| @media only screen and (max-width: 640px) { |
| body { |
| padding: 0 !important; |
| } |
| |
| h1 { |
| font-weight: 800 !important; |
| margin: 20px 0 5px !important; |
| } |
| |
| h2 { |
| font-weight: 800 !important; |
| margin: 20px 0 5px !important; |
| } |
| |
| h3 { |
| font-weight: 800 !important; |
| margin: 20px 0 5px !important; |
| } |
| |
| h4 { |
| font-weight: 800 !important; |
| margin: 20px 0 5px !important; |
| } |
| |
| h1 { |
| font-size: 22px !important; |
| } |
| |
| h2 { |
| font-size: 18px !important; |
| } |
| |
| h3 { |
| font-size: 14px !important; |
| } |
| |
| .container { |
| padding: 0 !important; |
| width: 100% !important; |
| } |
| |
| .content { |
| padding: 0 !important; |
| } |
| |
| .content-wrap { |
| padding: 10px !important; |
| } |
| |
| .invoice { |
| width: 100% !important; |
| } |
| } |
| </style> |
| </head> |
| <body> |
| #set ( $elem = $alertList[0] ) |
| |
| <p><b>Basic Information: </b></p> |
| |
| <ul> |
| <li>Site: ${elem["basic"].get("site")}</li> |
| <li>Job Name: ${elem["basic"].get("name")}</li> |
| <li>User: ${elem["basic"].get("user")}</li> |
| <li>Job Status: ${elem["basic"].get("status")}</li> |
| <li>Start Time: ${elem["basic"].get("start")}</li> |
| <li>End Time: ${elem["basic"].get("end")}</li> |
| <li>Duration Time: ${elem["basic"].get("duration")}</li> |
| <li>Progress: ${elem["basic"].get("progress")}</li> |
| <li>Job Detail: <a href=${elem["basic"].get("detail")}>${elem["basic"].get("detail")}</a></li> |
| </ul> |
| |
| <p><b>Analyzer Results: </b></p> |
| |
| #foreach($evaluator in ${elem["extend"].keySet()}) |
| <table class="body-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6" border="1"> |
| <caption><b>Analysis By $evaluator</b></caption> |
| <tr> |
| <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" width="100"><b>level</b></td> |
| <th style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;" width="250"><b>message</b></th> |
| </tr> |
| #foreach($message in ${elem["extend"].get($evaluator).keySet()}) |
| <tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"> |
| <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><b>${elem["extend"].get($evaluator).get($message)}</b></td> |
| <th style="...">$message</th> |
| </tr> |
| #end |
| </table> |
| #end |
| |
| </body> |
| </html> |