diff options
Diffstat (limited to 'packages/taler-wallet-webextension/dev-html')
-rw-r--r-- | packages/taler-wallet-webextension/dev-html/index.html | 34 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/dev-html/stories.html | 11 |
2 files changed, 38 insertions, 7 deletions
diff --git a/packages/taler-wallet-webextension/dev-html/index.html b/packages/taler-wallet-webextension/dev-html/index.html index d141faa2d..4b7fe34e8 100644 --- a/packages/taler-wallet-webextension/dev-html/index.html +++ b/packages/taler-wallet-webextension/dev-html/index.html @@ -14,28 +14,45 @@ function closeWallet() { window.frames["wallet"].location = "about:blank"; } + function openPage() { + window.frames["other"].location = + document.getElementById("page-url").value; + } </script> - <input type="text" /> - <button value="asd" onclick="openPopup()">open popup</button> - <button value="asd" onclick="closeWallet();openWallet()"> - reload wallet page - </button> + <input id="page-url" type="text" /> + <button onclick="openPage()">open</button> + <a + href='javascript:void(window.frames["other"].location = "http://bank.taler:5882")' + >open local bank</a + > <hr /> <iframe + id="other-window" + name="other" + src="http://bank.taler:5882" + width="100%" + height="325" + > + </iframe> + <hr /> + <button value="asd" onclick="openPopup()">open popup</button><br /> + <iframe id="popup-window" name="popup" src="about:blank" - name="popup" width="500" height="325" > </iframe> <hr /> + <button value="asd" onclick="closeWallet();openWallet()"> + reload wallet page + </button> + <br /> <iframe id="wallet-window" name="wallet" src="/wallet.html" - name="wallet" width="800" height="100%" > @@ -43,6 +60,9 @@ <hr /> <iframe src="/tests.html" name="wallet" width="800" height="100%"> </iframe> <hr /> + <iframe src="/stories.html" name="wallet" width="800" height="100%"> + </iframe> + <hr /> <script src="/dist/background.dev.js"></script> </body> </html> diff --git a/packages/taler-wallet-webextension/dev-html/stories.html b/packages/taler-wallet-webextension/dev-html/stories.html new file mode 100644 index 000000000..1a726e183 --- /dev/null +++ b/packages/taler-wallet-webextension/dev-html/stories.html @@ -0,0 +1,11 @@ +<!DOCTYPE html> +<html> + <head> + <title>Stories</title> + <link rel="stylesheet" type="text/css" href="/dist/stories.css" /> + <script src="/dist/stories.js"></script> + </head> + <body> + <taler-stories id="container"></taler-stories> + </body> +</html> |