Merge branch 'master' into templateallthemarkup
[mkws-moved-to-github.git] / examples / htdocs / jasmine-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="tools/htdocs/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="tools/htdocs/pz2.js"></script>
12     <script type="text/javascript" src="tools/htdocs/jquery.json-2.4.js"></script>
13     <script type="text/javascript" src="tools/htdocs/handlebars-v1.3.0.js"></script>
14
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-popup.js"></script>
20     <script type="text/javascript" src="src/mkws-widget.js"></script>
21     <script type="text/javascript" src="src/mkws-templates.js"></script>
22     <script type="text/javascript" src="src/mkws-widget-main.js"></script>
23     <script type="text/javascript" src="src/mkws-widget-termlists.js"></script>
24     <script type="text/javascript" src="src/mkws-widget-authname.js"></script>
25     <script type="text/javascript" src="src/mkws-widget-categories.js"></script>
26     <script type="text/javascript" src="src/mkws-widget-log.js"></script>
27     <script type="text/javascript" src="src/mkws-widget-record.js"></script>
28     <script type="text/javascript" src="src/mkws-widget-reference.js"></script>
29     <script type="text/javascript" src="src/mkws-widget-builder.js"></script>
30
31     <link rel="shortcut icon" type="image/png" href="jasmine/lib/jasmine-1.3.1/jasmine_favicon.png">
32     <link rel="stylesheet" type="text/css" href="jasmine/lib/jasmine-1.3.1/jasmine.css">
33     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine.js"></script>
34     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine-html.js"></script>
35
36     <script type="text/javascript" src="test/spec/true.spec.js"></script>
37     <script type="text/javascript" src="test/spec/mkws-config.js"></script>
38     <script type="text/javascript" src="test/spec/mkws-pazpar2.js"></script>
39
40     <script type="text/javascript" src="test/js/mkws-jasmine-run.js"></script>
41     <!-- jquery null test
42     <script type="text/javascript">$ = undefined;</script>
43         -->
44
45     <style type="text/css">
46       body > div > form > input.ui-state-default { background: none; }
47     </style>
48   </head>
49
50   <body>
51     <script type="text/javascript">
52
53     // use a our main service proxy with mkws test account
54     var mkws_config = {
55       perpage_default: 10,
56       pazpar2_url:          "//sp-mkws.indexdata.com/service-proxy/",
57       service_proxy_auth:   "//sp-mkws.indexdata.com/service-proxy-testauth"
58     };
59
60     var jasmine_config = {
61       search_query: "netbsd",
62       expected_hits: 10,
63       active_clients: 13,
64       check_motd: false,
65       show_record_url: true
66     };
67     </script>
68
69 <h2>MKWS Jasmine regression tests</h2>
70     <div class="mkwsSearch"></div>
71     <div class="mkwsPopup" popup_width="990" popup_height="760" popup_modal="0" popup_autoOpen="0" popup_button="input.mkwsButton">
72       <div class="mkwsSwitch"></div>
73       <div class="mkwsLang"></div>
74       <div class="mkwsResults"></div>
75       <div class="mkwsTargets"></div>
76       <div class="mkwsStat"></div>
77     </div>
78
79
80   </body>
81 </html>