diff options
Diffstat (limited to 'jsaccess/jsa')
-rw-r--r-- | jsaccess/jsa/index.html | 9 | ||||
-rw-r--r-- | jsaccess/jsa/jsa.css | 27 | ||||
-rw-r--r-- | jsaccess/jsa/jsa.js | 2 |
3 files changed, 28 insertions, 10 deletions
diff --git a/jsaccess/jsa/index.html b/jsaccess/jsa/index.html index 345f849..e96b64b 100644 --- a/jsaccess/jsa/index.html +++ b/jsaccess/jsa/index.html @@ -13,15 +13,18 @@ </HEAD> <BODY onLoad="jsainit()"> + <div id="header"> + <h1>Restricted access</h1> + </div> <div id="forms"> <form id="form-getlist" onsubmit="return false;"> - <h1>1. Enter password</h1> + <h2>1. Enter password</h2> <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> + <h2>2. Select file</h2> <div id="files"></div> - <h1>3. Dowload</h1> + <h2>3. Dowload</h2> <input type="submit" id="download" value="Download" onclick="jsadl()"/> <input type="button" id="cancel" value="Cancel" onclick="window.location.reload()"/> </form> diff --git a/jsaccess/jsa/jsa.css b/jsaccess/jsa/jsa.css index 5671c88..2bd5499 100644 --- a/jsaccess/jsa/jsa.css +++ b/jsaccess/jsa/jsa.css @@ -4,9 +4,18 @@ body { color:#dfdfdf; } -a {text-decoration: none; color:#dfdfdf;} +h1 { + text-align: center; +} + +a {text-decoration: none; color:#9f9f9f;} a:hover {text-decoration: underline overline; color: red;} +input { + vertical-align: bottom; + margin-right: 10px; +} + #forms { float: left; } @@ -15,21 +24,27 @@ a:hover {text-decoration: underline overline; color: red;} float: right; min-width: 400px; color:#5fba3d; + margin-top: 20px; +} +#status:before { + content: "Welcome."; } + #footer { position: absolute; - width: 95%; + width: 100%; margin-left: auto; margin-right: auto; - text-align: center; bottom: 0; + left: 0; color: #9f9f9f; } -#footer a { - color: #9f9f9f; -}; +#footer small { + display: block; + text-align: center; +} @media (max-width: 480px) { #status { diff --git a/jsaccess/jsa/jsa.js b/jsaccess/jsa/jsa.js index d080a0a..9535ec4 100644 --- a/jsaccess/jsa/jsa.js +++ b/jsaccess/jsa/jsa.js @@ -78,7 +78,7 @@ function _showfiles(data, pass, hash) { $.each(lines, function( idx, obj ){ obj = obj.trim(); - var btn = $('<input type="radio" name="file" value="'+obj+'"/>'+obj+'<br/>'); + var btn = $('<label><input type="radio" name="file" value="'+obj+'">'+obj+'</input></label><br/>'); btn.appendTo('#files'); }); } |