Akron | 479994e | 2018-07-02 13:21:44 +0200 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>Plugin demo</title> |
| 5 | <link type="text/css" rel="stylesheet" href="/css/kalamar.css" /> |
| 6 | |
| 7 | <!-- load client javascript library --> |
Akron | a6c32b9 | 2018-07-02 18:39:42 +0200 | [diff] [blame^] | 8 | <script src="/js/src/plugin/client.js" data-server="http://localhost:3003/"></script> |
| 9 | <style> |
| 10 | body, html { |
| 11 | padding: 0; |
| 12 | margin: 0; |
| 13 | box-sizing: border-box; |
| 14 | border-width: 0; |
| 15 | } |
| 16 | </style> |
Akron | 479994e | 2018-07-02 13:21:44 +0200 | [diff] [blame] | 17 | </head> |
Akron | a6c32b9 | 2018-07-02 18:39:42 +0200 | [diff] [blame^] | 18 | <body style="background-color: yellow"> |
Akron | 479994e | 2018-07-02 13:21:44 +0200 | [diff] [blame] | 19 | <h2>Example Widget!</h2> |
Akron | a6c32b9 | 2018-07-02 18:39:42 +0200 | [diff] [blame^] | 20 | <ul> |
| 21 | <li><a onclick="KorAPlugin.log(333, 'Huhu!')">Send log!</a></li> |
| 22 | <li><a onclick="KorAPlugin.resize()">Resize</a></li> |
| 23 | </ul> |
Akron | 479994e | 2018-07-02 13:21:44 +0200 | [diff] [blame] | 24 | </body> |
| 25 | </html> |