diff --git a/app/assets/stylesheets/style.css.scss b/app/assets/stylesheets/style.css.scss index f80ad5d8a..237f91d9d 100755 --- a/app/assets/stylesheets/style.css.scss +++ b/app/assets/stylesheets/style.css.scss @@ -1078,20 +1078,6 @@ form p:last-child { padding-left: 14px; } -.danger-side input { - background: none; - border: none; - padding-left: 14px; - text-decoration: none; - color: #0882af; - font-family: "Source Sans Pro", sans-serif; - font-weight: 300; - font-size: 16px; - text-align: left; - width: 100%; - cursor: pointer; -} - /* Form Tables */ .verticalTable tr { diff --git a/app/views/assessments/show.html.erb b/app/views/assessments/show.html.erb index aead65b93..34d94946e 100755 --- a/app/views/assessments/show.html.erb +++ b/app/views/assessments/show.html.erb @@ -76,10 +76,10 @@
  • Danger Zone

  • - <%= button_to "Release all grades", { :action => "releaseAllGrades" }, { :title=> "Make all scores for this assessment visible to students", data: {confirm: "Are you sure you want to release all grades?"}} %> + <%= link_to "Release all grades", { :action => "releaseAllGrades" }, { :title=> "Make all scores for this assessment visible to students", data: {confirm: "Are you sure you want to release all grades?", method: "post"}} %>
  • - <%= button_to "Withdraw all grades", { :action => "withdrawAllGrades" }, {:title=> "Hide all scores for this assessment from students", data: {confirm: "Are you sure you want to withdraw all grades?"}} %> + <%= link_to "Withdraw all grades", { :action => "withdrawAllGrades" }, {:title=> "Hide all scores for this assessment from students", data: {confirm: "Are you sure you want to withdraw all grades?", method: "post"}} %>
  • <%= link_to "Reload config file", {:action => "reload" }, {:title=> "Reload the assessment config file (provided for backward compatibility with legacy assessments)", data: {confirm: "Are you sure you want to reload the config file?"}} %>
  • @@ -107,7 +107,7 @@
  • <%= link_to "Reload config file", url_for(:action => 'reload'), :title=> "Reload the assessment configuration file (provided for backward compatibility with legacy assessments)", data: {confirm: "Are you sure you want to reload the config file?"} %>
  • - <%= button_to "Release section grades", { :action => "releaseSectionGrades" }, { :title=> "Make all scores visible to the students in your section. This will work only if your instructor has assigned you to a lecture and section in your Autolab account.", data: {confirm: "Are you sure you want to release section grades?"}} %> + <%= link_to "Release section grades", { :action => "releaseSectionGrades" }, { :title=> "Make all scores visible to the students in your section. This will work only if your instructor has assigned you to a lecture and section in your Autolab account.", data: {confirm: "Are you sure you want to release section grades?", method: "post"}} %>
  • diff --git a/app/views/schedulers/index.html.erb b/app/views/schedulers/index.html.erb index 3686b7afd..baf4fc382 100755 --- a/app/views/schedulers/index.html.erb +++ b/app/views/schedulers/index.html.erb @@ -17,7 +17,7 @@ <%=h scheduler.action %> <%=h scheduler.next %> <%=h scheduler.interval %> - <%= link_to 'Visual Run', {:action=>"run", :scheduler_id=>scheduler.id} %> + <%= link_to 'Visual Run', {:action=>"run", :scheduler_id=>scheduler.id}, data: { method: "post" } %> <%= link_to 'Show', {:action=>"show",:id=>scheduler.id} %> <%= link_to 'Edit', edit_course_scheduler_path(@course, scheduler) %> <%= link_to 'Destroy', course_scheduler_path(@course, scheduler), method: "delete", data: {confirm: 'Are you sure?'} %> diff --git a/app/views/schedulers/run.html.erb b/app/views/schedulers/run.html.erb index 0a71ca748..3d0324c97 100644 --- a/app/views/schedulers/run.html.erb +++ b/app/views/schedulers/run.html.erb @@ -1,7 +1,7 @@ <% content_for :javascripts do %>