blob: c032c337367454a375bd38ca2c39cb4828808c1c [file] [log] [blame]
Akron479994e2018-07-02 13:21:44 +02001<!DOCTYPE html>
2<html>
3 <head>
4 <title>Plugin demo</title>
5 <link type="text/css" rel="stylesheet" href="/css/kalamar.css" />
Akrona99315e2018-07-03 22:56:45 +02006 <!--
7 see https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
8 <meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src https://*; child-src 'none';">
9-->
Akron479994e2018-07-02 13:21:44 +020010 <script data-main="/demo/plugin-serverdemo.js" src="/js/lib/require.js" async="async"></script>
11 </head>
12 <body>
13 <p>Start the demo server with <code>morbo -l 'http://*:3003' t/plugin-server.pl</code> and open <a href="http://localhost:3003/demo/plugin-server.html"><code>this website</code></a>.</p>
14 <main>
Akron8d646d72018-07-08 13:45:53 +020015 <div id="search">
16 <ol>
17 <li class="active">
18 <div id="container"></div>
19 <a onclick="KorAP.Plugin.addWidget(document.getElementById('container'), 'http://localhost:3003/demo/plugin-client.html')">Open widget</a>
20 </li>
21 </ol>
22 </div>
Akron479994e2018-07-02 13:21:44 +020023 </main>
24 </body>
25</html>