summaryrefslogtreecommitdiff
path: root/index.html.j2
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-03-28 08:34:00 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-03-28 08:34:00 +0200
commit7befb5c005e0263c462323e09650ba9933483f94 (patch)
tree4c31d72e998561ccf0e428fd668aa1cbf1087d39 /index.html.j2
parentfb961db518a8edc127ab700aa152578b2e3debc4 (diff)
downloadauditor-7befb5c005e0263c462323e09650ba9933483f94.tar.gz
auditor-7befb5c005e0263c462323e09650ba9933483f94.tar.bz2
auditor-7befb5c005e0263c462323e09650ba9933483f94.zip
JS to add auditor
Diffstat (limited to 'index.html.j2')
-rw-r--r--index.html.j210
1 files changed, 10 insertions, 0 deletions
diff --git a/index.html.j2 b/index.html.j2
index 93a5f46..c3e5e78 100644
--- a/index.html.j2
+++ b/index.html.j2
@@ -33,6 +33,16 @@
padding: 0.5em;
}
</style>
+ <script>
+ function addAuditor() {
+ taler.addAuditor({
+ url: "{{ auditor_url }}",
+ currency: "{{ currency }}",
+ auditorPub: "{{ auditor_pub }}",
+ expirationStamp: (new Date(2027, 1)).getTime(),
+ });
+ }
+ </script>
</head>
<body>