src/hdalab/templates/renkan_edit.html
author rougeronj
Fri, 21 Nov 2014 16:10:54 +0100
changeset 371 c70c34166758
parent 366 cd359ba0137b
child 385 b9fa11411e13
permissions -rw-r--r--
Shrink help icon + Prevent the icon to disappear (with the text "circular view") when renkan is modified
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
     1
{% extends "base.html" %}
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
     2
{% load static %}
336
aec074085a81 link to change renkan shape to circle
cavaliet
parents: 324
diff changeset
     3
{% load i18n %}
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
     4
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
     5
{% block title %}{{block.super}} > {{datasheet.title}}{% endblock %}
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
     6
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
     7
{% block css_import %}
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
     8
{{block.super}}
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
     9
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/ui-lightness/jquery-ui-1.10.4.min.css' %}" />
311
6c16170f947f clean some log and css
cavaliet
parents: 310
diff changeset
    10
        <link rel="stylesheet" type="text/css" href="{% static 'renkanmanager/lib/renkan/css/renkan.css' %}" />
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    11
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/additionnal_renkan.css' %}" />
337
46cd7ba5bbec enhance onbeforeunload and prepare for help text
cavaliet
parents: 336
diff changeset
    12
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/lib/bjqs.css' %}" />
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    13
{% endblock %}
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    14
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    15
{% block js_import %}
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    16
{{block.super}}
337
46cd7ba5bbec enhance onbeforeunload and prepare for help text
cavaliet
parents: 336
diff changeset
    17
        <script src="{% static 'hdalab/lib/bjqs-1.3.min.js' %}"></script>
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
    18
	    <script src="{% static 'renkanmanager/lib/jquery-ui-1.10.4.min.js' %}"></script>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
    19
		<script src="{% static 'renkanmanager/lib/jquery.mousewheel.min.js' %}"></script>
299
8e00641076e7 remove renkan management to an other django app (see renkan hg repo)
cavaliet
parents: 298
diff changeset
    20
        <script src="{% static 'renkanmanager/lib/underscore-min.js' %}"></script>
8e00641076e7 remove renkan management to an other django app (see renkan hg repo)
cavaliet
parents: 298
diff changeset
    21
        <script src="{% static 'renkanmanager/lib/backbone.js' %}"></script>
8e00641076e7 remove renkan management to an other django app (see renkan hg repo)
cavaliet
parents: 298
diff changeset
    22
        <script src="{% static 'renkanmanager/lib/backbone-relational.js' %}"></script>
8e00641076e7 remove renkan management to an other django app (see renkan hg repo)
cavaliet
parents: 298
diff changeset
    23
        <script src="{% static 'renkanmanager/lib/paper.js' %}"></script>
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    24
        <script type="text/javascript">
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    25
            var require = {
299
8e00641076e7 remove renkan management to an other django app (see renkan hg repo)
cavaliet
parents: 298
diff changeset
    26
                baseUrl: "{% static 'renkanmanager/lib/' %}"
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    27
            };
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    28
        </script>
299
8e00641076e7 remove renkan management to an other django app (see renkan hg repo)
cavaliet
parents: 298
diff changeset
    29
        <script src="{% static 'renkanmanager/lib/require.js' %}"></script>
8e00641076e7 remove renkan management to an other django app (see renkan hg repo)
cavaliet
parents: 298
diff changeset
    30
        <script src="{% static 'renkanmanager/lib/renkan/renkan.js' %}"></script>
323
67cff4e39ad8 search in notice json, and renkan search bin for notices.
cavaliet
parents: 311
diff changeset
    31
        <script src="{% static 'hdalab/js/renkan-manual-save.js' %}"></script>
67cff4e39ad8 search in notice json, and renkan search bin for notices.
cavaliet
parents: 311
diff changeset
    32
        <script src="{% static 'hdalab/js/hdalab-renkan-bins.js' %}"></script>
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    33
        <script type="text/javascript">
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    34
            var io_options = {}, dialog=false;
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    35
            function startRenkan(){
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    36
                var _renkan = new Rkns.Renkan({
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    37
                    manual_save: true,
299
8e00641076e7 remove renkan management to an other django app (see renkan hg repo)
cavaliet
parents: 298
diff changeset
    38
                    static_url : "{% static 'renkanmanager/lib/renkan/' %}",
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    39
                    search: [
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    40
                        {
324
573043a98b44 tags search bin
cavaliet
parents: 323
diff changeset
    41
                            type: "HdaTags",
573043a98b44 tags search bin
cavaliet
parents: 323
diff changeset
    42
                            lang: "{{LANGUAGE_CODE}}",
573043a98b44 tags search bin
cavaliet
parents: 323
diff changeset
    43
                            image: "http://dbpedia.org/statics/dbpedia_logo.png",
573043a98b44 tags search bin
cavaliet
parents: 323
diff changeset
    44
                            url: "{% url 'tag_search' %}"
573043a98b44 tags search bin
cavaliet
parents: 323
diff changeset
    45
                        },
573043a98b44 tags search bin
cavaliet
parents: 323
diff changeset
    46
                        {
323
67cff4e39ad8 search in notice json, and renkan search bin for notices.
cavaliet
parents: 311
diff changeset
    47
                            type: "HdaNotices",
67cff4e39ad8 search in notice json, and renkan search bin for notices.
cavaliet
parents: 311
diff changeset
    48
                            lang: "{{LANGUAGE_CODE}}",
67cff4e39ad8 search in notice json, and renkan search bin for notices.
cavaliet
parents: 311
diff changeset
    49
                            image: "http://digital-impulse.com/wp-content/plugins/smilies-themer/digicons/IronMan.png",
67cff4e39ad8 search in notice json, and renkan search bin for notices.
cavaliet
parents: 311
diff changeset
    50
                            url: "{% url 'searchajax' %}"
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    51
                        },
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    52
                        {
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    53
                            type: "Wikipedia",
323
67cff4e39ad8 search in notice json, and renkan search bin for notices.
cavaliet
parents: 311
diff changeset
    54
                            lang: "{{LANGUAGE_CODE}}"
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    55
                        }
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    56
                    ],
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    57
                    bins: [
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    58
                        {
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    59
                            type: "ResourceList",
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    60
                            title: "Ressources",
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    61
                            list: [
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    62
								{
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    63
								    url: "http://www.histoiredesarts.culture.fr/",
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    64
								    title: "Histoire des arts",
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    65
								    description: "Portail Histoire des arts sur culture.fr",
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    66
								    image: "http://www.culture.fr/extension/culture_fr/design/culture/images/favicon.ico"
323
67cff4e39ad8 search in notice json, and renkan search bin for notices.
cavaliet
parents: 311
diff changeset
    67
								}
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    68
                            ]
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    69
                        }
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    70
                    ],
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    71
                    /*property_files: [ "data/properties.json" ],
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    72
                       node_fill_color: false*/
323
67cff4e39ad8 search in notice json, and renkan search bin for notices.
cavaliet
parents: 311
diff changeset
    73
                    language: "{{LANGUAGE_CODE}}"
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
    74
                });
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    75
                
310
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
    76
                io_options = { url: "{% url 'renkan_get_put' %}" + window.location.search, user_authenticated: {% if user.is_authenticated %}true{% else %}false{% endif %} };
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    77
                Rkns.jsonIOSaveOnClick(_renkan, io_options);
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    78
            };
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    79
            
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    80
            $(function() {
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    81
                var form;
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
    82
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    83
                dialog = $( "#dialog-form" ).dialog({
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    84
                    autoOpen: false,
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    85
                    height: 300,
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    86
                    width: 350,
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    87
                    modal: true
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
    88
                });            
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    89
                
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    90
                function manageLoginForm(e, form){
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    91
                    e.preventDefault();
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    92
                    f = $(form);
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    93
                    $.ajax({
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    94
                        type: f.attr("method"),
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    95
                        url: f.attr("action"),
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    96
                        data: f.serialize(),
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
    97
                        success: function(data, textStatus, jqXHR) {
310
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
    98
                            var d = $(data);
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
    99
                            if($(".ok",d).length==1){
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   100
                                $("#dialog-form").html($(".ok",d)[0]);
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   101
                                $(".hello-user").remove();
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   102
                                $("#nav").append($(".username",d).children());
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   103
                                //$("#dialog-form .close").click(function(){
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   104
                                //    dialog.dialog( "close" );
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   105
                                //});
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   106
                                io_options.user_authenticated = true;
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   107
                                $(".Rk-Save-Button").addClass("Rk-Save-Online");
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   108
                                dialog.dialog( "close" );
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   109
                                $(".Rk-Save-Button").click();
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   110
                                return true;
05c9f6551fde ajax login and save
cavaliet
parents: 308
diff changeset
   111
                            }
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   112
                            $("#dialog-form").html(data);
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   113
                            // in case, login failed, we reassign the behaviour
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   114
                            form = dialog.find( "form" ).on( "submit", function( event ) {
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   115
                                manageLoginForm(event, this);
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   116
                            });
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   117
                        }
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   118
                    });
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   119
                }
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   120
                
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   121
			    form = dialog.find( "form" ).on( "submit", function( event ) {
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   122
			        manageLoginForm(event, this);
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   123
			    });
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   124
			    
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   125
			  //help dialog init
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   126
			    var help_dialog = $( "#help-container" ).dialog({
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   127
			        autoOpen: false,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   128
			        height: 330,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   129
			        width: 880,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   130
			        resizable: false,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   131
			        draggable: false,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   132
			        create: function (event, ui) {
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   133
			        	var help_slideshow = $('#help-slideshow').bjqs({
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   134
					    	responsive:false,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   135
					    	height: 320,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   136
					        width: 870,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   137
					    	animtype: 'slide',
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   138
					    	showcontrols: true,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   139
					    	centercontrols: false,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   140
					     nexttext: "",
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   141
					     showmarkers : false,
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   142
					     automatic: false
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   143
					    });
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   144
			        	
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   145
			        	$("#toggle-help").click(function(){
371
c70c34166758 Shrink help icon + Prevent the icon to disappear (with the text "circular view") when renkan is modified
rougeronj
parents: 366
diff changeset
   146
			        		if (help_dialog.dialog("isOpen")){
c70c34166758 Shrink help icon + Prevent the icon to disappear (with the text "circular view") when renkan is modified
rougeronj
parents: 366
diff changeset
   147
			        			help_dialog.dialog("close");	
c70c34166758 Shrink help icon + Prevent the icon to disappear (with the text "circular view") when renkan is modified
rougeronj
parents: 366
diff changeset
   148
			        		}
c70c34166758 Shrink help icon + Prevent the icon to disappear (with the text "circular view") when renkan is modified
rougeronj
parents: 366
diff changeset
   149
			        		else{
c70c34166758 Shrink help icon + Prevent the icon to disappear (with the text "circular view") when renkan is modified
rougeronj
parents: 366
diff changeset
   150
			        			help_dialog.dialog("open");
c70c34166758 Shrink help icon + Prevent the icon to disappear (with the text "circular view") when renkan is modified
rougeronj
parents: 366
diff changeset
   151
			        		}
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   152
			            });
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   153
			    		$(".img-close").click(function(){
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   154
			    			help_dialog.dialog("close");
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   155
			            });
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   156
			    	}
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   157
			    });
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   158
        	});
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   159
            
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
   160
        </script>
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
   161
{% endblock %}
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
   162
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
   163
{% block main_content %}
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   164
<div id="dialog-form" title="Identification">
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   165
	{% include 'ajax_identification/ajax_login.html' %}
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   166
</div>
336
aec074085a81 link to change renkan shape to circle
cavaliet
parents: 324
diff changeset
   167
<div class="renkan_help">
aec074085a81 link to change renkan shape to circle
cavaliet
parents: 324
diff changeset
   168
  <span id="circle-shape"><a href="{{ switch_shape_url }}">{% if 'shape=circle' in switch_shape_url %}{% trans 'See the graph in circle' %}{% else %}{% trans 'See the graph in lines' %}{% endif %}</a></span>
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   169
  <a id="toggle-help" href="#"></a>
337
46cd7ba5bbec enhance onbeforeunload and prepare for help text
cavaliet
parents: 336
diff changeset
   170
</div>
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   171
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   172
<div id="help-container" class="">
337
46cd7ba5bbec enhance onbeforeunload and prepare for help text
cavaliet
parents: 336
diff changeset
   173
	<div id="help-slideshow">
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   174
		<a class="img-close" href="#">{% trans 'Fermer<br>ce didacticiel' %}</a>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   175
	  	<ul class="bjqs">
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   176
	    	<li class="slide1">
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   177
	    		<div class="slideShowTitle">{% trans 'Aide : Bienvenue !' %}</div>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   178
   				<div class="column-left">
366
cd359ba0137b Update block trans for Django translation. Minor corrections in the text
rougeronj
parents: 365
diff changeset
   179
   					<p>{% trans 'Cet outil (RENKAN) vous permet de representer, spatialiser et organiser des collections de ressources du portails histoire des arts avec d’autres sites Web.<br><br>Vous pouvez déplacer chaque noeud en cliquant dessus et en déplacant votre curseur.' %}</p>
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   180
   				</div>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   181
	   			<div class="column-center">
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   182
	   				<p class="columnTitle">{% trans 'Légende' %}</p>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   183
	 				<label class="img-requete">{% trans 'Requête' %}</label>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   184
	 				<label class="img-ressource">{% trans 'Ressource' %}</label>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   185
	 				<label class="img-tag">{% trans 'Tag' %}</label>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   186
				</div>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   187
   			
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   188
	   			<div class="column-right">
366
cd359ba0137b Update block trans for Django translation. Minor corrections in the text
rougeronj
parents: 365
diff changeset
   189
					<p>{% trans 'En cliquant sur chaque noeud ou lien vous pouvez les déplacer,  éditer,  supprimer, agrandir, rétraicir, modifier en utilisant le menu circulaire comme ci dessous.' %}</p>
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   190
		  			  <img src="{% static 'hdalab/img/menu.png' %}" class="img-menu">
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   191
				</div>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   192
	    	</li>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   193
		    <li class="slide2">
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   194
		    	<div class="slideShowTitle">{% trans 'Aide : Ajouter, Editer, Organiser, Enregistrer !' %}</div>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   195
	   			<div class="column-left">
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   196
		  			<h1 class="columnTitle">{% trans '1. Ajouter' %}</h1>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   197
		  			<p>{% trans 'Une fois ce didacticiel fermer vous pouvez ajouter des ressources en faisant “drag and drop” a partir de n’importe qu’elle fenetre de navigation web.' %}</p><br>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   198
		   			<img src="{% static 'hdalab/img/extend.png' %}" class="img-extend" />
366
cd359ba0137b Update block trans for Django translation. Minor corrections in the text
rougeronj
parents: 365
diff changeset
   199
		   			<p>{% trans 'En cliquant sur l’icone à gauche  vous pouvez ouvrir le panel de recherche pour retrouver des ressources du site HDA ou Wikipédia.' %}</p>
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   200
	   			</div>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   201
	   			<div class="column-center">
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   202
		    		<h1 class="columnTitle">{% trans '2. Editer et organiser' %}</h1>
366
cd359ba0137b Update block trans for Django translation. Minor corrections in the text
rougeronj
parents: 365
diff changeset
   203
		    		<p>{% blocktrans %}Le Lorem Ipsum est simplement du faux texte employé dans la composition et la mise en page avant impression.<br><br>Le Lorem Ipsum est le faux texte standard de l'imprimerie depuis les années 1500, quand un peintre anonyme assembla ensemble des morceaux de texte pour réaliser un livre de texte.{% endblocktrans %}</p>
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   204
				</div>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   205
	   			<div class="column-right">
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   206
		  			<h1 class="columnTitle">{% trans '3. Enregistrer' %}</h1>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   207
		  			<p>{% trans 'En cliquant sur chaque noeud ou lien vous pouvez les déplacer,  éditer,  supprimer, agrandir, rétraicir, modifier en utilisant le menu circulaire comme ci dessous.' %}</p><br>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   208
	        		<img src="{% static 'hdalab/img/save.png' %}" class="img-save" />
366
cd359ba0137b Update block trans for Django translation. Minor corrections in the text
rougeronj
parents: 365
diff changeset
   209
	        		<p>{% blocktrans %}Ensuite vous pouvez enregistrer en ciquant sur l’icone representant une disquette.{% endblocktrans %}</p>
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   210
	   			</div>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   211
		    </li>
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   212
	  	</ul>
337
46cd7ba5bbec enhance onbeforeunload and prepare for help text
cavaliet
parents: 336
diff changeset
   213
	</div>
336
aec074085a81 link to change renkan shape to circle
cavaliet
parents: 324
diff changeset
   214
</div>
365
a2a04e7db680 Add help popup to html and css
rougeronj
parents: 338
diff changeset
   215
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
   216
<div class="rnk-wrapper">
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
   217
  <div class="rnk-container">
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
   218
    <div id="renkan"></div>
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
   219
  </div>
308
eab6629b5b31 ajax login first step
cavaliet
parents: 303
diff changeset
   220
</div>
288
0bb9c29cd41d renkan first step : link, views and get put for json
cavaliet
parents:
diff changeset
   221
{% endblock %}