diff options
-rw-r--r-- | jsaccess/jsa/index.html | 2 | ||||
-rw-r--r-- | jsaccess/jsa/jsa.css | 5 | ||||
-rw-r--r-- | jsaccess/jsa/jsa.js | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/jsaccess/jsa/index.html b/jsaccess/jsa/index.html index 782f58e..69c5337 100644 --- a/jsaccess/jsa/index.html +++ b/jsaccess/jsa/index.html @@ -30,7 +30,7 @@ <input type="button" id="cancel" value="Cancel" onclick="window.location.reload()"/> </form> </div> - <div id="status"></div> + <div id="status"><p id="status_p">Welcome.</p></div> </div> <div id="footer"> <small>Powered by <a href="http://git.zx2c4.com/laurent-tools/tree/jsaccess/README.txt">jsaccess</a></small> diff --git a/jsaccess/jsa/jsa.css b/jsaccess/jsa/jsa.css index 597638c..3803bfb 100644 --- a/jsaccess/jsa/jsa.css +++ b/jsaccess/jsa/jsa.css @@ -34,10 +34,9 @@ input { display: inline; width: 50%; color:#5fba3d; - margin-top: 20px; } -#status:before { - content: "Welcome."; +#status_p { + padding-top: 20px; } #footer { diff --git a/jsaccess/jsa/jsa.js b/jsaccess/jsa/jsa.js index 64cab5a..4046133 100644 --- a/jsaccess/jsa/jsa.js +++ b/jsaccess/jsa/jsa.js @@ -130,14 +130,14 @@ function _save(obj, name) { } function _status(txt, run_func) { - var div = document.getElementById('status'); + var div = document.getElementById('status_p'); div.innerHTML = div.innerHTML + '<br/>' + txt; jQuery.fn.redraw = function() { return this.hide(0, function() { $(this).show(); }); }; - $('#status').redraw(); + $('#status_p').redraw(); if (run_func) setTimeout(run_func, 100); /* to force refresh */ } |