Browse Source

add template deblan-text

develop
Simon Vieille 2 years ago
parent
commit
2f0985f9dd
Signed by: deblan GPG Key ID: 03383D15A1D31745
  1. 5
      templates/deblan-text/df.tpl
  2. 1
      templates/deblan-text/footer.tpl
  3. 5
      templates/deblan-text/header.tpl
  4. 9
      templates/deblan-text/mail-png-attachment.tpl
  5. 10
      templates/deblan-text/mail.tpl
  6. 5
      templates/deblan-text/mount.tpl
  7. 1
      templates/deblan-text/plain.tpl
  8. 5
      templates/deblan-text/smart.tpl
  9. 7
      templates/deblan-text/system.tpl

5
templates/deblan-text/df.tpl

@ -0,0 +1,5 @@
Espace(s) disque(s)
------------------------
${df}

1
templates/deblan-text/footer.tpl

@ -0,0 +1 @@

5
templates/deblan-text/header.tpl

@ -0,0 +1,5 @@
${hostname}
========================
${date}

9
templates/deblan-text/mail-png-attachment.tpl

@ -0,0 +1,9 @@
--${BOUNDARY}
Content-type: image/png;
name="${file}"
Content-Transfer-Encoding: base64
Content-ID: <${file}>
Content-Disposition: attachement;
filename="${file}"
${base64}

10
templates/deblan-text/mail.tpl

@ -0,0 +1,10 @@
From: ${EMAIL_SENDER}
To: ${EMAIL_RECIPIENT}
Subject: ${EMAIL_SUBJECT}
Content-type: multipart/mixed;
boundary="${BOUNDARY}"
--$BOUNDARY
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
${REPORT}

5
templates/deblan-text/mount.tpl

@ -0,0 +1,5 @@
Point(s) de montage(s)
------------------------
${mount}

1
templates/deblan-text/plain.tpl

@ -0,0 +1 @@
${content}

5
templates/deblan-text/smart.tpl

@ -0,0 +1,5 @@
Smart ${device}
------------------------
${result}

7
templates/deblan-text/system.tpl

@ -0,0 +1,7 @@
Système
------------------------
${apt_text}
${uptime}
Loading…
Cancel
Save