summaryrefslogtreecommitdiffstats
path: root/templates/template.gohtml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/template.gohtml')
-rw-r--r--templates/template.gohtml55
1 files changed, 55 insertions, 0 deletions
diff --git a/templates/template.gohtml b/templates/template.gohtml
new file mode 100644
index 0000000..911bfdd
--- /dev/null
+++ b/templates/template.gohtml
@@ -0,0 +1,55 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8"/>
+ <style>
+ {{ tpl (file.Read "templates/styles.css") }}
+ </style>
+</head>
+
+<body>
+ <section>
+ {{ tpl (file.Read "templates/invoice.gohtml")
+ (dict
+ "ctx" (dict "lang" "fr")
+ "data" .data
+ "translations" .translations) }}
+ </section>
+
+ <section>
+ <article class="annex">
+ <p>annexe 01: facture en anglais / invoice</p>
+ </article>
+ {{ tpl (file.Read "templates/invoice.gohtml")
+ (dict
+ "ctx" (dict "lang" "en")
+ "data" .data
+ "translations" .translations) }}
+ </section>
+
+ <!---
+ <section>
+ <article class="annex">
+ <p>annexe 02: conditions général de vente</p>
+ </article>
+ {{ tpl (file.Read "templates/terms.gohtml")
+ (dict
+ "ctx" (dict "lang" "fr")
+ "data" .data
+ "translations" .translations) }}
+ </section>
+
+ <section>
+ <article class="annex">
+ <p>annexe 03: conditions générales de vente en anglais / terms and conditions</p>
+ </article>
+ {{ tpl (file.Read "templates/terms.gohtml")
+ (dict
+ "ctx" (dict "lang" "en")
+ "data" .data
+ "translations" .translations) }}
+ </section>
+ --->
+
+</body>
+</html>
remember that computers suck.