LP#1402797 browser client interval parser
[working/Evergreen.git] / Open-ILS / src / templates / staff / base_js.tt2
1 <script src="/IDL2js"></script>
2
3 [% IF EXPAND_WEB_IMPORTS %]
4
5 <!-- angular -->
6 <script src="[% ctx.media_prefix %]/js/ui/default/staff/build/js/angular.min.js"></script>
7 <script src="[% ctx.media_prefix %]/js/ui/default/staff/build/js/angular-route.min.js"></script>
8 <script src="[% ctx.media_prefix %]/js/ui/default/staff/build/js/ui-bootstrap-tpls.min.js"></script>
9 <script src="[% ctx.media_prefix %]/js/ui/default/staff/build/js/hotkeys.min.js"></script>
10
11 <!-- IDL / opensrf (network) -->
12 <script src="[% ctx.media_prefix %]/js/dojo/opensrf/JSON_v1.js"></script>
13 <script src="[% ctx.media_prefix %]/js/dojo/opensrf/opensrf.js"></script>
14 <script src="[% ctx.media_prefix %]/js/dojo/opensrf/opensrf_ws.js"></script>
15
16 <!-- evergreen core services -->
17 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/core.js"></script>
18 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/strings.js"></script>
19 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/idl.js"></script>
20 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/event.js"></script>
21 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/net.js"></script>
22 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/auth.js"></script>
23 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/pcrud.js"></script>
24 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/env.js"></script>
25 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/org.js"></script>
26 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/startup.js"></script>
27 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/hatch.js"></script>
28 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/print.js"></script>
29 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/coresvc.js"></script>
30 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/navbar.js"></script>
31 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/statusbar.js"></script>
32 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/ui.js"></script>
33 <script src="[% ctx.media_prefix %]/js/ui/default/staff/services/date.js"></script>
34
35 [% ELSE %]
36
37 <!-- concatenated, minified version of all of the above -->
38 <script src="[% ctx.media_prefix %]/js/ui/default/staff/build/js/evergreen-staff-client.[% EVERGREEN_VERSION %].min.js"></script>
39
40 [% END %]
41
42 <script>
43   // Configure OpenSRF
44   // pending api_level thunking in C
45   // OpenSRF.api_level = 2;
46   OpenSRF.Session.transport = OSRF_TRANSPORT_TYPE_WS;
47 </script>
48