server/java/renkan-web/src/main/webapp/WEB-INF/templates/renkanProjectPublish.html
author rougeronj
Mon, 22 Dec 2014 12:38:16 +0100
changeset 350 0b6f2883a67b
parent 316 242510015401
child 435 e529b633c339
permissions -rw-r--r--
update path to the new lib folders
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<!DOCTYPE html>
224
0167b777ad15 remove deprecated warnings + fix date picker default langauge
ymh <ymh.work@gmail.com>
parents: 127
diff changeset
     2
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" th:lang="${#ctx.getLocale().toLanguageTag()}">
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
    <head>
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
        <meta charset="utf-8" />
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
80
5295e118320b add link for publish
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
     6
        <title>RENKAN</title>
127
906fed13c1e1 space admin edit.
ymh <ymh.work@gmail.com>
parents: 115
diff changeset
     7
        <link rel="icon" href="../../static/img/favicon.ico" th:href="@{/static/img/favicon.ico}" type="image/x-icon" />
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
        <meta name="description" content="" />
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
        <meta name="author" content="Institut de Recherche et d'Innovation" />
350
0b6f2883a67b update path to the new lib folders
rougeronj
parents: 316
diff changeset
    10
        <script src="lib/jquery/jquery.js" th:src="@{/static/lib/jquery/jquery.js}" ></script>
0b6f2883a67b update path to the new lib folders
rougeronj
parents: 316
diff changeset
    11
        <script src="lib/jquery-mousewheel/jquery.mousewheel.js" th:src="@{/static/lib/jquery-mousewheel/jquery.mousewheel.js}"></script>
0b6f2883a67b update path to the new lib folders
rougeronj
parents: 316
diff changeset
    12
        <script src="lib/underscore/underscore.js" th:src="@{/static/lib/underscore/underscore.js}"></script>
0b6f2883a67b update path to the new lib folders
rougeronj
parents: 316
diff changeset
    13
        <script src="lib/backbone/backbone.js" th:src="@{/static/lib/backbone/backbone.js}"></script>
0b6f2883a67b update path to the new lib folders
rougeronj
parents: 316
diff changeset
    14
        <script src="lib/backbone-relational/backbone-relational.js" th:src="@{/static/lib/backbone-relational/backbone-relational.js}"></script>
0b6f2883a67b update path to the new lib folders
rougeronj
parents: 316
diff changeset
    15
        <script src="lib/paper/paper-full.js" th:src="@{/static/lib/paper/paper-full.js}"></script>
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
        <script type="text/javascript" th:inline="javascript">
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
        /*<![CDATA[*/
290
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    18
            var require = {
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    19
                baseUrl: /*[[@{/static/js/}]]*/""
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    20
            };
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    21
        /*]]>*/
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    22
        </script>
350
0b6f2883a67b update path to the new lib folders
rougeronj
parents: 316
diff changeset
    23
        <script src="lib/requirejs/require.js" th:src="@{/static/lib/requirejs/require.js}"></script>
290
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    24
        <script src="js/renkan.js" th:src="@{/static/js/renkan.js}"></script>
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    25
        <script type="text/javascript" th:inline="javascript">
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    26
        /*<![CDATA[*/
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    27
            function startRenkan() {
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    28
                var _renkan = new Rkns.Renkan({
80
5295e118320b add link for publish
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    29
                	static_url:/*[[@{/static/}]]*/ "",
115
e905eb562074 include defaults.js on server side
veltr
parents: 97
diff changeset
    30
                	editor_mode: false,
e905eb562074 include defaults.js on server side
veltr
parents: 97
diff changeset
    31
                	show_bins: false,
80
5295e118320b add link for publish
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    32
                	url: /*[[@{/rest/projects/}+${project.id}]]*/ "../metadataplayer/json/renkan.json",
5295e118320b add link for publish
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    33
                	property_files: [
5295e118320b add link for publish
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    34
                	    /*[[@{/static/data/properties.json}]]*/ "data/properties.json",
5295e118320b add link for publish
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    35
                	]
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
                });
80
5295e118320b add link for publish
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    37
                Rkns.jsonIO(_renkan, {
5295e118320b add link for publish
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    38
                    url: /*[[@{/rest/projects/}+${project.id}]]*/ "../metadataplayer/json/renkan.json"
5295e118320b add link for publish
ymh <ymh.work@gmail.com>
parents: 47
diff changeset
    39
                });
290
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    40
            }
8a6eb26ac87f move client build to Grunt and relocate it into client folder. Adjust server to work with the new build.
ymh <ymh.work@gmail.com>
parents: 257
diff changeset
    41
        /*]]>*/
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
        </script>
257
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    43
        <link rel="stylesheet" href="css/renkan.css" th:href="@{/static/css/renkan.css}"/>
97
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents: 80
diff changeset
    44
        <link href="../../static/css/style.css" rel="stylesheet" th:href="@{/static/css/style.css}"/>
257
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    45
        <link href="../../static/css/renkanProject.css" rel="stylesheet" th:href="@{/static/css/renkanProject.css}"/>
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
    </head>
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
    <body>
257
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    49
        <header><a href="/" th:href="@{/}">RENKAN</a>&nbsp;&gt;&nbsp;<a href=".." th:href="@{'/s/'+${space.id}}">Space</a></header>
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    50
        <div id="renkan-wrapper">
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    51
            <div id="renkan-container">
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    52
                <div id="renkan"></div>
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    53
            </div>
97
f7d611f50e58 add version str + improver css + new version
ymh <ymh.work@gmail.com>
parents: 80
diff changeset
    54
        </div>
257
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    55
        <footer id="footer" th:include="fragment/pageFragment :: footerFragment">
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    56
            <div id="version">© <span class="version-date">2014</span> <a href="http://www.iri.centrepompidou.fr" target="_blanck">IRI</a> - Version <span class="version-version">0.0</span></div>
6bf1126c5add add header to go back to space
ymh <ymh.work@gmail.com>
parents: 224
diff changeset
    57
        </footer>
47
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
    </body>
267d67791e05 first stabilization of editing a renkan.
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
</html>