Last active
September 30, 2020 04:41
-
-
Save ThienTranDuy/8a2edf945e8d08e5cdeab82d5576fb5a to your computer and use it in GitHub Desktop.
Email template
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
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Email template</title> | |
<style type="text/css"> | |
.wrapper_one { | |
font-size: 14px; | |
color: black; | |
} | |
.wrapper_two { | |
font-size: 14px; | |
color: black; | |
padding: 2rem 15px; | |
background: #f5f5f5; | |
} | |
.boxmail { | |
background: white; | |
width: 90%; | |
margin: auto; | |
max-width: 680px; | |
min-width: 280px; | |
padding: 2rem; | |
border: 1px solid #eaeaea; | |
border-bottom: 2px solid #eaeaea; | |
} | |
.logo { | |
padding-bottom: 1rem; | |
border-bottom: 1px solid #ededed; | |
margin-bottom: 1.5rem; | |
} | |
.logo img { | |
max-height: 4rem; | |
} | |
.tb_title { | |
font-weight: 600; | |
min-width: 100px; | |
padding-right: .5rem; | |
} | |
.postscript { | |
font-style: italic; | |
font-size: .8rem; | |
} | |
.copyright { | |
font-size: .8rem; | |
color: #646464; | |
text-align: center; | |
} | |
.copyright a { | |
color: #717171; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="wrapper"> | |
<div class="wrapper_two"> | |
<div class="boxmail"> | |
<div class="logo"> | |
<img src="https://www.tranduythien.net/wp-content/uploads/2019/09/logo-1.png" alt="Logo" /> | |
</div> | |
<div class="message"> | |
<p>A new Ticket has been created by <b>' .$data['requester']['info']['name']. '</b> - <b>' .$data['requester']['info']['phone']. '</b> - <b>' .$data['requester']['info']['email']. '</b> <br>A new Ticket has been assigned by <b>' .$data['assignee']['info']['name']. '</b> with the following information.</p> | |
</div> | |
<table border="0"> | |
<tbody> | |
<tr> | |
<td class="tb_title">Subject Ticket :</td><td class="tb_detail">' .$data['subject']. '</td> | |
</tr> | |
<tr> | |
<td class="tb_title">Content Ticket :</td><td class="tb_detail">' .$data['content']. '</td> | |
</tr> | |
</tbody> | |
</table> | |
<div class="postscript"> | |
<p>This is an automatic message from system, please do not reply </p> | |
</div> | |
</div> | |
<div class="copyright"> | |
<p>Message developed by <a href="https://tranduythien.net/" title="Tran Duy Thien">Tran Duy Thien</a></p> | |
</div> | |
</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment