diff options
author | [email protected] <[email protected]> | 2018-04-10 09:33:14 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2018-04-10 16:47:59 +0000 |
commit | eef3a509fa5744e5f09ec8084985e6070b78226b (patch) | |
tree | d5fe58d4e50c56a2a750bac81d79266a71e5ec01 /lang/js/ui.html | |
parent | qt: Add test for resetting config value (diff) | |
download | gpgme-eef3a509fa5744e5f09ec8084985e6070b78226b.tar.gz gpgme-eef3a509fa5744e5f09ec8084985e6070b78226b.zip |
js: Initial commit for JavaScript Native Messaging API
--
Note this code misses all the legal boilerplate; please add this as
soon as possible and provide a DCO so we can merge it into master.
I also removed the dist/ directory because that was not source code.
Diffstat (limited to 'lang/js/ui.html')
-rw-r--r-- | lang/js/ui.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/lang/js/ui.html b/lang/js/ui.html new file mode 100644 index 00000000..9c56c2e5 --- /dev/null +++ b/lang/js/ui.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html> + <head> + <meta charset="utf-8"> + <link rel="stylesheet" href="ui.css"/> + </head> + <body> + <!--TODO: replace this mess with require --> + <script src="dist/gpgmejs.bundle.js"></script> + <script src="testapplication.js"></script> + <ul> + <li> + <span class="label">Text: </span> + <input type="text" id='text0' /> + </li> + <li> + <span class="label">Public key ID: </span> + <input type="text" id="key" value="Your Public Key ID here" /> + </li> + </ul> + <button id="button0">Encrypt</button><br> + <div id="answer"></div> + </body> +</html> |