extract latest git commit ID from github, MKWS-420
[mkws-moved-to-github.git] / examples / htdocs / jasmine-pp2.html
1 <html>
2   <head>
3     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4     <title>MKWS demo: popup 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/jsnlog.min.js"></script>
14     <script type="text/javascript" src="/tools/htdocs/handlebars-v3.0.3.js"></script>
15
16     <script type="text/javascript" src="/src/mkws-handlebars.js"></script>
17     <script type="text/javascript" src="/src/mkws-core.js"></script>
18     <script type="text/javascript" src="/src/mkws-team.js"></script>
19     <script type="text/javascript" src="/src/mkws-filter.js"></script>
20     <script type="text/javascript" src="/src/mkws-widget.js"></script>
21     <script type="text/javascript" src="/src/mkws-widget-main.js"></script>
22     <script type="text/javascript" src="/src/mkws-widget-facets.js"></script>
23     <script type="text/javascript" src="/src/mkws-widget-authname.js"></script>
24     <script type="text/javascript" src="/src/mkws-widget-categories.js"></script>
25     <script type="text/javascript" src="/src/mkws-widget-log.js"></script>
26     <script type="text/javascript" src="/src/mkws-widget-record.js"></script>
27     <script type="text/javascript" src="/src/mkws-widget-wikipedia.js"></script>
28     <script type="text/javascript" src="/src/mkws-widget-builder.js"></script>
29     <script type="text/javascript" src="/src/mkws-templates.js"></script>
30     <script type="text/javascript" src="/src/mkws-popup.js"></script>
31
32     <link rel="shortcut icon" type="image/png" href="jasmine/lib/jasmine-1.3.1/jasmine_favicon.png">
33     <link rel="stylesheet" type="text/css" href="jasmine/lib/jasmine-1.3.1/jasmine.css">
34     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine.js"></script>
35     <script type="text/javascript" src="jasmine/lib/jasmine-1.3.1/jasmine-html.js"></script>
36
37     <script type="text/javascript" src="test/spec/true.spec.js"></script>
38     <script type="text/javascript" src="test/spec/mkws-config.js"></script>
39     <script type="text/javascript" src="test/spec/mkws-pazpar2.js"></script>
40
41     <script type="text/javascript" src="test/js/mkws-jasmine-run.js"></script>
42
43     <style type="text/css">
44       body > div > form > input.ui-state-default { background: none; }
45     </style>
46   </head>
47
48   <body>
49     <script type="text/javascript">
50     var mkws_config = {
51         use_service_proxy: false,
52         disable_facet_authors_search: true, // does not work with raw pazpar2
53         pazpar2_url : "/pazpar2/",
54         perpage_default: 10
55     };
56
57     var jasmine_config = {
58       search_query: "freebsd",
59       expected_hits: 20,
60       active_clients: 16,
61       check_motd: false,
62       show_record_url: false // URLs not configured for pp2
63     };
64     </script>
65
66
67     <h2>MKWS Jasmine regression tests</h2>
68     <div class="mkws-search"></div>
69     <div class="mkws-popup" popup_width="990" popup_height="760" popup_modal="0" popup_autoOpen="0" popup_button="input.mkws-button">
70       <div class="mkws-switch"></div>
71       <div class="mkws-lang"></div>
72       <div class="mkws-results"></div>
73       <div class="mkws-targets"></div>
74       <div class="mkws-stat"></div>
75     </div>
76
77   </body>
78 </html>