diff options
Diffstat (limited to '')
-rw-r--r-- | jsaccess/jsa/index.html | 24 | ||||
-rw-r--r-- | jsaccess/jsa/jsa.css | 9 | ||||
-rw-r--r-- | jsaccess/jsa/jsa.js | 2 |
3 files changed, 21 insertions, 14 deletions
diff --git a/jsaccess/jsa/index.html b/jsaccess/jsa/index.html index 71ad8b1..9e26e37 100644 --- a/jsaccess/jsa/index.html +++ b/jsaccess/jsa/index.html @@ -14,17 +14,19 @@ </HEAD> <BODY onLoad="jsainit()"> <!-- 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" onclick="window.location.reload()"/> - </form> + <div id="forms"> + <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" onclick="window.location.reload()"/> + </form> + </div> <div id="status"></div> </BODY> </HTML> diff --git a/jsaccess/jsa/jsa.css b/jsaccess/jsa/jsa.css index bac8ca9..85eefbd 100644 --- a/jsaccess/jsa/jsa.css +++ b/jsaccess/jsa/jsa.css @@ -1,10 +1,15 @@ body { + font-family: monospace; background-color:#080808; color:#dfdfdf; } +#forms { + float: left; +} + #status { - font-family: "Lucida Console", Monaco, monospace; - font-size: 0.8em; + float: right; + width: 400px; color:#5fba3d; } diff --git a/jsaccess/jsa/jsa.js b/jsaccess/jsa/jsa.js index 20c7bdc..d080a0a 100644 --- a/jsaccess/jsa/jsa.js +++ b/jsaccess/jsa/jsa.js @@ -126,7 +126,7 @@ function _save(obj, name) { } var blob = new Blob([ia], {type:"application/octet-binary"}); saveAs(blob, name); - _status("File \""+name+"\" is in your hands,<br/>Have a good day."); + _status("File is in your hands,<br/>Have a good day.<br/>"); } function _status(txt, run_func) { |