{% load static %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{LANGUAGE_CODE}}" lang="{{LANGUAGE_CODE}}">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" />
        <link rel="SHORTCUT ICON" href="{% static 'hdalab/img/favicon.ico' %}" />
        <title>HdA Lab renkan view &gt; {{datasheet.title}}</title>
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/common.css' %}" />
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/additionnal_renkan.css' %}" />
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/full_renkan.css' %}" />
        <link rel="stylesheet" type="text/css" href="{% static 'renkanmanager/lib/renkan/css/renkan.css' %}" />
        <script src="{% static 'hdalab/lib/jquery.min.js' %}"></script>
        <script src="{% static 'renkanmanager/lib/jquery-mousewheel/jquery.mousewheel.js' %}"></script>
        <script src="{% static 'renkanmanager/lib/underscore/underscore.js' %}"></script>
        <script src="{% static 'renkanmanager/lib/backbone/backbone.js' %}"></script>
        <script src="{% static 'renkanmanager/lib/backbone-relational/backbone-relational.js' %}"></script>
        <script src="{% static 'renkanmanager/lib/paper/paper-full.js' %}"></script>
        <script type="text/javascript">
            var require = {
                baseUrl: "{% static 'renkanmanager/lib/' %}"
            };
        </script>
        <script src="{% static 'renkanmanager/lib/requirejs/require.js' %}"></script>
        <script src="{% static 'renkanmanager/lib/renkan/js/renkan.js' %}"></script>
        <script type="text/javascript">
        
            function startRenkan(){
                var _renkan = new Rkns.Renkan({
                    static_url : "{% static 'renkanmanager/lib/renkan/' %}",
                    editor_mode: false,
                    show_bins: false,
                    show_export_button: false,
                    show_top_bar: false,
                    show_minimap: false,
                    language: "fr"
                });
                Rkns.jsonIO(_renkan, {
                    url: "{% url 'renkan_get_put' %}" + window.location.search
                });
            };
        </script>
    </head>
    <body>
      <main>
        <div class="rnk-full-wrapper">
          <div class="rnk-full-container">
            <div id="renkan"></div>
          </div>
        </div>
      </main>
    </body>
</html>