aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess/jsa/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'jsaccess/jsa/index.html')
-rw-r--r--jsaccess/jsa/index.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/jsaccess/jsa/index.html b/jsaccess/jsa/index.html
index da5174e..a35eebb 100644
--- a/jsaccess/jsa/index.html
+++ b/jsaccess/jsa/index.html
@@ -8,17 +8,19 @@
<script async="" src="js-contrib/jquery-1.10.1.min.js"></script>
<script src="js-contrib/jquery.base64.js"></script>
<script async="" src="js-contrib/gibberish-aes.js"></script>
+ <script async="" src="js-contrib/hashes.min.js"></script>
</HEAD>
<BODY onLoad="jsainit()">
- <!-- XXX ugly onsubmit, do in jsainit() -->
- <form id="dowload-one" onsubmit="return false;">
- <h1>1. Enter your password</h1>
- <input type="text" id="password"/>
- <h1>2. Select the file to download</h1>
- <input type="radio" name="files" value="put_your_encrypted_files_here.txt"/>put_your_encrypted_files_here.txt<br/> <!-- use "jsa" to decrypt -->
- <!-- add your files here -->
+ <!-- XXX ugly onsubmit, do in jsainit() ? -->
+ <form id="form-getlist" onsubmit="return false;">
+ <h1>1. Enter password</h1>
+ <input type="text" id="password"/><input type="submit" id="getlist" value="Get files list" onclick="jsagetlist()"/>
+ </form>
+ <form id="form-download" onsubmit="return false;">
+ <h1>2. Select file</h1>
+ <div id="files"></div>
<h1>3. Dowload</h1>
<input type="submit" id="download" value="Download" onclick="jsadl()"/>
<input type="button" id="cancel" value="Cancel"/>