Browse Source

Improve options style of question - refs #7612

Angel Fernando Quiroz Campos 10 years ago
parent
commit
318662468f
2 changed files with 6 additions and 2 deletions
  1. 3 0
      main/css/base.css
  2. 3 2
      main/template/default/exercise/submit.js.tpl

+ 3 - 0
main/css/base.css

@@ -5883,8 +5883,11 @@ ul.holder li.bit-box{
 .question_options ul.exercise-draggable-answer{
     float: left;
     margin-bottom: 20px;
+    min-height: 2em;
+    min-width: 100%;
 }
 ul.exercise-draggable-answer li {
+    cursor: move;
     float: left;
     margin: 0 20px 20px 0;
     padding: 5px;

+ 3 - 2
main/template/default/exercise/submit.js.tpl

@@ -27,7 +27,8 @@
                         .attr('href', '#')
                         .addClass('btn btn-default btn-xs')
                         .append(
-                            $('<i>').addClass('fa fa-refresh')
+                            "{{ "Undo" | get_lang }} ",
+                            $('<i>').addClass('fa fa-undo')
                         )
                         .on('click', function (e) {
                             e.preventDefault();
@@ -91,4 +92,4 @@
             $(".droppable")
         );
     });
-</script>
+</script>