Commit 59474b00e3a86269b7ad1a2484e5f0eb848631fc

Authored by Adabriand Furtado
1 parent 951f66be
Exists in master and in 1 other branch dynamic

Lógica das tarefas executadas em sequência e imagens de orientação da mão esquerda.

view/assets/css/main.css
@@ -52,7 +52,7 @@ body { @@ -52,7 +52,7 @@ body {
52 } 52 }
53 53
54 #initial-screen { 54 #initial-screen {
55 - display: block; 55 + display: none;
56 } 56 }
57 57
58 #configuration-screen { 58 #configuration-screen {
@@ -431,4 +431,8 @@ ul.rig.columns-4 li { @@ -431,4 +431,8 @@ ul.rig.columns-4 li {
431 431
432 #thanks-screen img { 432 #thanks-screen img {
433 width: 100%; 433 width: 100%;
  434 +}
  435 +
  436 +#completed-all-task-msg {
  437 + display: none;
434 } 438 }
435 \ No newline at end of file 439 \ No newline at end of file
view/assets/js/wikilibras.js
@@ -19,6 +19,7 @@ @@ -19,6 +19,7 @@
19 base_parameter_json["sinal"] = sign_name; 19 base_parameter_json["sinal"] = sign_name;
20 base_parameter_json["interpolacao"] = "normal"; 20 base_parameter_json["interpolacao"] = "normal";
21 base_parameter_json["movimentos"] = []; 21 base_parameter_json["movimentos"] = [];
  22 + // TODO remover propriedade articulação
22 moviment_parameter_json = { 23 moviment_parameter_json = {
23 "facial" : {}, 24 "facial" : {},
24 "mao_direita" : {}, 25 "mao_direita" : {},
@@ -51,9 +52,9 @@ @@ -51,9 +52,9 @@
51 _changeImage(img, hover_img_url); 52 _changeImage(img, hover_img_url);
52 } 53 }
53 54
54 - function _selectIcon(iconName, isSelect, parent) {  
55 - parent = typeof parent == "undefined" ? "" : parent + " ";  
56 - var icon_id = parent + ".icon_container[name=" + iconName + "]"; 55 + function _selectIcon(iconName, isSelect, panel) {
  56 + panel = typeof panel == "undefined" ? "" : "[panel=" + panel + "]";
  57 + var icon_id = ".icon_container[name=" + iconName + "]" + panel;
57 _enableIconHover(icon_id, isSelect); 58 _enableIconHover(icon_id, isSelect);
58 $(icon_id).attr("select", isSelect); 59 $(icon_id).attr("select", isSelect);
59 } 60 }
@@ -62,13 +63,20 @@ @@ -62,13 +63,20 @@
62 _selectIcon(iconName, false, parent); 63 _selectIcon(iconName, false, parent);
63 } 64 }
64 65
65 - function _setupCheckIcon(option, parent) {  
66 - parent = typeof parent == "undefined" ? "" : parent + " ";  
67 - var img = $(parent + ".icon_container[name=" + option + "]")  
68 - .find("img").first();  
69 - var check_img_url = base_url + "/img/" + option + "-icon-check.png"; 66 + function _setupCheckIcon(option, isCheck, panel) {
  67 + panel = typeof panel == "undefined" ? "" : "[panel=" + panel + "]";
  68 + var img = $(".icon_container[name=" + option + "]" + panel).find("img")
  69 + .first();
  70 + var check_img_url = base_url + "/img/" + option;
  71 +
  72 + if (isCheck) {
  73 + check_img_url += "-icon-check.png";
  74 + } else {
  75 + check_img_url += "-icon.png";
  76 + }
  77 +
70 _changeImage(img, check_img_url); 78 _changeImage(img, check_img_url);
71 - $(".icon_container[name=" + option + "]").attr("complete", true); 79 + $(".icon_container[name=" + option + "]").attr("complete", isCheck);
72 } 80 }
73 81
74 function _isSelectingState() { 82 function _isSelectingState() {
@@ -84,7 +92,8 @@ @@ -84,7 +92,8 @@
84 } 92 }
85 93
86 function _canHover(el) { 94 function _canHover(el) {
87 - var incompleteConfig = typeof $(el).attr("complete") == "undefined"; 95 + var incompleteConfig = typeof $(el).attr("complete") == "undefined"
  96 + || $(el).attr("complete") == "false";
88 return (!_isSelectingState() && incompleteConfig) 97 return (!_isSelectingState() && incompleteConfig)
89 || (typeof $(el).attr("select") == "undefined" && incompleteConfig); 98 || (typeof $(el).attr("select") == "undefined" && incompleteConfig);
90 } 99 }
@@ -152,7 +161,7 @@ @@ -152,7 +161,7 @@
152 var current_option = _getCurrentMainConfiguration(); 161 var current_option = _getCurrentMainConfiguration();
153 _selectIcon(current_option, false); 162 _selectIcon(current_option, false);
154 if (_isConfigurationComplete(current_option)) { 163 if (_isConfigurationComplete(current_option)) {
155 - _setupCheckIcon(current_option); 164 + _setupCheckIcon(current_option, true);
156 } 165 }
157 $("#avatar-" + current_option).fadeOut(500); 166 $("#avatar-" + current_option).fadeOut(500);
158 } 167 }
@@ -191,8 +200,8 @@ @@ -191,8 +200,8 @@
191 } 200 }
192 201
193 function _finishConfiguration(config) { 202 function _finishConfiguration(config) {
194 - _setupCheckIcon(config);  
195 - _setupCheckIcon("avatar-" + config); 203 + _setupCheckIcon(config, true);
  204 + _setupCheckIcon("avatar-" + config, true);
196 $("#" + config + "-edit .check-icon").show(); 205 $("#" + config + "-edit .check-icon").show();
197 206
198 if (_canRenderSignVideo()) { 207 if (_canRenderSignVideo()) {
@@ -200,6 +209,17 @@ @@ -200,6 +209,17 @@
200 } 209 }
201 } 210 }
202 211
  212 + function _unfinishConfiguration(config, panel) {
  213 + _setupCheckIcon(config, false, panel);
  214 + _setupCheckIcon("avatar-" + config, false, panel);
  215 + $("#" + config + "-edit .check-icon").hide();
  216 +
  217 + if (!_canRenderSignVideo()) {
  218 + $("#ready-button").addClass("disabled");
  219 + }
  220 + }
  221 + ;
  222 +
203 // Subconfigurations 223 // Subconfigurations
204 function _getCurrentSubConfiguration() { 224 function _getCurrentSubConfiguration() {
205 var config = _getCurrentMainConfiguration(); 225 var config = _getCurrentMainConfiguration();
@@ -290,24 +310,20 @@ @@ -290,24 +310,20 @@
290 return config; 310 return config;
291 } 311 }
292 312
293 - function _selectSubConfigurationIcon(subconfig, isSelect) {  
294 - var iconName = _getSubConfigurationIconName(subconfig);  
295 - var main_config = _getCurrentMainConfiguration();  
296 - var parent = "#" + main_config + "-subconfiguration-options";  
297 - _selectIcon(iconName, isSelect, parent);  
298 - }  
299 -  
300 function _getSubConfigurationIconName(subconfig) { 313 function _getSubConfigurationIconName(subconfig) {
301 subconfig = subconfig.replace("right-hand", "hand"); 314 subconfig = subconfig.replace("right-hand", "hand");
302 subconfig = subconfig.replace("left-hand", "hand"); 315 subconfig = subconfig.replace("left-hand", "hand");
303 return subconfig; 316 return subconfig;
304 } 317 }
305 318
  319 + function _selectSubConfigurationIcon(subconfig, isSelect) {
  320 + var iconName = _getSubConfigurationIconName(subconfig);
  321 + _selectIcon(iconName, isSelect, subconfig);
  322 + }
  323 +
306 function _setupCheckSubConfigurationIcon(subconfig) { 324 function _setupCheckSubConfigurationIcon(subconfig) {
307 var iconName = _getSubConfigurationIconName(subconfig); 325 var iconName = _getSubConfigurationIconName(subconfig);
308 - var main_config = _getCurrentMainConfiguration();  
309 - var parent = "#" + main_config + "-subconfiguration-options";  
310 - _setupCheckIcon(iconName, parent); 326 + _setupCheckIcon(iconName, true, subconfig);
311 } 327 }
312 328
313 function _showSubConfiguration(next_config) { 329 function _showSubConfiguration(next_config) {
@@ -341,7 +357,7 @@ @@ -341,7 +357,7 @@
341 }); 357 });
342 } 358 }
343 359
344 - // REFACT 360 + // TODO REFACT
345 function _setupFacialSelectionPanel() { 361 function _setupFacialSelectionPanel() {
346 var previous_select = $("#facial-subconfiguration-options .icon_container[select=true]").length > 0; 362 var previous_select = $("#facial-subconfiguration-options .icon_container[select=true]").length > 0;
347 if (previous_select) { 363 if (previous_select) {
@@ -356,7 +372,7 @@ @@ -356,7 +372,7 @@
356 $("#facial-subconfiguration-options").fadeIn(300); 372 $("#facial-subconfiguration-options").fadeIn(300);
357 } 373 }
358 374
359 - // REFACT 375 + // TODO REFACT
360 function _setupHandSelectionPanel(option) { 376 function _setupHandSelectionPanel(option) {
361 var previous_select = $("#" + option 377 var previous_select = $("#" + option
362 + "-subconfiguration-options .icon_container[select=true]").length > 0; 378 + "-subconfiguration-options .icon_container[select=true]").length > 0;
@@ -372,8 +388,7 @@ @@ -372,8 +388,7 @@
372 } 388 }
373 $("#" + subconfig).fadeIn(300); 389 $("#" + subconfig).fadeIn(300);
374 } else { 390 } else {
375 - _selectIcon("hand-moviment", true, "#" + option  
376 - + "-subconfiguration-options"); 391 + _selectIcon("hand-moviment", true, option + "-moviment");
377 $("#" + option + "-moviment").fadeIn(300); 392 $("#" + option + "-moviment").fadeIn(300);
378 } 393 }
379 $("#" + option + "-subconfiguration-options").fadeIn(300); 394 $("#" + option + "-subconfiguration-options").fadeIn(300);
@@ -411,6 +426,13 @@ @@ -411,6 +426,13 @@
411 } 426 }
412 427
413 // JSON 428 // JSON
  429 + function _getFirstKey(json) {
  430 + var first_key = undefined;
  431 + for (first_key in json)
  432 + ;
  433 + return first_key;
  434 + }
  435 +
414 function _updateParameterJSON(config, value) { 436 function _updateParameterJSON(config, value) {
415 if (typeof config == "undefined" || typeof value == "undefined") 437 if (typeof config == "undefined" || typeof value == "undefined")
416 return; 438 return;
@@ -423,17 +445,25 @@ @@ -423,17 +445,25 @@
423 value = !isNaN(value) ? parseInt(value) : value; 445 value = !isNaN(value) ? parseInt(value) : value;
424 446
425 if (config == "movimento") { 447 if (config == "movimento") {
426 - moviment_parameter_json[current_main_config] = {};  
427 - // TODO remover  
428 - moviment_parameter_json[current_main_config][value] = {  
429 - "articulacao" : 71  
430 - }; 448 + var first_key = _getFirstKey(moviment_parameter_json[current_main_config]);
  449 + if (typeof first_key == "undefined") {
  450 + moviment_parameter_json[current_main_config][value] = {
  451 + "articulacao" : 71
  452 + };
  453 + } else if (first_key != value) {
  454 + moviment_parameter_json[current_main_config][value] = moviment_parameter_json[current_main_config][first_key];
  455 + delete moviment_parameter_json[current_main_config][first_key];
  456 + }
431 } else if (current_main_config.indexOf("mao") != -1) { 457 } else if (current_main_config.indexOf("mao") != -1) {
432 458
433 - for (first_key in moviment_parameter_json[current_main_config])  
434 - ; 459 + var first_key = _getFirstKey(moviment_parameter_json[current_main_config]);
  460 + if (typeof first_key == "undefined") {
  461 + first_key = "placeholder";
  462 + moviment_parameter_json[current_main_config][first_key] = {
  463 + "articulacao" : 71
  464 + };
  465 + }
435 moviment_parameter_json[current_main_config][first_key][config] = value; 466 moviment_parameter_json[current_main_config][first_key][config] = value;
436 -  
437 } else { 467 } else {
438 moviment_parameter_json[current_main_config][config] = value; 468 moviment_parameter_json[current_main_config][config] = value;
439 } 469 }
@@ -480,7 +510,7 @@ @@ -480,7 +510,7 @@
480 510
481 // Render Screen 511 // Render Screen
482 function _submitParameterJSON(callback) { 512 function _submitParameterJSON(callback) {
483 - base_parameter_json["movimentos"] = []; 513 + base_parameter_json["movimentos"] = [];
484 base_parameter_json["movimentos"].push(moviment_parameter_json); 514 base_parameter_json["movimentos"].push(moviment_parameter_json);
485 console.log(base_parameter_json); 515 console.log(base_parameter_json);
486 516
@@ -525,21 +555,27 @@ @@ -525,21 +555,27 @@
525 _showRenderedAvatar(); 555 _showRenderedAvatar();
526 }); 556 });
527 } 557 }
528 - 558 +
  559 + function _cleanGUI() {
  560 + $(".selection-panel-option").removeAttr("select");
  561 + $(".icon_container[complete=true]").each(
  562 + function() {
  563 + _unfinishConfiguration($(this).attr("name"), $(this).attr(
  564 + "panel"));
  565 + });
  566 + }
  567 +
529 function _setupGUI(task, deferred) { 568 function _setupGUI(task, deferred) {
  569 + _cleanGUI();
  570 + _setupConfigurationPanel();
  571 + _setupSelectionPanel();
  572 +
530 $("#initial-screen").fadeIn(300); 573 $("#initial-screen").fadeIn(300);
531 -  
532 $("#start-button").off("click").on("click", function() { 574 $("#start-button").off("click").on("click", function() {
533 $("#initial-screen").hide(); 575 $("#initial-screen").hide();
534 $("#configuration-screen").show(); 576 $("#configuration-screen").show();
535 }); 577 });
536 -  
537 - _setupConfigurationPanel();  
538 - _setupSelectionPanel();  
539 -  
540 $("#ready-button").off("click").on("click", function() { 578 $("#ready-button").off("click").on("click", function() {
541 - //base_parameter_json["movimentos"].push(moviment_parameter_json);  
542 - //console.log(base_parameter_json);  
543 _setupRenderScreen(); 579 _setupRenderScreen();
544 }); 580 });
545 $("#render-edit").off("click").on("click", function() { 581 $("#render-edit").off("click").on("click", function() {
@@ -552,27 +588,35 @@ @@ -552,27 +588,35 @@
552 _saveAnswer(task, deferred) 588 _saveAnswer(task, deferred)
553 }); 589 });
554 } 590 }
555 - 591 +
556 function _saveAnswer(task, deferred) { 592 function _saveAnswer(task, deferred) {
557 var answer = {} 593 var answer = {}
558 answer["status"] = "FINISHED"; 594 answer["status"] = "FINISHED";
559 answer["parameter_json"] = base_parameter_json; 595 answer["parameter_json"] = base_parameter_json;
560 - 596 +
561 pybossa.saveTask(task.id, answer).done(function() { 597 pybossa.saveTask(task.id, answer).done(function() {
562 setTimeout(function() { 598 setTimeout(function() {
563 $("#thanks-screen").hide(); 599 $("#thanks-screen").hide();
564 deferred.resolve(); 600 deferred.resolve();
565 - }, 1500); 601 + }, 2500);
566 }); 602 });
567 } 603 }
568 604
  605 + function _showCompletedAllTaskMsg() {
  606 + $("#completed-task-msg").hide();
  607 + $("#completed-all-task-msg").show();
  608 + $("#thanks-screen").fadeIn(300);
  609 + }
  610 +
569 pybossa.presentTask(function(task, deferred) { 611 pybossa.presentTask(function(task, deferred) {
570 if (!$.isEmptyObject(task) && current_task_id != task.id) { 612 if (!$.isEmptyObject(task) && current_task_id != task.id) {
571 _loadTaskInfo(task); 613 _loadTaskInfo(task);
572 _setupGUI(task, deferred) 614 _setupGUI(task, deferred)
573 $("#main-container").fadeIn(500); 615 $("#main-container").fadeIn(500);
  616 + console.log(base_parameter_json);
  617 + console.log(moviment_parameter_json);
574 } else { 618 } else {
575 - $("#main-container").hide(); 619 + _showCompletedAllTaskMsg();
576 } 620 }
577 }); 621 });
578 622
view/hand-configuration.html
1 -{% macro selectionPanel(name) -%} {% if name == 'right-hand' %} {% set  
2 -fingers_position_dir = "cmd" %} {% else %} {% set fingers_position_dir =  
3 -"cme" %} {% endif %} 1 +{% macro selectionPanel(name) -%}
  2 +{% if name == 'right-hand' %}
  3 +{% set fingers_position_dir = "cmd" %}
  4 +{% set orientation_dir = "ord" %}
  5 +{% else %}
  6 +{% set fingers_position_dir = "cme" %}
  7 +{% set orientation_dir = "ore" %}
  8 +{% endif %}
4 9
5 <div id="{{ name }}-moviment" class="selection-panel-body" name="movimento"> 10 <div id="{{ name }}-moviment" class="selection-panel-body" name="movimento">
6 <div class="panel-header"> 11 <div class="panel-header">
@@ -214,29 +219,29 @@ fingers_position_dir = &quot;cmd&quot; %} {% else %} {% set fingers_position_dir = @@ -214,29 +219,29 @@ fingers_position_dir = &quot;cmd&quot; %} {% else %} {% set fingers_position_dir =
214 <div class="selection-panel-inner-body"> 219 <div class="selection-panel-inner-body">
215 <ul class="rig columns-3"> 220 <ul class="rig columns-3">
216 <li><img class="selection-panel-option" 221 <li><img class="selection-panel-option"
217 - src="{{ server }}/img/ord/01.png" value="68"/>1.</li> 222 + src="{{ server }}/img/{{ orientation_dir }}/01.png" value="68"/>1.</li>
218 <li><img class="selection-panel-option" 223 <li><img class="selection-panel-option"
219 - src="{{ server }}/img/ord/02.png" value="66"/>2.</li> 224 + src="{{ server }}/img/{{ orientation_dir }}/02.png" value="66"/>2.</li>
220 <li><img class="selection-panel-option" 225 <li><img class="selection-panel-option"
221 - src="{{ server }}/img/ord/03.png" value="64"/>3.</li> 226 + src="{{ server }}/img/{{ orientation_dir }}/03.png" value="64"/>3.</li>
222 <li><img class="selection-panel-option" 227 <li><img class="selection-panel-option"
223 - src="{{ server }}/img/ord/04.png" value="2"/>4.</li> 228 + src="{{ server }}/img/{{ orientation_dir }}/04.png" value="2"/>4.</li>
224 <li><img class="selection-panel-option" 229 <li><img class="selection-panel-option"
225 - src="{{ server }}/img/ord/05.png" value="9"/>5.</li> 230 + src="{{ server }}/img/{{ orientation_dir }}/05.png" value="9"/>5.</li>
226 <li><img class="selection-panel-option" 231 <li><img class="selection-panel-option"
227 - src="{{ server }}/img/ord/06.png" value="16"/>6.</li> 232 + src="{{ server }}/img/{{ orientation_dir }}/06.png" value="16"/>6.</li>
228 <li><img class="selection-panel-option" 233 <li><img class="selection-panel-option"
229 - src="{{ server }}/img/ord/07.png" value="92"/>7.</li> 234 + src="{{ server }}/img/{{ orientation_dir }}/07.png" value="92"/>7.</li>
230 <li><img class="selection-panel-option" 235 <li><img class="selection-panel-option"
231 - src="{{ server }}/img/ord/08.png" value="90"/>8.</li> 236 + src="{{ server }}/img/{{ orientation_dir }}/08.png" value="90"/>8.</li>
232 <li><img class="selection-panel-option" 237 <li><img class="selection-panel-option"
233 - src="{{ server }}/img/ord/09.png" value="88"/>9.</li> 238 + src="{{ server }}/img/{{ orientation_dir }}/09.png" value="88"/>9.</li>
234 <li><img class="selection-panel-option" 239 <li><img class="selection-panel-option"
235 - src="{{ server }}/img/ord/10.png" value="4"/>10.</li> 240 + src="{{ server }}/img/{{ orientation_dir }}/10.png" value="4"/>10.</li>
236 <li><img class="selection-panel-option" 241 <li><img class="selection-panel-option"
237 - src="{{ server }}/img/ord/11.png" value="11"/>11.</li> 242 + src="{{ server }}/img/{{ orientation_dir }}/11.png" value="11"/>11.</li>
238 <li><img class="selection-panel-option" 243 <li><img class="selection-panel-option"
239 - src="{{ server }}/img/ord/12.png" value="18"/>12.</li> 244 + src="{{ server }}/img/{{ orientation_dir }}/12.png" value="18"/>12.</li>
240 </ul> 245 </ul>
241 </div> 246 </div>
242 </div> 247 </div>
view/img/avatar-left-hand.png 0 → 100644

216 KB

view/img/ore/01.png 0 → 100644

88.8 KB

view/img/ore/02.png 0 → 100644

57.8 KB

view/img/ore/03.png 0 → 100644

102 KB

view/img/ore/04.png 0 → 100644

107 KB

view/img/ore/05.png 0 → 100644

92 KB

view/img/ore/06.png 0 → 100644

63.1 KB

view/img/ore/07.png 0 → 100644

120 KB

view/img/ore/08.png 0 → 100644

81.4 KB

view/img/ore/09.png 0 → 100644

121 KB

view/img/ore/10.png 0 → 100644

51.6 KB

view/img/ore/11.png 0 → 100644

95.4 KB

view/img/ore/12.png 0 → 100644

63.3 KB

view/template.html
@@ -108,7 +108,7 @@ import &#39;facial-configuration.html&#39; as facialConfig with context %} @@ -108,7 +108,7 @@ import &#39;facial-configuration.html&#39; as facialConfig with context %}
108 id="avatar-right-hand" class="avatar-img avatar-img-zoom-out" 108 id="avatar-right-hand" class="avatar-img avatar-img-zoom-out"
109 src="{{ server }}/img/avatar-right-hand.png"></img> <img 109 src="{{ server }}/img/avatar-right-hand.png"></img> <img
110 id="avatar-left-hand" class="avatar-img avatar-img-zoom-out" 110 id="avatar-left-hand" class="avatar-img avatar-img-zoom-out"
111 - src="{{ server }}/img/avatar-right-hand.png"></img> 111 + src="{{ server }}/img/avatar-left-hand.png"></img>
112 </div> 112 </div>
113 <div id="selection-container" class="col-sm-2"> 113 <div id="selection-container" class="col-sm-2">
114 <div id="selection-panel"> 114 <div id="selection-panel">
@@ -135,20 +135,17 @@ import &#39;facial-configuration.html&#39; as facialConfig with context %} @@ -135,20 +135,17 @@ import &#39;facial-configuration.html&#39; as facialConfig with context %}
135 </div> 135 </div>
136 </div> 136 </div>
137 <div class="row"> 137 <div class="row">
138 - <div id="ready-button" class="btn btn-default pull-right">GERAR 138 + <div id="ready-button" class="btn btn-default pull-right disabled">GERAR
139 SINAL</div> 139 SINAL</div>
140 </div> 140 </div>
141 </div> 141 </div>
142 <div id="render-screen"> 142 <div id="render-screen">
143 <div id="render-main" class="row"> 143 <div id="render-main" class="row">
144 <div id="render-ref" class="col-sm-6"> 144 <div id="render-ref" class="col-sm-6">
145 - <h6>  
146 - Vídeo de referência  
147 - </h6> 145 + <h6>Vídeo de referência</h6>
148 <div class="col-sm-12"> 146 <div class="col-sm-12">
149 <video src="" preload="metadata" 147 <video src="" preload="metadata"
150 - class="ref-video video-body-main video-border" loop  
151 - controls> 148 + class="ref-video video-body-main video-border" loop controls>
152 <source type="video/webm"> 149 <source type="video/webm">
153 </video> 150 </video>
154 </div> 151 </div>
@@ -158,9 +155,8 @@ import &#39;facial-configuration.html&#39; as facialConfig with context %} @@ -158,9 +155,8 @@ import &#39;facial-configuration.html&#39; as facialConfig with context %}
158 <h6> 155 <h6>
159 Sinal "<span class="sign-label"></span>" construído 156 Sinal "<span class="sign-label"></span>" construído
160 </h6> 157 </h6>
161 - <video src=""  
162 - preload="metadata" class="video-body-main video-border" autoplay  
163 - loop controls> 158 + <video src="" preload="metadata"
  159 + class="video-body-main video-border" autoplay loop controls>
164 <source type="video/webm"> 160 <source type="video/webm">
165 </video> 161 </video>
166 <div id="render-edit" class="icon_container" name="big-edit"> 162 <div id="render-edit" class="icon_container" name="big-edit">
@@ -182,13 +178,18 @@ import &#39;facial-configuration.html&#39; as facialConfig with context %} @@ -182,13 +178,18 @@ import &#39;facial-configuration.html&#39; as facialConfig with context %}
182 </div> 178 </div>
183 <div id="thanks-screen"> 179 <div id="thanks-screen">
184 <div class="col-sm-6 col-centered"> 180 <div class="col-sm-6 col-centered">
185 - <h3 class="text-center">  
186 - Obrigado,  
187 - </h4> 181 + <div id="completed-task-msg">
  182 + <h3 class="text-center">Obrigado,</h3>
188 <h6 class="text-center">você configurou o sinal com sucesso!</h6> 183 <h6 class="text-center">você configurou o sinal com sucesso!</h6>
189 - <div class="col-sm-11 col-centered">  
190 - <img src="{{ server }}/img/avatar-thanks.png"></img>  
191 - </div> 184 + </div>
  185 + <div id="completed-all-task-msg">
  186 + <h3 class="text-center">Parabéns,</h3>
  187 + <h6 class="text-center">você configurou todos os sinais
  188 + disponíveis!</h6>
  189 + </div>
  190 + <div class="col-sm-11 col-centered">
  191 + <img src="{{ server }}/img/avatar-thanks.png"></img>
  192 + </div>
192 </div> 193 </div>
193 </div> 194 </div>
194 </div> 195 </div>