Please choose your action
-
-
+
+
- Create
Create a new password and print it out.
+
Scan
Scan your existing password
diff --git a/src/html/index.html b/src/html/index.html index 8976ee5..a7ef490 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -134,6 +134,18 @@ }); }) } + + function slide_left(from, to, duration = 300) { + $('#' + from).animate({ + left: '-150%' + }, duration); + $('#' + from).css('left', '-150%'); + + $('#' + to).animate({ + left: '0' + }, duration); + $('#' + from).css('left', '0'); + }