diff --git a/.gitignore b/.gitignore index bd1fa21..a492f57 100644 --- a/.gitignore +++ b/.gitignore @@ -49,4 +49,5 @@ coverage.xml angular_api logs/ -amadeus/upload/ +amadeus/uploads/ +links/static/images/ diff --git a/core/static/js/topic_editation_presentation.js b/core/static/js/topic_editation_presentation.js deleted file mode 100644 index eac520d..0000000 --- a/core/static/js/topic_editation_presentation.js +++ /dev/null @@ -1,79 +0,0 @@ - -var x = 0; -$(".edit_card").on('click', function() { - $(".presentation").css('display','none'); - $(".editation").css('display','block'); -}) -$(".edit_card_end").on('click', function() { - $(".editation").css('display','none'); - $(".presentation").css('display','block'); -}) - -$("#bot").on('click', function(){ - x = x+1; - console.log(2) - if(x%2 == 0){ - console.log(0) - $("#down").attr('class', 'fa fa-caret-square-o-down'); -} -else{ - console.log(1) - $("#down").attr('class', 'fa fa-caret-square-o-up'); -} - -}) -$("#bot1").on('click', function(){ - x = x+1; - console.log(2) - if(x%2 == 0){ - console.log(0) - $("#down1").attr('class', 'fa fa-caret-square-o-down'); -} -else{ - console.log(1) - $("#down1").attr('class', 'fa fa-caret-square-o-up'); -} - -}) - -$("#bot2").on('click', function(){ - x = x+1; - console.log(2) - if(x%2 == 0){ - console.log(0) - $("#down2").attr('class', 'fa fa-caret-square-o-down'); -} -else{ - console.log(1) - $("#down2").attr('class', 'fa fa-caret-square-o-up'); -} - -}) - -$("#bot3").on('click', function(){ - x = x+1; - console.log(2) - if(x%2 == 0){ - console.log(0) - $("#down3").attr('class', 'fa fa-caret-square-o-down'); -} -else{ - console.log(1) - $("#down3").attr('class', 'fa fa-caret-square-o-up'); -} - -}) -$("#bot4").on('click', function(){ - x = x+1; - console.log(2) - if(x%2 == 0){ - console.log(0) - $("#down4").attr('class', 'fa fa-caret-square-o-down'); -} -else{ - console.log(1) - $("#down4").attr('class', 'fa fa-caret-square-o-up'); -} - -}) - diff --git a/courses/static/js/topic_editation_presentation.js b/courses/static/js/topic_editation_presentation.js index f13eed0..f2949b3 100644 --- a/courses/static/js/topic_editation_presentation.js +++ b/courses/static/js/topic_editation_presentation.js @@ -1,3 +1,4 @@ + $(document).ready(function(){ $(".editation").hide(); }); @@ -10,5 +11,3 @@ function show_presentation(id_topic){ $(".editation_"+ id_topic).hide(); $(".presentation_"+ id_topic).show(); }; - - diff --git a/courses/templates/subject/form_view_teacher.html b/courses/templates/subject/form_view_teacher.html index d4e90f7..976759f 100644 --- a/courses/templates/subject/form_view_teacher.html +++ b/courses/templates/subject/form_view_teacher.html @@ -125,7 +125,7 @@ {# opções de cancelar e editar no modo de edição #}
- {% trans 'Back' %} + {% trans 'Back' %} {# {% trans 'Submit' %}#}
diff --git a/links/templates/links/create_link.html b/links/templates/links/create_link.html index 5a51e48..9176f85 100644 --- a/links/templates/links/create_link.html +++ b/links/templates/links/create_link.html @@ -45,6 +45,7 @@ {# // #} #}