diff options
author | Patrick Simianer <p@simianer.de> | 2015-04-14 10:44:57 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2015-04-14 10:44:57 +0200 |
commit | aa97f229d6a6a1e5bc2bd133d0d39eefff888566 (patch) | |
tree | 6e9db365c0fa881fb5804366e18dbc6ce8d05696 /index.php | |
parent | b72fcb0fec707a9c829634e24d333f36e24116ae (diff) |
submit on keypress
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -8,22 +8,32 @@ <body onload="Next()"> +<div id="wrapper"> + <div> <textarea id="src" name="source" cols="1" rows="1" readonly></textarea> </div> <div> - <textarea id="trgt" name="target" cols="1" rows="1"></textarea> + <textarea id="trgt" name="target" cols="1" rows="1" onkeypress="submit(event)"></textarea> </div> <p> <button id="next" type="button" onclick="Next()">Next</button> </p> +</div> + <p id="translating_status"> <strong>translating</strong> <img src="img/ajax-loader-large.gif" width="20px" /> </p> +<p id="desc"> +Press the 'Next' to submit your post-edit and request the next segment to translate +(or just press enter when the textarea is in focus). +</p> + + </body> </html> |