forked from bennet0496/nextcloud_attachments
-
Notifications
You must be signed in to change notification settings - Fork 0
/
attachment_tmpl.html
42 lines (42 loc) · 3.58 KB
/
attachment_tmpl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<title>%FILENAME% - Filelink Attachment</title>
<meta charset="utf-8" />
</head>
<body>
<div style="padding: 15px; font-family: Calibri, sans-serif;">
<div style=""><p>The file %FILENAME% was attached as a Filelink. It can be downloaded from the link below.</p></div>
<div style="border: 1px solid rgb(205, 205, 205); border-radius: 5px; margin-top: 10px; margin-bottom: 10px; padding: 15px; display: grid; grid-template-columns: 0fr 1fr 0fr 0fr; align-items: center;" class="cloudAttachmentItem" data-content-location="%FILEURL%" data-service-url="">
<a href="%FILEURL%" style="color: rgb(15, 126, 219) !important; grid-area: 1 / 2;">%FILENAME%</a>
<img style="grid-area: 1 / 1 / span 5; margin-right: 5px; z-index: 0" alt="Mime Icon" src="data:image/png;base64,%ICONBLOB%" width="32" height="32" />
<img style="grid-area: 1 / 1 / span 5; margin-right: 5px; margin-left: 22px; margin-top: 20px; z-index: 1;" alt="Paperclip Icon" src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iNDgiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iNDgiPjxwYXRoIGQ9Ik00NjAtODBxLTkxIDAtMTU1LjUtNjIuNVQyNDAtMjk2di00MzBxMC02NCA0NS41LTEwOVQzOTUtODgwcTY1IDAgMTEwIDQ1dDQ1IDExMHYzOTRxMCAzOC0yNiA2NC41VDQ2MC0yNDBxLTM4IDAtNjQtMjguNVQzNzAtMzM2di0zOTJoNDB2Mzk1cTAgMjIgMTQuNSAzNy41VDQ2MC0yODBxMjEgMCAzNS41LTE1dDE0LjUtMzZ2LTM5NXEwLTQ4LTMzLjUtODFUMzk1LTg0MHEtNDggMC04MS41IDMzVDI4MC03MjZ2NDMycTAgNzMgNTMgMTIzLjVUNDYwLTEyMHE3NSAwIDEyNy41LTUxVDY0MC0yOTZ2LTQzMmg0MHY0MzFxMCA5MS02NC41IDE1NFQ0NjAtODBaIi8+PC9zdmc+" width="16" height="16" /><br />
<span style="grid-column: 2 / span 3; font-size: small;">
<span>Size: </span><span style="color: rgb(89, 89, 89);">%FILESIZE%</span><br />
</span>
<span style="grid-column: 2 / span 3; font-size: small;">
<span>Link: </span><a href="%FILEURL%" style="color: rgb(89, 89, 89) !important;">%FILEURL%</a><br />
</span>
<span style="grid-column: 2 / span 3; font-size: small;">
<span>Checksum: </span><span style="color: rgb(89, 89, 89);">%CHECKSUM%</span><br />
</span>
<span style="grid-column: 2 / span 3; font-size: small;">
<span>Available until: </span><span style="color: rgb(89, 89, 89);">%VALIDUNTIL%, after which the download link will expire</span><br />
</span>
<br />
</div>
<div style="margin-top: 15px; color: rgb(100,100,100); font-size: 11pt; margin-left: 15px">
<p>
Attachments hosted on %SERVERURL% and subject to the server provider's terms of service and privacy policy.
<b>Beyond the attachment becoming unavailable after the expiration date, the sender may delete the attachment
at any point; download and save the file to retain a local copy.</b>
Be careful who's attachments you trust, especially with executables and office documents.
</p>
</div>
<div style="margin-top: 15px; color: rgb(200,200,200); font-size: 10pt; margin-left: 15px">
<p>Generated with <a style="color: rgb(200,200,200);" href="https://github.com/bennet0496/nextcloud_attachments">nextcloud_attachments</a> for Roundcube by <a style="color: rgb(200,200,200);" href="https://github.com/bennet0496">Bennet B.</a></p>
<p style="margin-top: -16px">Icons: <a style="color: rgb(200,200,200);" href="https://github.com/ubuntu/yaru">Ubuntu Yaru</a> (CC BY-SA 4.0) and <a style="color: rgb(200,200,200);" href="https://developers.google.com/fonts/docs/material_icons">Material Icons</a> (Apache License 2.0).</p>
</div>
</div>
</body>
</html>