examples/simple/simple_ext1/templates/simple1.html
raw| 1 | <!doctype html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <meta charset="utf-8"> |
| 5 | <script type="text/javascript"> |
| 6 | /* Remove token from URL. */ |
| 7 | (function () { |
| 8 | var parsedUrl = new URL(window.location.href); |
| 9 | if (parsedUrl.searchParams.get('token')) { |
| 10 | parsedUrl.searchParams.delete('token'); |
| 11 | window.history.replaceState({ }, '', parsedUrl.href); |
| 12 | } |
| 13 | })(); |
| 14 | </script> |
| 15 | </head> |
| 16 | <body> |
| 17 | <h1>Hello Simple App 1 from Template.</h1> |
| 18 | <p>Path: {{path}}</p> |
| 19 | </body> |