-
Notifications
You must be signed in to change notification settings - Fork 3
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
d07979b
commit 79c8cae
Showing
2 changed files
with
78 additions
and
2 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
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,77 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta name="description" content="Email details viewer and communication interface"> | ||
|
||
<!-- Preconnect to external domains --> | ||
<link rel="preconnect" href="https://therealtimex.github.io"> | ||
<link rel="stylesheet" href="https://therealtimex.github.io/rtlibrary/css/rt-ai-html.css"> | ||
<script src="https://therealtimex.github.io/rtlibrary/js/rt-html-abs.js" defer></script> | ||
<script src="https://therealtimex.github.io/rtlibrary/js/rt-html-css-fallback.js" defer></script> | ||
|
||
<style> | ||
:root { | ||
--primary-color: ##__COLOR_THEME_PRIMARY__##; | ||
--secondary-color: ##__COLOR_THEME_SECONDARY__##; | ||
--background-color: ##__COLOR_THEME_BACKGROUND__##; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<main class="email-container" role="main"> | ||
<header class="email-header"> | ||
<h1>Nội dung Email</h1> | ||
</header> | ||
|
||
<section class="email-info-box" aria-label="Email Information"> | ||
<div class="email-field"> | ||
<span class="email-label" id="from-label">Từ:</span> | ||
<span aria-labelledby="from-label">{sender_email}</span> | ||
</div> | ||
<div class="email-field"> | ||
<span class="email-label" id="to-label">Đến:</span> | ||
<span aria-labelledby="to-label">{recipient}</span> | ||
</div> | ||
<div class="email-field"> | ||
<span class="email-label" id="subject-label">Tiêu đề:</span> | ||
<span aria-labelledby="subject-label">{subject}</span> | ||
</div> | ||
<div class="email-field"> | ||
<span class="email-label" id="phone-label">Điện thoại:</span> | ||
<span aria-labelledby="phone-label">{phone}</span> | ||
</div> | ||
</section> | ||
|
||
<section aria-label="Message Content"> | ||
<label for="message" class="email-label">Nội dung email:</label> | ||
<textarea | ||
id="message" | ||
class="message-area" | ||
spellcheck="true" | ||
aria-label="Email message content" | ||
>{body}</textarea> | ||
</section> | ||
|
||
<footer class="action-buttons"> | ||
<button class="btn" onclick="copyToClipboard()" aria-label="Copy message"> | ||
<span aria-hidden="true">📋</span> Copy | ||
</button> | ||
<button class="btn" onclick="sendEmail()" aria-label="Send Email"> | ||
<span aria-hidden="true">📧</span> Gửi Email | ||
</button> | ||
<button class="btn" onclick="sendSMS()" aria-label="Send SMS"> | ||
<span aria-hidden="true">💬</span> Gửi SMS | ||
</button> | ||
<button class="btn" onclick="callCP()" aria-label="Call CP"> | ||
<span aria-hidden="true">📞</span> Gọi Cloud | ||
</button> | ||
<button class="btn" onclick="callSIM()" aria-label="Call SIM"> | ||
<span aria-hidden="true">📱</span> Gọi SIM | ||
</button> | ||
</footer> | ||
</main> | ||
</body> | ||
</html> |