From 1af24ac18a2b6f1b1f1d8aa5b62cebef383caf5b Mon Sep 17 00:00:00 2001 From: schneefux Date: Sat, 8 Apr 2017 00:00:33 +0200 Subject: implement simple sample downloads --- index.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'index.html') diff --git a/index.html b/index.html index f12c585..dd1bf7d 100644 --- a/index.html +++ b/index.html @@ -17,6 +17,11 @@

+

+

+ +
+

@@ -99,6 +104,12 @@ subscribe(resp.name); }); }); + $("#get-samples-form").submit((e) => { + e.preventDefault(); + $.post("/api/samples").done((resp) => { + notif("downloading samples", "green"); + }); + }); $("#crunch-form").submit((e) => { e.preventDefault(); -- cgit v1.3.1