Gitlab CSE Unil

base_annotation.html 28.1 KB
Newer Older
Julien Furrer's avatar
Julien Furrer committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{% extends "base.html" %}
{% load static i18n %}

{% block page_head %}{% endblock %}


{% block navbar_right_content %}

    <li class="navbar-text navbar-separator">&nbsp;</li>

    <li>
        <span class="btn btn-sm btn-success navbar-btn navbar-btn fileinput-button">
            <span class="glyphicon glyphicon-plus"></span>&nbsp;
            <span>Nouvelle image</span>
            <form action="{% url "adim.app:upload_file" %}" method="post" enctype="multipart/form-data">{% csrf_token %}
                <input id="fileupload-alt" type="file" name="image_file" data-url="{% url "adim.app:upload_file" %}" accept="image/png,image/jpg">
            </form>
        </span>
    </li>

    <li>
Julien Furrer's avatar
Julien Furrer committed
22
        <a href="#" id="aom-show-but" class="aom-show-but">
Julien Furrer's avatar
Julien Furrer committed
23
24
25
26
27
28
29
            <span class="glyphicon glyphicon-th"></span>
            Mes Images
        </a>
    </li>

    {{ block.super }}

30
    <li class="info">
31
        <a href="#" id="adim-about-but"><span class="icon-info-sign"></span></a>
32
33
    </li>

Julien Furrer's avatar
Julien Furrer committed
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
{% endblock navbar_right_content %}



{#{% block overlay %}#}
{#<div id="page-loader">#}
{#    <div class="text-muted lead">Chargement...</div>#}
{#</div>#}
{#{% endblock %}#}

{#==========================================#}
{#   MODALS                                 #}
{#==========================================#}
{% block modals %}
{#  -- Loading Status -- #}
    <div class="modal" id="adim-fu-alt-status">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title">Nouvelle image</h4>
                </div>
                <div class="modal-body">
                    <div class="progress-wrapper hide">
                        <p>Chargement d'une nouvelle image:</p>
                        <div class="progress">
                            <div class="progress-bar" role="progressbar" style="width: 0%;">
                                0%
                            </div>
                        </div>
                    </div>

                    <div class="alert alert-danger hide adim-fu-error-box">
                        <strong>Impossible de charger l'image.</strong>

                        <div class="adim-fu-error-maxFileSize hide">
                            Ce fichier est trop volumineux, la taille maximale acceptée est 2Mb.
                        </div>
                        <div class="adim-fu-error-acceptFileTypes hide">
                            Ce type de document ne peut pas être chargé. Seules les images de type PNG
                            (<code>.png</code>)
                            ou JPG (.jpg, .jpeg) sont accéptées.
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

{#  -- AnObj Manager Dlog -- #}
    <div class="modal" id="aom-modal">
        <div class="modal-dialog modal-lg">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
91
                    <h4 class="modal-title">Gestion des images</h4>
Julien Furrer's avatar
Julien Furrer committed
92
                </div>
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
                <div class="modal-body clearfix">

                    <ul class="nav nav-tabs" role="tablist">
                        <li class="active"><a href="#aom-user-images-list" role="tab" data-toggle="tab">Mes Images</a></li>
                        <li><a href="#aom-shared-images-list" role="tab" data-toggle="tab">Images partagées</a></li>
                    </ul>

                    <div id="aom-info-panel" class="aom-info-panel panel">
                        <div class="panel-heading">
                            <h5>Propriétés de l'image</h5>
                        </div>
                        <div class="panel-body">
                            <img class="aom-image-thumb"
                                 src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7">
                            <dl class="aom-info-prop">
                                <dt>Nom</dt>
                                <dd class="aom-prop-name"></dd>
                                <dt>Propriétaire</dt>
                                <dd class="aom-prop-owner"></dd>
                            </dl>
                            {# ===== Sharing parameters ===== #}
                            <div class="aom-info-share hidden aom-prop-unlocked">
                                <hr/>
                                <h5>Paramètres de partage
                                    <button class="btn btn-xs btn-default pull-right aom-prop-lock-but">
                                        <span class="aom-prop-unlocked-status"><span class="icon-lock"></span> Verouiller</span>
                                        <span class="aom-prop-locked-status"><span class="icon-unlock"></span> Déverrouiller</span>
                                    </button>
                                </h5>

                                <div class="alert alert-danger aom-prop-locked-status">
                                    Les fonctions de partage sont verrouillées pour cette image.
                                    {% spaceless %}<a class="aom-prop-locked-info text-danger" tabindex="0" data-toggle="popover"
                                          title="Conséquences du verrouillage"
                                          data-content="Il n'est plus possible de:<ul>
                                          <li>Modifier les annotations (membres)</li>
                                          <li>Ajouter ou supprimer des membres, même automatiquement</li></ul>
                                          L'état de l'images et de ses annotations est figé.">
                                        <span class="glyphicon glyphicon-question-sign"></span> Informations
                                    </a>{% endspaceless %}
                                </div>

                                <form class="form-horizontal" onsubmit="return false;">
                                    <div class="aom-prop-locked-status aom-shm-frontdrop"></div>
                                    <div class="form-group">
                                        <label class="col-sm-4 control-label">Type de partage</label>
                                        <div class="col-sm-8">

                                            <select class="form-control input-sm" name="aom-prop-shared"
                                                    id="aom-prop-shared-id">
                                                <option value="0">-- non partagé --</option>
                                                <option value="1">partage manuel</option>
                                                <option value="4">clé d'inscription</option>
                                                <option value="8" disabled>critères AAI</option>
                                                <option value="16" disabled>activité Moodle</option>
                                            </select>

                                        </div>
                                    </div>

                                    <hr/>

                                    {# ===== Registration Key =====  #}
                                    <div class="form-group aom-prop-shm hidden" data-shmd="4">
                                        <label class="col-sm-4 control-label">Clé d'inscription</label>
                                        <div class="col-sm-8">
                                            <div class="input-group input-group-sm">
                                                <input class="form-control" type="password" name="aom-prop-regkey"
                                                       data-shopt-key="key" autocomplete="off" placeholder="Saisir la clé"/>
                                                <span class="input-group-btn">
                                                    <button type="button" class="btn btn-default aom-prop-regkey-save">OK</button>
                                                </span>
                                            </div>
                                            <label style="font-weight: 300">
                                                <input type="checkbox" class="aom-shm-ctrl-showkey"/>
                                                Voir la clé
                                                &nbsp;
                                            </label>
                                        </div>
                                    </div>

                                    {# ===== Membres manuel ===== #}
                                    <div class="form-group aom-prop-shm aom-prop-members hidden" data-shmd="1,4">
                                        <label class="control-label col-sm-12">Membres</label>
                                        <div class="col-sm-12">
                                            <div class="input-group input-group-sm" data-shmd="1">
                                                <input type="text" class="form-control aom-shm-ctrl-member-input" placeholder="Addresse email"
                                                        value="" name="aom-prop-new-member" autocomplete="off"/>
                                                <span class="input-group-btn">
                                                    <button class="btn btn-sm btn-default aom-shm-ctrl-members-addone-but"
                                                            type="button">
                                                        Ajouter
                                                    </button>
                                                </span>
                                            </div>

                                            <select class="form-control aom-shm-ctrl-members-list input-sm"
                                                    name="aom-prop-members" multiple size="6"
                                                    data-shopt-key="members">
                                            </select>

                                            <div class="btn-toolbar pull-left">
                                                <button class="btn btn-xs btn-success" data-shmd="1" disabled>Ajouter liste</button>
                                            </div>
                                            <div class="btn-toolbar pull-right">
                                                <button class="btn btn-xs btn-default aom-shm-ctrl-members-select-but">Tout sélectionner</button>
                                                <button class="btn btn-xs btn-danger aom-shm-ctrl-members-remove-but" disabled>Supprimer</button>
                                            </div>
                                        </div>
                                    </div>

                                </form>
                            </div>
                        </div>
                    </div>

                    <div class="tab-content narrow-2">
                        <div id="aom-user-images-list" class="tab-pane active">
{#                            <div class="small">Liste de vos images. Vous pouvez modifier/partager/supprimer toutes les images de la liste</div>#}
                            <div class="aom-list-container">
                                <div class="aom-empty-list-msg alert alert-info">
                                    Vous n'avez pas encore d'images. Utilisez le bouton "Nouvelle Image"
                                </div>
                                <div class="aom-loader">
                                    <h4><span class="label label-default">Chargement en cours ...</span></h4>
                                </div>
Julien Furrer's avatar
Julien Furrer committed
219
                            </div>
220
221
222
223
224
225
226
                        </div>

                        <div id="aom-shared-images-list" class="tab-pane">
                            <div class="aom-list-container">
                                <div class="aom-empty-list-msg alert alert-info">
                                    Il n'y a pas d'image partagée avec vous.
                                </div>
Julien Furrer's avatar
Julien Furrer committed
227
228
                            </div>
                        </div>
Julien Furrer's avatar
Julien Furrer committed
229
                    </div>
230
231
232



Julien Furrer's avatar
Julien Furrer committed
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
                </div>
                <div class="modal-footer">
{#                    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>#}
{#                    <button type="button" class="btn btn-primary">Save</button>#}
                </div>
            </div>
        </div>
    </div>

{#  -- SVG export Info -- #}
    <div class="modal" id="dlg-export-svg-info" data-backdrop="static" data-keyboard="false">
        <div class="modal-dialog modal-sm">
            <div class="modal-content">
                <div class="modal-header">
                    <h4>Exportation en cours...</h4>
                </div>
                <div class="modal-body">
                    <p>La génération du svg peut prendre un peu de temps, soyez patient.</p>
                </div>
                <div class="modal-footer"></div>
            </div>
        </div>
    </div>

257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
{#  -- About -- #}
    <div class="modal" id="dlg-about-adim">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal"><span
                            aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                    <h4 class="modal-title">A propos d'ADIM</h4>
                </div>
                <div class="modal-body">

                    <div class="row">
                        <div class="col-sm-7">
                            <a href="http://www.unil.ch/" class="logo unilogo-unil"></a>
                        </div>
                        <div class="col-sm-5">
                            <ul class="list-unstyled small">
                                <li><br/></li>
                                <li><a href="contacts.html">
                                    <span class="glyphicon glyphicon-envelope"></span>&nbsp;
                                    Contacts</a></li>
                                <li><a href="credits.html">
                                    <span class="glyphicon glyphicon-glass"></span>&nbsp;
                                    Credits
                                </a></li>
                                <li><a href="legal_info.html">
                                    <span class="glyphicon glyphicon-briefcase"></span>&nbsp;
                                    Informations légale
                                </a></li>
                            </ul>
                        </div>
                    </div>
                </div>

                <div class="modal-footer">
                    <p class="small text-center">
                        &copy; 2014 Unil &mdash; <a href="http://www.unil.ch/">Université de Lausanne</a></p>
                </div>

            </div>
        </div>
    </div>

Julien Furrer's avatar
Julien Furrer committed
300
301
302
303
304
305
306
{% endblock modals %}


{#==========================================#}
{#   JS TEMPLATES                           #}
{#==========================================#}
{% block js_templates %}
307
{% url "adim.app:annotate-new" as annotate_url %}
Julien Furrer's avatar
Julien Furrer committed
308
309
{# -- AnObjMgr list-item view -- #}
<script type="text/template" id="aom-list-item">
310
311
312
313
314
315
    <div class="btn-toolbar small pull-left">
        <% if (sharing_mode !== 0) { %><span class="glyphicon glyphicon-globe text-success aom-item-sh-status" title="Partagé"></span><% } %>
        <% if (locked) { %><span class="glyphicon glyphicon-lock" title="Vérouillé"></span><% } %>
    </div>

    <% if (owner == {{ user.id }}) { %><button class="close" title="Supprimer l'image">
Julien Furrer's avatar
Julien Furrer committed
316
        <span class="glyphicon glyphicon-remove-circle"></span>
317
    </button><% } %>
318
    <a href="{{ annotate_url }}<%= uuid %>/" title="Editer l'image">
Julien Furrer's avatar
Julien Furrer committed
319
        <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"
320
             style="background-image: url({{ annotate_url }}<%= uuid %>/thumb/?nc=<%= nc || 1 %>);">
Julien Furrer's avatar
Julien Furrer committed
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
        <span class="name"><%= name %></span>
    </a>
</script>
{# -- AnObjMgr list item's info popover #}
<script type="text/template" id="aom-list-item-popup-content">
    <dl class="dl-horizontal">
        <dt>{% trans "Modifié le" %} :</dt>
        <dd>(last modif date)</dd>
        <dt>{% trans "Annotations" %} :</dt>
        <dd><%= annotations.length %></dd>
    </dl>
</script>
{% endblock js_templates %}


{% block inline_script %}
<script>
var t = localStorage.getItem("adimTheme") || 'dark';
if (t === "light") {
    var n = document.getElementById("main-navbar"), c = "class";
    n.setAttribute(c, n.getAttribute(c).replace("navbar-inverse", "navbar-default"));

    try { for (var i=0,b;b=n.getElementsByTagName("button")[i];i++)
            b.setAttribute(c, b.getAttribute(c).replace("btn-adim-dark", "btn-default"))
    } catch(e) {}

}
</script>
{% endblock %}

{% block content_js %}
    {{ block.super }}
{% endblock %}


{%  block main_container %}
<div class="container-fluid" id="main">

    {% if mode != 'review' %}
    <div class="row tool-top-row">
        <div class="col-xs-12">

        </div>
    </div>
    {% endif %}

    <div class="row">
        <div class="col-sm-1" id="tools-col">
            <div class="btn-toolbar" role="toolbar" id="draw-tool-tb">
                <div class="btn-group-vertical">
                    <label class="btn btn-lg-off btn-primary">
                        <input type="radio" name="toolType" value="select" id="tool-select" data-tool-name="select">
                        <span class="icon-cursor"></span><span class="tool-text"> Select</span>
                    </label>
                    <label class="btn btn-lg-off btn-primary">
                        <input type="radio" name="toolType" value="pan" id="tool-pan" data-tool-name="pan">
                        <span class="icon-handdrag"></span><span class="tool-text"> Pan</span>
                    </label>

                    <label class="btn btn-lg-off btn-primary">
                        <input type="radio" name="toolType" value="drawing" id="tool-drawing" data-tool-name="drawing">
                        <span class="icon-pencil"></span><span class="tool-text"> Dessin</span>
                    </label>
                    <label class="btn btn-lg-off btn-primary">
                        <input type="radio" name="toolType" value="lines" id="tool-lines" data-tool-name="lines">
                        <span class="icon-line"></span><span class="tool-text"> Lignes</span>
                    </label>
                    <label class="btn btn-lg-off btn-primary">
                        <input type="radio" name="toolType" value="ellipse" id="tool-ellipse" data-tool-name="ellipse">
                        <span class="icon icon-elipse"></span><span class="tool-text"> Cercle</span>
                    </label>
                    <label class="btn btn-lg-off btn-primary">
                        <input type="radio" name="toolType" value="rectangle" id="tool-rectangle" data-tool-name="rectangle">
                        <span class="icon icon-rectangle"></span><span class="tool-text"> Rectangle</span>
                    </label>
                    <label class="btn btn-lg-off btn-primary">
                        <input type="radio" name="toolType" value="arrow" id="tool-arrow" data-tool-name="arrow">
                        <span class="icon icon-arrow-right"></span><span class="tool-text"> Flèche</span>
                    </label>
                    <label class="btn btn-lg-off btn-primary">
                        <input type="radio" name="toolType" value="text" id="tool-text" data-tool-name="text">
                        <span class="icon-font"></span><span class="tool-text"> Texte</span>
                    </label>
                </div>
            </div>
            <span class="tool-sep">&nbsp;</span>
            <div class="btn-toolbar" role="toolbar" id="param-tool-tb">
                <div class="btn-group-vertical">
                    <div class="btn-group" id="tool-colorselect">
                        <button type="button" class="btn btn-default tinter dropdown-toggle" autocomplete="off"
                                data-toggle="dropdown" data-attr-name="color">
                            <span class="adim-icon-color"></span>
                        </button>

415
                        <ul class="dropdown-menu color-menu popover right"><div class="arrow"></div>
Julien Furrer's avatar
Julien Furrer committed
416
417
418
419
420
421
422
                            <li role="presentation"><a href="#" class="c1" role="menuitem" tabindex="-1">&nbsp;</a></li>
                            <li role="presentation"><a href="#" class="c2" role="menuitem" tabindex="-1">&nbsp;</a></li>
                            <li role="presentation"><a href="#" class="c3" role="menuitem" tabindex="-1">&nbsp;</a></li>
                            <li role="presentation"><a href="#" class="c4" role="menuitem" tabindex="-1">&nbsp;</a></li>
                            <li role="presentation"><a href="#" class="c5" role="menuitem" tabindex="-1">&nbsp;</a></li>
                            <li role="presentation"><a href="#" class="c6" role="menuitem" tabindex="-1">&nbsp;</a></li>
                            <li role="presentation">
423
424
425
426
                                <a href="#" class="cx picker" role="menuitem" tabindex="-1"
                                   data-color="rgb(128, 23, 212)" data-color-format="rgb"
                                   style="background-color: rgb(128, 23, 212)">
{#                                    <div class="color-overlay" style="background-color: rgb(128, 23, 212)" >&nbsp;</div>#}
Julien Furrer's avatar
Julien Furrer committed
427
428
429
430
431
432
433
434
435
436
437
438
                                </a>
                            </li>
                        </ul>
                    </div>

                    <button type="button" class="btn btn-default" id="tool-fill-color" title="Contours ou remplissage"
                            data-toggle="button" data-attr-name="fill" >
                        <span class="tool-fill-on icon-pattern hide"></span>
                        <span class="tool-fill-off icon-roundrectangle"></span>
                        <span class="tool-text">Plein</span>
                    </button>

439
                    <button class="btn btn-default" id="attr-font" type="button">
Julien Furrer's avatar
Julien Furrer committed
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
                        <span class="icon-fontcase"></span>
                    </button>

                    <div class="sldr btn btn-default" id="attr-size-slider">
                        <span class="adim-icon-line-width" title="Epaisseur du trait"></span>
                        <input type="text" class="slider" value="7" autocomplete="off"
                               data-attr-name="size">
                    </div>

                    <div class="sldr btn btn-default" id="attr-opacity-slider">
{#                        <div class="small tool-title" title="Opacité">Opacité</div>#}
                        <span class="adim-icon-opacity" title="Opacité"></span>
                        <input type="text" class="slider" value="100" autocomplete="off"
                               data-attr-name="opacity">
                    </div>

                    <button class="btn btn-default" id="attr-orderup" type="button" autocomplete="off"
                            title="Mettre au premier plan. shift-click: avancer de un niveau">
                        <span class="icon-layerorderup"></span>
                    </button>

                    <button class="btn btn-default" id="attr-orderdown" type="button" autocomplete="off"
                            title="Mettre à l'arrière-plan. shift-click: reculer d'un niveau">
                        <span class="icon-layerorderdown"></span>
                    </button>

                </div>

            </div>

        </div>

        <div class="col-sm-9" id="canvas-col">
            <div class="canvas-container well">
                <canvas id="my-canvas" width="480" height="360"></canvas>
                {% block canvas_content %}{% endblock %}
            </div>

            <div id="canvas-bbar">
                <div id="attr-zoom" class="toolbar-control">
                    <label>Zoom: &nbsp;</label>
                    <div class="input-group">
                        <input type="text" size="3" class="form-control" name="zoomLevel">
Julien Furrer's avatar
Julien Furrer committed
483
484
485
486
487
488
                        <span class="input-group-addon btn" style="border-left:none" title="Zoom 100%" id="but-zoom-100">
                            <small>1:1</small>
                        </span>
                        <span class="input-group-addon btn" title="Zoom pour afficher toute l'image" id="but-zoom-fit">
                            <span class="icon-resize"></span>
                        </span>
Julien Furrer's avatar
Julien Furrer committed
489
                    </div>
Julien Furrer's avatar
Julien Furrer committed
490
                    <div class="sldr pull-left">
Julien Furrer's avatar
Julien Furrer committed
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
                        <input type="text" class="slider" value="100" data-attr-name="zoom" autocomplete="off"
                               data-slider-min="10" data-slider-max="800" data-slider-value="100">
                    </div>
                </div>
                <div class="tb-sep"></div>
{% comment %}                <div id="img-opacity" class="toolbar-control">
                    <label title="Opacité de l'image">Image:  &nbsp</label>
                    <div class="sldr" id="attr-imgopacity-slider" >
                        <input type="text" class="slider" value="100" autocomplete="off"
                               data-attr-name="imgopacity" data-slider-min="0" data-slider-max="100" />
                    </div>
                </div>{% endcomment %}
            </div>
        </div>

        <div class="col-sm-2" id="side-col">
            <div class="row"><div class="container">
                {% if mode == 'edit' %}
                <div class="row"><div class="col-xs-10 col-xs-offset-2">
                    <div class="btn-group">
                        <button class="btn btn-sm btn-primary" id="save-but" type="button">
                            <span class="glyphicon glyphicon-save"></span>
                            Enregistrer
                        </button>

                        <button class="btn btn-sm btn-primary" type="button" id="autosave-but" title="Enregistrement automatique">
                            <span class="glyphicon glyphicon glyphicon-repeat"></span>
                        </button>
                    </div>
                </div></div>
                <div class="row">&nbsp;</div>
                {%  endif %}
                <div class="row">
                <div class="col-xs-12 panel-group" id="side-col-panel-group">

                    <div class="panel panel-dark" id="annotation-property-panel">
                        <header class="panel-heading">
                            <h1 class="panel-title">
                                <a data-toggle="collapse" href="#collapseProperties">
                                    Propriétés <span class="pull-right icon-circleup"></span>
                                </a>
                            </h1>
                        </header>
                        <div id="collapseProperties" class="panel-collapse collapse in">
                            <div class="panel-body" id="annotation-property-container">
                                <div class="property-group fill-prop">
                                    <label class="control-label"><small>Remplissage: &nbsp;</small>
                                    <input id="fill-check" name="fill" type="checkbox" />
                                    </label>
                                </div>

                                <div class="property-group comment-prop">
                                    <label class="control-label"><small>Commentaire:</small></label>
                                    <textarea class="form-control" id="prop-annot-comment" name="comment"></textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div></div></div>
        </div>
    </div>
</div>




{%  endblock main_container %}