Include new source file, mkws-filter.js
[mkws-moved-to-github.git] / examples / htdocs / jasmine-local-popup.html
1 <html>
2   <head>
3     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4     <title>MKWS demo: jQuery popup plugin with jasmine test framework</title>
5
6     <link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
7     <link rel="stylesheet" type="text/css" href="tools/htdocs/mkws.css" />
8
9     <script type="text/javascript" src="src/jquery-1.10.0.min.js"></script>
10     <script type="text/javascript" src="//code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
11     <script type="text/javascript" src="src/pz2.js"></script>
12     <script type="text/javascript" src="src/jquery.json-2.4.js"></script>
13     <script type="text/javascript" src="src/handlebars-v1.1.2.js"></script>
14     <!-- <script type="text/javascript" src="src/mkws.js"></script> -->
15     <script type="text/javascript" src="src/mkws-handlebars.js"></script>
16     <script type="text/javascript" src="src/mkws-core.js"></script>
17     <script type="text/javascript" src="src/mkws-team.js"></script>
18     <script type="text/javascript" src="src/mkws-filter.js"></script>
19     <script type="text/javascript" src="src/mkws-widgets.js"></script>
20     <script type="text/javascript" src="src/mkws-widget-termlists.js"></script>
21     <script type="text/javascript" src="src/mkws-widget-authname.js"></script>
22     <script type="text/javascript" src="src/mkws-widget-log.js"></script>
23     <script type="text/javascript" src="src/mkws-widget-record.js"></script>
24
25     <script type="text/javascript" src="src/mkws-jquery.js"></script>
26
27     <link rel="shortcut icon" type="image/png" href="jasmine/lib/jasmine-1.3.1/jasmine_favicon.png">
28     <link rel="stylesheet" type="text/css" href="jasmine/lib/jasmine-1.3.1/jasmine.css">
29     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine.js"></script>
30     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine-html.js"></script>
31
32     <script type="text/javascript" src="test/spec/true.spec.js"></script>
33     <script type="text/javascript" src="test/spec/mkws-config.js"></script>
34     <script type="text/javascript" src="test/spec/mkws-pazpar2.js"></script>
35
36     <script type="text/javascript" src="test/js/mkws-jasmine-run.js"></script>
37     <script type="text/javascript"> mkws_jasmine_init(500); </script>
38   </head>
39
40   <body>
41     <script type="text/javascript">
42
43     // using a local service proxy !!!
44     var mkws_config = {
45       perpage_default: 10,
46       pazpar2_url:          "/service-proxy/",
47       service_proxy_auth:   "/service-proxy-testauth"
48     };
49
50     var jasmine_config = {
51       search_query: "netbsd",
52       expected_hits: 10,
53       active_clients: 16,
54       show_record_url: true
55     };
56
57     jQuery.pazpar2({
58         "layout": "popup",               /* "table" [default], "div", "popup" */
59         "width": 990,                    /* popup width, should be at least 800 */
60         "height": 760                    /* popup height, should be at least 600 */
61     });
62     </script>
63
64     <pre>
65 An embryonic MasterKey Widget Set
66 =================================
67
68 This directory contains an embryonic MasterKey Widget Set, based
69 initially on "jsdemo" though now far removed from those beginnnings.
70 [...]
71     </pre>
72
73     <div id="testMOTD"><div class="mkwsMOTD">This is the mkwsMOTD div</div></div>
74   </body>
75 </html>