server/java/renkan-web/src/main/webapp/WEB-INF/templates/renkanProjectEdit.html
changeset 435 e529b633c339
parent 394 1e60ba9ae38b
child 497 3ba7920facf4
equal deleted inserted replaced
434:0d5998b32a7c 435:e529b633c339
     2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" th:lang="${#ctx.getLocale().toLanguageTag()}">
     2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" th:lang="${#ctx.getLocale().toLanguageTag()}">
     3     <head>
     3     <head>
     4         <meta charset="utf-8" />
     4         <meta charset="utf-8" />
     5         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     5         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
     6         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     6         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
     7         
     7 
     8         <title>RENKAN</title>
     8         <title>RENKAN</title>
     9         <meta name="description" content="" />
     9         <meta name="description" content="" />
    10         <meta name="author" content="Institut de Recherche et d'Innovation" />
    10         <meta name="author" content="Institut de Recherche et d'Innovation" />
    11         <link rel="icon" href="../../static/img/favicon.ico" th:href="@{/static/img/favicon.ico}" type="image/x-icon" />
    11         <link rel="icon" href="../../static/img/favicon.ico" th:href="@{/static/img/favicon.ico}" type="image/x-icon" />
    12         <script src="lib/jquery/jquery.js" th:src="@{/static/lib/jquery/jquery.js}" ></script>
    12         <script src="lib/jquery/jquery.js" th:src="@{/static/lib/jquery/jquery.js}" ></script>
    13         <script src="lib/jquery-mousewheel/jquery.mousewheel.js" th:src="@{/static/lib/jquery-mousewheel/jquery.mousewheel.js}"></script>
    13         <script src="lib/jquery-mousewheel/jquery.mousewheel.js" th:src="@{/static/lib/jquery-mousewheel/jquery.mousewheel.js}"></script>
    14         <script src="lib/underscore/underscore.js" th:src="@{/static/lib/underscore/underscore.js}"></script>
    14         <script src="lib/lodash/lodash.js" th:src="@{/static/lib/lodash/lodash.js}"></script>
    15         <script src="lib/backbone/backbone.js" th:src="@{/static/lib/backbone/backbone.js}"></script>
    15         <script src="lib/backbone/backbone.js" th:src="@{/static/lib/backbone/backbone.js}"></script>
    16         <script src="lib/backbone-relational/backbone-relational.js" th:src="@{/static/lib/backbone-relational/backbone-relational.js}"></script>
    16         <script src="lib/backbone-relational/backbone-relational.js" th:src="@{/static/lib/backbone-relational/backbone-relational.js}"></script>
    17         <script src="lib/paper/paper-full.js" th:src="@{/static/lib/paper/paper-full.js}"></script>
    17         <script src="lib/paper/paper-full.js" th:src="@{/static/lib/paper/paper-full.js}"></script>
    18         <script type="text/javascript" th:inline="javascript">
    18         <script type="text/javascript" th:inline="javascript">
    19         /*<![CDATA[*/
    19         /*<![CDATA[*/
    29                 adminUrl : dojoConfig.baseUrl+'ocw_admin',
    29                 adminUrl : dojoConfig.baseUrl+'ocw_admin',
    30                 debug: /*[[${coweb_debug}]]*/false,
    30                 debug: /*[[${coweb_debug}]]*/false,
    31                 useWebSockets: /*[[${coweb_websockets}]]*/false
    31                 useWebSockets: /*[[${coweb_websockets}]]*/false
    32             };
    32             };
    33         </script>
    33         </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>                
    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>
    35         <script type="text/javascript" th:inline="javascript">
    35         <script type="text/javascript" th:inline="javascript">
    36         /*<![CDATA[*/
    36         /*<![CDATA[*/
    37             function startRenkan() {
    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                     change_shapes: false,
    41                     change_shapes: true,
    42                     allow_image_upload : false,
    42                     allow_image_upload : false,
    43                     bins: [
    43                     bins: [
    44                         {
    44                         {
    45                             type: "Wikipedia",
    45                             type: "Wikipedia",
    46                             lang: "en",
    46                             lang: "en",
    61                     ],
    61                     ],
    62                     search: [
    62                     search: [
    63                         {
    63                         {
    64                             type: "Wikipedia",
    64                             type: "Wikipedia",
    65                             lang: "fr"
    65                             lang: "fr"
    66                         }, 
    66                         },
    67                         {
    67                         {
    68                             type: "Wikipedia",
    68                             type: "Wikipedia",
    69                             lang: "en"
    69                             lang: "en"
    70                         }, 
    70                         },
    71                         {
    71                         {
    72                             type: "Wikipedia",
    72                             type: "Wikipedia",
    73                             lang: "ja"
    73                             lang: "ja"
    74                         }
    74                         }
    75                     ],
    75                     ],