13 <script src="lib/jquery.mousewheel.min.js" th:src="@{/static/lib/jquery.mousewheel.min.js}"></script> |
13 <script src="lib/jquery.mousewheel.min.js" th:src="@{/static/lib/jquery.mousewheel.min.js}"></script> |
14 <script src="lib/underscore-min.js" th:src="@{/static/lib/underscore-min.js}"></script> |
14 <script src="lib/underscore-min.js" th:src="@{/static/lib/underscore-min.js}"></script> |
15 <script src="lib/backbone.js" th:src="@{/static/lib/backbone.js}"></script> |
15 <script src="lib/backbone.js" th:src="@{/static/lib/backbone.js}"></script> |
16 <script src="lib/backbone-relational.js" th:src="@{/static/lib/backbone-relational.js}"></script> |
16 <script src="lib/backbone-relational.js" th:src="@{/static/lib/backbone-relational.js}"></script> |
17 <script src="lib/paper.js" th:src="@{/static/lib/paper.js}"></script> |
17 <script src="lib/paper.js" th:src="@{/static/lib/paper.js}"></script> |
18 <script src="js/main.js" th:src="@{/static/js/main.js}"></script> |
18 <script type="text/javascript" th:inline="javascript"> |
19 <script src="js/defaults.js" th:src="@{/static/js/defaults.js}"></script> |
19 /*<![CDATA[*/ |
20 <script src="js/i18n.js" th:src="@{/static/js/i18n.js}"></script> |
20 var require = { |
21 <script src="js/models.js" th:src="@{/static/js/models.js}"></script> |
21 baseUrl: /*[[@{/static/js/}]]*/"" |
22 <script src="js/wikipedia-bin.js" th:src="@{/static/js/wikipedia-bin.js}"></script> |
22 }; |
23 <script src="js/ldtjson-bin.js" th:src="@{/static/js/ldtjson-bin.js}"></script> |
23 /*]]>*/ |
24 <script src="js/list-bin.js" th:src="@{/static/js/list-bin.js}"></script> |
24 </script> |
25 <script src="js/paper-renderer.js" th:src="@{/static/js/paper-renderer.js}"></script> |
25 <script src="js/config.js" th:src="@{/static/js/config.js}"></script> |
26 <script type="text/javascript" src="js/config.js" th:src="@{/static/js/config.js}"></script> |
|
27 <script type="text/javascript" th:inline="javascript"> |
26 <script type="text/javascript" th:inline="javascript"> |
28 var cowebConfig = { |
27 var cowebConfig = { |
29 baseUrl: window.location.protocol + '//' + window.location.host, |
28 baseUrl: window.location.protocol + '//' + window.location.host, |
30 adminUrl : dojoConfig.baseUrl+'ocw_admin', |
29 adminUrl : dojoConfig.baseUrl+'ocw_admin', |
31 debug: /*[[${coweb_debug}]]*/false, |
30 debug: /*[[${coweb_debug}]]*/false, |
32 useWebSockets: /*[[${coweb_websockets}]]*/false |
31 useWebSockets: /*[[${coweb_websockets}]]*/false |
33 }; |
32 }; |
34 </script> |
33 </script> |
35 <script type="text/javascript" src="lib/dojo/dojo.js" data-dojo-config="isDebug: true, parseOnLoad: true" th:src="@{/static/lib/dojo/dojo.js}"></script> |
34 <script type="text/javascript" src="lib/dojo/dojo.js" data-dojo-config="isDebug: true, parseOnLoad: true" th:src="@{/static/lib/dojo/dojo.js}"></script> |
36 <script type="text/javascript" th:inline="javascript"> |
35 <script type="text/javascript" th:inline="javascript"> |
37 $(function() { |
36 /*<![CDATA[*/ |
|
37 function startRenkan() { |
38 var renkan_config = { |
38 var renkan_config = { |
39 static_url : /*[[@{/static/}]]*/ "", |
39 static_url : /*[[@{/static/}]]*/ "", |
40 read_only: true, |
40 read_only: true, |
41 bins: [ |
41 bins: [ |
42 { |
42 { |
85 |
85 |
86 require({corenkanConfig: corenkanConfig}, ["corenkan"], function(corenkan) { |
86 require({corenkanConfig: corenkanConfig}, ["corenkan"], function(corenkan) { |
87 corenkan.app.onStatusChange = function(status) { |
87 corenkan.app.onStatusChange = function(status) { |
88 }; |
88 }; |
89 }); |
89 }); |
90 }); |
90 } |
|
91 /*]]>*/ |
91 </script> |
92 </script> |
|
93 <script src="js/renkan.js" th:src="@{/static/js/renkan.js}"></script> |
92 <link rel="stylesheet" href="css/renkan.css" th:href="@{/static/css/renkan.css}"/> |
94 <link rel="stylesheet" href="css/renkan.css" th:href="@{/static/css/renkan.css}"/> |
93 <link rel="stylesheet" href="../../static/css/style.css" th:href="@{/static/css/style.css}"/> |
95 <link rel="stylesheet" href="../../static/css/style.css" th:href="@{/static/css/style.css}"/> |
94 <link rel="stylesheet" href="../../static/css/renkanProject.css" th:href="@{/static/css/renkanProject.css}"/> |
96 <link rel="stylesheet" href="../../static/css/renkanProject.css" th:href="@{/static/css/renkanProject.css}"/> |
95 </head> |
97 </head> |
96 <body> |
98 <body> |