diff --git a/app/views/exercise/_exercise_student.html.erb b/app/views/exercise/_exercise_student.html.erb index a63191db..6b5ecd5e 100644 --- a/app/views/exercise/_exercise_student.html.erb +++ b/app/views/exercise/_exercise_student.html.erb @@ -203,7 +203,7 @@ <% end %> @@ -250,7 +250,7 @@ <% end %> diff --git a/app/views/exercise/_exercise_student_result.html.erb b/app/views/exercise/_exercise_student_result.html.erb index 8b6f7ab6..7b78e5fc 100644 --- a/app/views/exercise/_exercise_student_result.html.erb +++ b/app/views/exercise/_exercise_student_result.html.erb @@ -156,7 +156,7 @@ <% end %> @@ -175,7 +175,7 @@ <% end %> diff --git a/app/views/exercise/_show_MC.html.erb b/app/views/exercise/_show_MC.html.erb index 1f74be73..546a7255 100644 --- a/app/views/exercise/_show_MC.html.erb +++ b/app/views/exercise/_show_MC.html.erb @@ -23,7 +23,7 @@ <% end %> diff --git a/app/views/exercise/_show_MCQ.html.erb b/app/views/exercise/_show_MCQ.html.erb index 57c36496..4e336e91 100644 --- a/app/views/exercise/_show_MCQ.html.erb +++ b/app/views/exercise/_show_MCQ.html.erb @@ -23,7 +23,7 @@ <% end %> diff --git a/app/views/exercise/_statistics_result_table.html.erb b/app/views/exercise/_statistics_result_table.html.erb index 964def05..6904be36 100644 --- a/app/views/exercise/_statistics_result_table.html.erb +++ b/app/views/exercise/_statistics_result_table.html.erb @@ -17,9 +17,9 @@ <% exercise_question.exercise_choices.reorder("choice_position").each do |exercise_choice| %>
  • -

    - <%= exercise_choice.choice_text %> -

    +
    + <%= exercise_choice.choice_text %> +
    <% count = exercise_choice.exercise_answers.where(:user_id => @user_ids).count %>

    <%= count %>

    diff --git a/app/views/exercise/student_exercise_list.html.erb b/app/views/exercise/student_exercise_list.html.erb index e6eddc40..6ca89738 100644 --- a/app/views/exercise/student_exercise_list.html.erb +++ b/app/views/exercise/student_exercise_list.html.erb @@ -271,7 +271,7 @@
    <%= exercise_choice.choice_text %> <% end %> @@ -288,7 +288,7 @@ <% end %> diff --git a/config/routes.rb b/config/routes.rb index 5d523390..ff8d4137 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -2658,6 +2658,7 @@ RedmineApp::Application.routes.draw do ## oauth相关 resource :sso, only: [:show, :create] + # library resources :libraries do get :publish_success, on: :collection end diff --git a/public/stylesheets/educoder/edu-all.css b/public/stylesheets/educoder/edu-all.css index 398cf669..543431c5 100644 --- a/public/stylesheets/educoder/edu-all.css +++ b/public/stylesheets/educoder/edu-all.css @@ -3414,4 +3414,12 @@ line-height: 16px;display: inline-block;color: rgba(65, 140, 205, 1) !important; } .changebtn{ width: 127px;font-size: 16px;height: 40px; line-height: 40px; +} + +.xmplist{ + margin-top:0px !important; + margin-bottom:0px !important; +} +.width698{ + width: 698px; } \ No newline at end of file