diff --git a/jquery/turnitintooltwo-2024100901.min.js b/jquery/turnitintooltwo-2024100901.min.js old mode 100644 new mode 100755 index b6f25ffb..f355d12d --- a/jquery/turnitintooltwo-2024100901.min.js +++ b/jquery/turnitintooltwo-2024100901.min.js @@ -1,2 +1,2 @@ -!function($){$(window).on("load",function(){var dataTablesLang,activeTab,submissionsDataTableColumns=($(".js_required").show(),$(".js_hide").hide(),1==$("#id_submissiontype").val()&&$("#id_submissiontext").parent().parent().hide(),2==$("#id_submissiontype").val()&&$("#id_submissionfile").parent().parent().hide(),$("#id_submissionagreement").length&&$("#id_submitbutton").attr("disabled","disabled"),$("#id_submissionagreement").on("click",function(){$(this).is(":checked")?$("#id_submissionagreement").each(function(){$("#id_submitbutton").removeAttr("disabled")}):$("#id_submissionagreement").each(function(){$("#id_submitbutton").attr("disabled","disabled")})}),$("div.mod_turnitintooltwo").parent().css("width","100%"),$(document).on("click",".delete_paper",function(){var i=$(this).data("confirm"),i=M.str.turnitintooltwo[i].replace(/\\n/g,"\n");confirm(i)&&$.ajax({type:"POST",url:"ajax.php",dataType:"html",data:{action:"deletesubmission",sesskey:M.cfg.sesskey,paper:$(this).data("paper"),part:$(this).data("part"),assignment:$(this).data("assignment")},success:function(){window.location.href=window.location.href}})}),$(document).on("click",".submit_nothing",function(){var i,t,e;$(this).hasClass("disabled")||($(this).addClass("disabled"),i=$(this).prop("id").split("_")[2],t=$(this).prop("id").split("_")[3],e=M.str.turnitintooltwo.submitnothingwarning.replace(/
/g,"\n").replace(/'/g,"'"),$.cookie("submitnothingaccept")||confirm(e)?submitNothing(t,i):$(this).removeClass("disabled"))}),$(document).on("change","#id_submissiontype",function(){1==$("#id_submissiontype").val()&&($("#id_submissiontext").parent().parent().hide(),$("#id_submissionfile").parent().parent().show()),2==$("#id_submissiontype").val()&&($("#id_submissionfile").parent().parent().hide(),$("#id_submissiontext").parent().parent().show())}),$(document).on("submit",".submission_form_container form",function(){return 0<$("#id_submissiontitle").val().length&&($("#general").slideUp("slow"),$(".mod_turnitintooltwo .noticebox").slideUp("slow"),$(".submission_form_container form").slideUp("slow"),$("#submitting_loader").slideDown("slow"),!0)}),0<$(".toggle_summary").length&&($.cookie("show_summary_"+$("#assignment_id").html())||$.cookie("show_summary_"+$("#assignment_id").html(),!0,{expires:30}),"true"==$.cookie("show_summary_"+$("#assignment_id").html())?($(".hide_summary_"+$("#assignment_id").html()).show(),$(".show_summary_"+$("#assignment_id").html()).hide(),$(".introduction").slideDown()):($(".show_summary_"+$("#assignment_id").html()).show(),$(".hide_summary_"+$("#assignment_id").html()).hide(),$(".introduction").slideUp()),$(".toggle_summary i").click(function(){$(this).hasClass("show_summary_"+$("#assignment_id").html())?($.cookie("show_summary_"+$("#assignment_id").html(),!0,{expires:30}),$(".show_summary_"+$("#assignment_id").html()).hide(),$(".hide_summary_"+$("#assignment_id").html()).show(),$(".introduction").slideDown()):($.cookie("show_summary_"+$("#assignment_id").html(),!1,{expires:30}),$(".show_summary_"+$("#assignment_id").html()).show(),$(".hide_summary_"+$("#assignment_id").html()).hide(),$(".introduction").slideUp())})),0<$(".toggle_peermarks").length&&($.cookie("show_peermarks_"+$("#assignment_id").html())||$.cookie("show_peermarks_"+$("#assignment_id").html(),!0,{expires:30}),"true"==$.cookie("show_peermarks_"+$("#assignment_id").html())?($(".hide_peermarks_"+$("#assignment_id").html()).show(),$(".show_peermarks_"+$("#assignment_id").html()).hide(),$(".peermark_assignments_container").slideDown()):($(".show_peermarks_"+$("#assignment_id").html()).show(),$(".hide_peermarks_"+$("#assignment_id").html()).hide(),$(".peermark_assignments_container").slideUp()),$(".toggle_peermarks i").click(function(){$(this).hasClass("show_peermarks_"+$("#assignment_id").html())?($.cookie("show_peermarks_"+$("#assignment_id").html(),!0,{expires:30}),$(".show_peermarks_"+$("#assignment_id").html()).hide(),$(".hide_peermarks_"+$("#assignment_id").html()).show(),$(".peermark_assignments_container").slideDown()):($.cookie("show_peermarks_"+$("#assignment_id").html(),!1,{expires:30}),$(".show_peermarks_"+$("#assignment_id").html()).show(),$(".hide_peermarks_"+$("#assignment_id").html()).hide(),$(".peermark_assignments_container").slideUp())})),$(document).on("click",".show_peermark_instructions, .hide_peermark_instructions",function(){var i=$(this).attr("id").split("_");"show"==i[0]?($("#show_peermark_instructions_"+i[3]).hide(),$("#hide_peermark_instructions_"+i[3]).show(),$("#peermark_instructions_"+i[3]).slideDown()):($("#show_peermark_instructions_"+i[3]).show(),$("#hide_peermark_instructions_"+i[3]).hide(),$("#peermark_instructions_"+i[3]).slideUp())}),showPartDatesBoxes(),$(document).on("change","#id_numparts",function(){showPartDatesBoxes()}),$(document).on("click",".splitter-lastname, .splitter-firstname",function(i){var i=$(i.target),t=i.hasClass("sorting_asc"),e="asc",s="desc",n=i.attr("data-col");t||(e="desc",s="asc"),i.closest(".mod_turnitintooltwo_submissions_data_table").DataTable().order([n,s]).draw(),i.addClass("sorting_"+s).removeClass("sorting sorting_"+e),i.parent().removeClass("sorting sorting_asc sorting_desc"),i.siblings().removeClass("sorting_asc sorting_desc").addClass("sorting")}),0<$("#dataTable").length&&$("#dataTable").dataTable(),void 0!==M.str.turnitintooltwo&&(dataTablesLang={sProcessing:''+M.str.turnitintooltwo.sprocessing+"",sZeroRecords:M.str.turnitintooltwo.szerorecords,sInfo:M.str.turnitintooltwo.sinfo,sSearch:M.str.turnitintooltwo.ssearch,sLengthMenu:M.str.turnitintooltwo.slengthmenu,oPaginate:{sNext:M.str.turnitintooltwo.snext,sPrevious:M.str.turnitintooltwo.sprevious}}),0<$("#tabs").length&&(activeTab=0,0<$("#tab_position").length&&(activeTab=$("#tab_position").text()),$("#tabs").tabs({active:activeTab,show:function(){var i=$.fn.dataTable.fnTables(!0);0><"dt_pagination clearfix"pi>t<"bottom"><"dt_pagination clearfix"pi>',fnServerData:function(i,t,e){$.ajax({dataType:"json",type:"POST",url:i,data:{action:"initialise_redraw"},success:function(i){disableEditingText(s),e(i),$("#"+s+"_processing").attr("style","visibility: visible"),getSubmissions(partTables[s],$("#assignment_id").html(),s,0,refreshRequested,0)}})},bStateSave:!0,fnStateSave:function(i,t){try{localStorage.setItem(s+"DataTables",JSON.stringify(t))}catch(i){}},fnStateSaveParams:function(i,t){t.abVisCols=visibleCols},fnStateLoad:function(i){try{return JSON.parse(localStorage.getItem(s+"DataTables"))}catch(i){}},fnStateLoadParams:function(i,t){t.abVisCols=visibleCols},fnDrawCallback:function(i){initialiseDigitalReceipt(),initialiseDVLaunchers("all",0,s,0),initialiseRefreshRow("all",0,s,0),initialiseUploadBox("all",0,0,0),initialiseZipDownloads(s),initialiseCheckboxes(0,s),initialiseUnanoymiseForm("all",0,0)}})}),$("table.mod_turnitintooltwo_submissions_data_table").each(function(){refreshPeermarkAssignments($(this).attr("id"),0)}),0<$(".messages_amount").length&&refreshUserMessages(),$(".tii_table_functions").each(function(){var i=$(this).attr("id").split("tii_table_functions_")[1],t=$("#tii_table_functions_"+i).html();$("#tii_table_functions_"+i).remove(),$("#"+i+"_length").after(t),$(".mod_turnitintooltwo_messages_inbox").show(),$("#refresh_"+i).show(),$("#refreshing_"+i).hide()}),$(".mod_turnitintooltwo_zip_downloads")),theDate;function enableEditingText(i){$("#tabs-"+i+" .editable_date, #tabs-"+i+" .editable_text").editable("enable")}function disableEditingText(i){$("#tabs-"+i+" .editable_date, #tabs-"+i+" .editable_text").editable("disable")}function getLoadingGif(){$("#cboxOverlay").after('
');var i=$(window).scrollTop()+$(window).height()/2;$(".loading_gif").css("top",i+"px")}function hideLoadingGif(){$(".loading_gif").remove()}function getSubmissions(table,assignment_id,part_id,start,refresh_requested,total){$.ajax({dataType:"json",type:"POST",url:"ajax.php",async:!0,data:{action:"get_submissions",assignment:assignment_id,part:part_id,start:start,refresh_requested:refresh_requested[part_id],sesskey:M.cfg.sesskey,total:total},success:function(result){var allrefreshed;eval(result),start=result.end,0$(".mod_turnitintooltwo_submissions_data_table .refresh_row").length&&$(".mod_turnitintooltwo_nonsubmitters_link").attr("style","display: block"))},error:function(i,t){$("#"+part_id+"_processing").attr("style","visibility: hidden"),$(".dataTables_empty").html(M.str.turnitintooltwo.tiisubmissionsgeterror)}})}function submitVisibility(){1==$(".upload_box").data("user-type")||1==$(".upload_box").data("eula")?$(".upload_box").show():$(".upload_box").hide()}function refreshRubricSelect(){var e=$("#id_rubric").length?"#id_rubric":"#id_plagiarism_rubric",t=$(e).val();$.ajax({dataType:"json",type:"POST",url:"../mod/turnitintooltwo/ajax.php",data:{action:"refresh_rubric_select",assignment:$('input[name="instance"]').val(),modulename:$('input[name="modulename"]').val(),course:$('input[name="course"]').val()},success:function(i){$($(e)).empty(),$.each(i,function(i,t){var s;$.isNumeric(i)||""===i?$($(e)).append($("")).attr("label",i),$.each(t,function(i,t){var e=$("");e.val(i),e.text(t),s.append(e)}),$(e).append(s))}),$(e+' option[value="'+t+'"]').attr("selected","selected")}})}function refreshUserMessages(){$(".mod_turnitintooltwo_messages_loading").show(),$(".messages_amount").html(""),$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"refresh_user_messages",assignment:$("#assignment_id").html()},success:function(i){$(".mod_turnitintooltwo_messages_loading").hide(),$(".messages_amount").html(i)}})}function resetPeermarkSection(i){$("#tabs-"+i+" .toggle_peermarks").hide(),$("#tabs-"+i+" .peermark_count").html(""),$("#tabs-"+i+" .peermark-loading").show(),$("#tabs-"+i+" .peermark_assignments_container").hide()}function refreshPeermarkAssignments(part_id,refresh_requested){var user_role=0<$(".tii_peermark_manager_launch").length?"Instructor":"Learner";0<$("#tabs-"+part_id+" .peermark_assignments_container").length&&(resetPeermarkSection(part_id),$.ajax({dataType:"json",type:"POST",url:"ajax.php",data:{action:"refresh_peermark_assignments",assignment:$("#assignment_id").html(),part:part_id,refresh_requested:refresh_requested,sesskey:M.cfg.sesskey},success:function(data){eval(data),$("#tabs-"+part_id+" .peermark_assignments_container").html(data.peermark_table),$("#tabs-"+part_id+" .peermark-loading").hide(),$("#tabs-"+part_id+" .peermark_count").html(data.no_of_peermarks),0'+M.str.turnitintooltwo.closebutton+""),window.addEventListener("message",handleCloseModalMessage)}function initialiseDigitalReceipt(){0<$(".mod_turnitintooltwo_digital_receipt").length&&$(".mod_turnitintooltwo_digital_receipt").colorbox({iframe:!0,width:"832px",height:"482px",opacity:"0.7",className:"rubric_view",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}})}function initialiseHiddenZipDownloads(t){$("#tabs-"+t+" .mod_turnitintooltwo_origchecked_zip_open").unbind("click"),$("#tabs-"+t+" .mod_turnitintooltwo_origchecked_zip_open").click(function(){var i=$(this).attr("id").split("_");return downloadZipFile(i[0]+"_"+i[1],t),!1})}function initialiseRefreshRow(i,t,e,s){i="row"==i?"#refreshrow_"+t+"_"+e+"_"+s+" .fa-refresh":".refresh_row .fa-refresh";$(i).unbind("click"),$(i).click(function(){$(this).hide(),$(this).siblings(".fa-spinner").css("display","inline-block").addClass("fa-lg");var i=$(this).parent().attr("id").split("_");refreshInboxRow(i[0],i[1],i[2],i[3])})}function initialiseDVLaunchers(i,t,e,s){i="row"==i?"#downloadoriginal_"+t+"_"+e+"_"+s:"#"+e+" .download_original_open";$(i).unbind("click"),$(i).click(function(){var i=$(this).attr("id").split("_");$(this).children(".score_colour").hasClass("score_colour_")||downloadOriginalFile(i[0],i[1],i[2],i[3])})}function downloadZipFile(t,e){var s=[];"origchecked_zip"!=t&&"gmpdf_zip"!=t||$("#tabs-"+e+" .inbox_checkbox:checked").each(function(i){s[i]=$(this).val()}),$.ajax({type:"POST",url:"ajax.php",dataType:"html",data:{action:t,assignment:$("#assignment_id").html(),part:e,submission_ids:s},success:function(i){$("#"+t+"_form_"+e).html(i),$("#"+t+"_form_"+e).children("form").submit(),$("#"+t+"_form_"+e).html("")}})}function downloadOriginalFile(t,e,i,s){$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"html",data:{action:t,submission:e,assignment:$("#assignment_id").html()},success:function(i){$("#"+t+"_form_"+e).html(i),$("#"+t+"_form_"+e).children("form").submit(),$("#"+t+"_form_"+e).html("")}})}function checkDVClosed(i){window.dvWindow.closed?$("#refresh_"+i).click():setTimeout(function(){checkDVClosed(i)},500)}function submitNothing(user_id,part_id){$("#submitnothing_0_"+part_id+"_"+user_id+" i").attr("class","fa fa-spin fa-spinner fa-lg"),$.ajax({type:"POST",url:"ajax.php",dataType:"json",data:{action:"submit_nothing",assignment:$("#assignment_id").html(),part:part_id,user:user_id,sesskey:M.cfg.sesskey},success:function(data){eval(data),$.cookie("submitnothingaccept",!0,{expires:365}),$("table#"+part_id+" .select_all_checkbox").attr("checked",!1)},error:function(i){$("#submitnothing_0_"+part_id+"_"+user_id+" i").attr("class","fa fa-pencil fa-lg"),$("#submitnothing_0_"+part_id+"_"+user_id).removeClass("disabled"),alert(i.responseText)},complete:function(){refreshInboxRow("submitnothing",0,part_id,user_id)}})}function refreshInboxRow(link,submission_id,part_id,user_id){$.ajax({type:"POST",url:"ajax.php",dataType:"json",data:{action:"refresh_submission_row",assignment:$("#assignment_id").html(),part:part_id,user:user_id,sesskey:M.cfg.sesskey},success:function(data){$("table#"+part_id+" .select_all_checkbox").attr("checked",!1),eval(data);var i=0,tr=(0==submission_id?(link+="_0",submission_id=data.submission_id):link=null==data.submission_id&&0!=submission_id?link+"_"+submission_id:link+"_"+data.submission_id,0!=submission_id&&$("#export_links").removeClass("hidden_class"),oTable=$("table#"+part_id).dataTable(),$("#"+link+"_"+part_id+"_"+user_id).parent().parent()),rowindex=tr.index();oTable.fnDeleteRow(tr),oTable.fnAddData(data.row),submitVisibility(),initialiseUploadBox("row",data.submission_id,part_id,user_id),initialiseDVLaunchers("row",data.submission_id,part_id,user_id),initialiseRefreshRow("row",data.submission_id,part_id,user_id),initialiseCheckboxes(data.submission_id,part_id),initialiseUnanoymiseForm("row",$("#assignment_id").html(),data.submission_id)}})}function initialiseCheckboxes(i,t){i=0!=i?"check_"+i:"#tabs-"+t+" .inbox_checkbox";$("#tabs-"+t+" .inbox_checkbox").click(function(){$("table#"+t+" .select_all_checkbox").attr("checked",!1)}),$(document).on("click",i+", .select_all_checkbox",function(){0<$("#tabs-"+t+" .inbox_checkbox:checked").length?($("#tabs-"+t+" .mod_turnitintooltwo_zip_downloads button").prop("disabled",!1),$("#tabs-"+t+" .mod_turnitintooltwo_zip_downloads button").removeAttr("title"),initialiseHiddenZipDownloads(t)):($("#tabs-"+t+" .mod_turnitintooltwo_origchecked_zip_open").unbind("click"),$("#tabs-"+t+" .mod_turnitintooltwo_zip_downloads button").prop("disabled",!0),$("#tabs-"+t+" .mod_turnitintooltwo_zip_downloads button").prop("title",M.str.turnitintooltwo.download_button_warning))})}function showPartDatesBoxes(){for(var i=0;i<=5;i++)i<=$("#id_numparts").val()?$('fieldset[id$="partdates'+i+'"]').slideDown():$('fieldset[id$="partdates'+i+'"]').slideUp()}$.each(zip_downloads,function(){var i=$(this).attr("id").split("_")[1];$(this).remove(),$("#"+i+"_length").after($(this))}),"Learner"==$("#user_role").html()&&$(".dataTables_length, .dataTables_filter, .dt_pagination").hide(),$(".mod_turnitintooltwo_refresh_link").click(function(){return $(this).is(":visible")&&($(".mod_turnitintooltwo_refresh_link").hide(),$(".mod_turnitintooltwo_refreshing_link").show(),$("table.mod_turnitintooltwo_submissions_data_table").each(function(){refreshRequested[$(this).attr("id")]=1,partTables[$(this).attr("id")].fnReloadAjax(),partTables[$(this).attr("id")].fnStandingRedraw()})),!1}),0<$("#turnitin_sync_all_grades").length&&$(".turnitin_sync_grades").click(function(){$(".turnitin_sync_grades").hide(),$(".turnitin_syncing_grades").show(),$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"json",data:{action:"sync_all_submissions",assignment:$("#turnitin_sync_all_grades").data("turnitintooltwoid"),sesskey:M.cfg.sesskey},success:function(i){$(".turnitin_sync_grades").show(),$(".turnitin_syncing_grades").hide()}})}),0<$(".submission_failure_msg").length&&window.parent.$(".upload_box").colorbox.resize({width:"800px",height:"240px"}),$(".enrol_link").click(function(){$("#enrolling_error").hide(),$(".enrol_link").hide(),$(".enrolling_container").show(),$.ajax({type:"POST",url:"ajax.php",dataType:"html",data:{action:"enrol_all_students",assignment:$("#assignment_id").html(),sesskey:M.cfg.sesskey},success:function(i){window.location.href=window.location.href},error:function(i,t){$(".enrol_link").show(),$(".enrolling_container").hide(),$("#enrolling_error").show()}})}),0<$(".mod_turnitintooltwo_rubric_manager_launch").length&&$(".mod_turnitintooltwo_rubric_manager_launch").colorbox({iframe:!0,width:"832px",height:"682px",opacity:"0.7",className:"rubric_manager",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){hideLoadingGif(),"rubric_manager_inbox_launch"!=$(this).attr("id")&&refreshRubricSelect(),$("#tii_close_bar").remove()}}),0<$(".mod_turnitintooltwo_rubric_view_launch").length&&$(".mod_turnitintooltwo_rubric_view_launch").colorbox({iframe:!0,width:"832px",height:"682px",opacity:"0.7",className:"rubric_view",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),$("#id_rubric, #id_plagiarism_rubric").mousedown(function(){""!=$('input[name="instance"]').val()&&"Y"!=$('input[name="rubric_warning_seen"]').val()&&confirm(M.str.turnitintooltwo.changerubricwarning)&&$('input[name="rubric_warning_seen"]').val("Y")}),0<$(".mod_turnitintooltwo_quickmark_manager_launch").length&&$(".mod_turnitintooltwo_quickmark_manager_launch").colorbox({iframe:!0,width:"770px",height:"600px",opacity:"0.7",className:"quickmark_manager",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),0<$(".tii_peermark_manager_launch").length&&$(".tii_peermark_manager_launch").colorbox({iframe:!0,width:"915px",height:"772px",opacity:"0.7",className:"peermark_manager",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()},onClosed:function(){refreshPeermarkAssignments($(this).attr("id").split("_")[2],1)}}),0<$(".tii_peermark_reviews_launch").length&&$(".tii_peermark_reviews_launch").colorbox({iframe:!0,width:"915px",height:"772px",opacity:"0.7",className:"peermark_reviews",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),0<$(".mod_turnitintooltwo_messages_inbox").length&&$(".mod_turnitintooltwo_messages_inbox").colorbox({iframe:!0,width:"772px",height:"772px",opacity:"0.7",className:"messages",transition:"none",closeButton:!0,onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),0<$(".mod_turnitintooltwo_nonsubmitters_link").length&&$(".mod_turnitintooltwo_nonsubmitters_link").colorbox({iframe:!0,width:"740px",height:"540px",opacity:"0.7",className:"nonsubmitters",transition:"none",closeButton:!0,onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),0<$(".mod_turnitintooltwo_nonsubmittersformsuccessmsg").length&&(hideLoadingGif(),window.parent.$(".nonsubmitters").colorbox.resize({width:"740px",height:"120px"})),0<$(".mod_turnitintooltwo_rubric_view_launch").length&&$(".mod_turnitintooltwo_rubric_view_launch").colorbox({iframe:!0,width:"832px",height:"682px",opacity:"0.7",className:"rubric_view",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),$(document).on("click",".default_open, .origreport_open, .grademark_open",function(){var t,i=!0,e=$(this).attr("id").split("_"),s=$("#date_due_"+e[2]).html(),s=moment(s).unix(),n=e[0],o=e[1],a=e[2];(i=s>moment().unix()&&$(this).hasClass("graded_warning")&&!confirm(M.str.turnitintooltwo.resubmissiongradewarn)?!1:i)&&(dvWindow=window.open("","_blank"),t='
',t=(t+='')+'

'+M.str.turnitintooltwo.loadingdv+"

",$(dvWindow.document.body).html(t),$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"json",data:{action:n,submission:o,assignment:$("#assignment_id").html()},success:function(i){$(dvWindow.document.body).html(t+i),dvWindow.document.forms[0].submit(),dvWindow.document.close(),checkDVClosed(a)}}))}),0<$("#id_rubric").length&&refreshRubricSelect(),self!=top&&"box"==$("#view_context").html()?$("html").css("background","none"):self!=top&&"box_solid"==$("#view_context").html()&&$("html").css("background","#FFF"),$(".editable_postdue").on("click",function(){1==$(this).data("anon")&&alert(M.str.turnitintooltwo.postdate_warning)}),$(".max_marks_warning").on("click",function(){alert(M.str.turnitintooltwo.max_marks_warning)}),0<$(".editable_text").length&&($.fn.editable.defaults.mode="inline",$.fn.editable.defaults.url="ajax.php",$.fn.editable.defaults.onblur="submit",$.fn.editable.defaults.showbuttons=!1,$.fn.editable.defaults.ajaxOptions={dataType:"json"},$(".editable_text").editable({validate:function(i){if(0<=$(this).attr("id").indexOf("marks_")&&(Math.floor(i)!=i||!$.isNumeric(i)||-1!=i.indexOf(".")))return M.str.turnitintooltwo.maxmarkserror},success:function(i,t){if(!i.success)return i.msg;"maxmarks"==i.field?($("#refresh_"+i.partid).click(),$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"json",data:{action:"sync_all_submissions",assignment:$("#assignment_id").html(),sesskey:M.cfg.sesskey}})):"partname"==i.field&&(i=$(this).parentsUntil(".ui-tabs-panel").parent().attr("aria-labelledby"),$("#"+i).text(t))}}),$("#export_options").hasClass("tii_export_options_hide")&&($("#export_options").hide(),$(".export_data").html('--')),$(".editable_postdue").on("click",function(){var t=$(this);$.ajax({type:"POST",url:"ajax.php",dataType:"json",data:{action:"check_anon",part:t.data("pk"),assignment:$("#assignment_id").html()},success:function(i){t.data("anon",i.anon),t.data("unanon",i.unanon),t.data("submitted",i.submitted)}})}),theDate=new Date,$(".editable_date").editable({type:"combodate",format:"YYYY-MM-DD HH:mm",viewformat:"D MMM YYYY, HH:mm",template:"D MMM YYYY HH:mm",combodate:{minuteStep:1,minYear:2e3,maxYear:theDate.getFullYear()+2,smartDays:!0},validate:function(i){if(i.format("X")--')):($(".empty-dash").remove(),$("#export_options").show())}}),$(".editable_date").click(function(){if($(this).hasClass("editable-disabled"))return!1}),$(".editable_date, .editable_text").on("shown",function(i,t){var e=$(this).prop("id");$(".editable_date, .editable_text").not("#"+e).editable("disable"),$(".submit_nothing").addClass("disabled")}),$(".editable_date, .editable_text").on("hidden",function(){var i=$(this).prop("id");$(".editable_date, .editable_text").not("#"+i).editable("enable"),$(".submit_nothing").removeClass("disabled")})),$("#inbox_form form, .launch_form form").submit(),0<$(".turnitin_eula_link").length&&$(".turnitin_eula_link").colorbox({iframe:!0,width:"766px",height:"596px",opacity:"0.7",className:"eula_view",scrolling:"false",onLoad:function(){getLoadingGif()},onComplete:function(){$(window).on("message",function(i){i=(void 0===i.data?i.originalEvent:i).data;"turnitin_eula_declined"!=i&&"turnitin_eula_accepted"!=i||$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"json",data:{action:"acceptuseragreement",message:i,sesskey:M.cfg.sesskey},success:function(i){window.location.reload()},error:function(i){window.location.reload()}})})},onCleanup:function(){hideLoadingGif()}}),$("#mod_turnitintooltwo_receipt_print").click(function(){window.print()}),$(".select_all_checkbox").on("click",function(){var i=$(this).parent().parent().parent().parent().attr("id");$(this).is(":checked")?($("#"+i+" .inbox_checkbox").length&&($("#tabs-"+i+" .mod_turnitintooltwo_zip_downloads button").prop("disabled",!1),$("#tabs-"+i+" .mod_turnitintooltwo_zip_downloads button").removeAttr("title")),$("#"+i+" .inbox_checkbox").each(function(){$(this).prop("checked",!0)})):($("#"+i+" .inbox_checkbox").each(function(){$(this).prop("checked",!1)}),$("#"+i+" .inbox_checkbox").length&&($("#tabs-"+i+" .mod_turnitintooltwo_zip_downloads button").prop("disabled",!0),$("#tabs-"+i+" .mod_turnitintooltwo_zip_downloads button").prop("title",M.str.turnitintooltwo.download_button_warning)))}),$("[id^=fitem_id_dtpost] select").change(function(){var i=$(this).parent().parent().parent();buildUnixDate("#fitem_id_dtpost",i.data("partId"))/g,"\n").replace(/'/g,"'"),$.cookie("submitnothingaccept")||confirm(e)?submitNothing(t,i):$(this).removeClass("disabled"))}),$(document).on("change","#id_submissiontype",function(){1==$("#id_submissiontype").val()&&($("#id_submissiontext").parent().parent().hide(),$("#id_submissionfile").parent().parent().show()),2==$("#id_submissiontype").val()&&($("#id_submissionfile").parent().parent().hide(),$("#id_submissiontext").parent().parent().show())}),$(document).on("submit",".submission_form_container form",function(){return 0<$("#id_submissiontitle").val().length&&($("#general").slideUp("slow"),$(".mod_turnitintooltwo .noticebox").slideUp("slow"),$(".submission_form_container form").slideUp("slow"),$("#submitting_loader").slideDown("slow"),!0)}),0<$(".toggle_summary").length&&($.cookie("show_summary_"+$("#assignment_id").html())||$.cookie("show_summary_"+$("#assignment_id").html(),!0,{expires:30}),"true"==$.cookie("show_summary_"+$("#assignment_id").html())?($(".hide_summary_"+$("#assignment_id").html()).show(),$(".show_summary_"+$("#assignment_id").html()).hide(),$(".introduction").slideDown()):($(".show_summary_"+$("#assignment_id").html()).show(),$(".hide_summary_"+$("#assignment_id").html()).hide(),$(".introduction").slideUp()),$(".toggle_summary i").click(function(){$(this).hasClass("show_summary_"+$("#assignment_id").html())?($.cookie("show_summary_"+$("#assignment_id").html(),!0,{expires:30}),$(".show_summary_"+$("#assignment_id").html()).hide(),$(".hide_summary_"+$("#assignment_id").html()).show(),$(".introduction").slideDown()):($.cookie("show_summary_"+$("#assignment_id").html(),!1,{expires:30}),$(".show_summary_"+$("#assignment_id").html()).show(),$(".hide_summary_"+$("#assignment_id").html()).hide(),$(".introduction").slideUp())})),0<$(".toggle_peermarks").length&&($.cookie("show_peermarks_"+$("#assignment_id").html())||$.cookie("show_peermarks_"+$("#assignment_id").html(),!0,{expires:30}),"true"==$.cookie("show_peermarks_"+$("#assignment_id").html())?($(".hide_peermarks_"+$("#assignment_id").html()).show(),$(".show_peermarks_"+$("#assignment_id").html()).hide(),$(".peermark_assignments_container").slideDown()):($(".show_peermarks_"+$("#assignment_id").html()).show(),$(".hide_peermarks_"+$("#assignment_id").html()).hide(),$(".peermark_assignments_container").slideUp()),$(".toggle_peermarks i").click(function(){$(this).hasClass("show_peermarks_"+$("#assignment_id").html())?($.cookie("show_peermarks_"+$("#assignment_id").html(),!0,{expires:30}),$(".show_peermarks_"+$("#assignment_id").html()).hide(),$(".hide_peermarks_"+$("#assignment_id").html()).show(),$(".peermark_assignments_container").slideDown()):($.cookie("show_peermarks_"+$("#assignment_id").html(),!1,{expires:30}),$(".show_peermarks_"+$("#assignment_id").html()).show(),$(".hide_peermarks_"+$("#assignment_id").html()).hide(),$(".peermark_assignments_container").slideUp())})),$(document).on("click",".show_peermark_instructions, .hide_peermark_instructions",function(){var i=$(this).attr("id").split("_");"show"==i[0]?($("#show_peermark_instructions_"+i[3]).hide(),$("#hide_peermark_instructions_"+i[3]).show(),$("#peermark_instructions_"+i[3]).slideDown()):($("#show_peermark_instructions_"+i[3]).show(),$("#hide_peermark_instructions_"+i[3]).hide(),$("#peermark_instructions_"+i[3]).slideUp())}),showPartDatesBoxes(),$(document).on("change","#id_numparts",function(){showPartDatesBoxes()}),$(document).on("click",".splitter-lastname, .splitter-firstname",function(i){var t=$(i.target),e=t.hasClass("sorting_asc"),s="asc",n="desc",i=t.attr("data-col");e||(s="desc",n="asc"),t.closest(".mod_turnitintooltwo_submissions_data_table").DataTable().order([i,n]).draw(),t.addClass("sorting_"+n).removeClass("sorting sorting_"+s),t.parent().removeClass("sorting sorting_asc sorting_desc"),t.siblings().removeClass("sorting_asc sorting_desc").addClass("sorting")}),0<$("#dataTable").length&&$("#dataTable").dataTable(),void 0!==M.str.turnitintooltwo&&(dataTablesLang={sProcessing:''+M.str.turnitintooltwo.sprocessing+"",sZeroRecords:M.str.turnitintooltwo.szerorecords,sInfo:M.str.turnitintooltwo.sinfo,sSearch:M.str.turnitintooltwo.ssearch,sLengthMenu:M.str.turnitintooltwo.slengthmenu,oPaginate:{sNext:M.str.turnitintooltwo.snext,sPrevious:M.str.turnitintooltwo.sprevious}}),0<$("#tabs").length&&(activeTab=0,0<$("#tab_position").length&&(activeTab=$("#tab_position").text()),$("#tabs").tabs({active:activeTab,show:function(){var i=$.fn.dataTable.fnTables(!0);0><"dt_pagination clearfix"pi>t<"bottom"><"dt_pagination clearfix"pi>',fnServerData:function(i,t,e){$.ajax({dataType:"json",type:"POST",url:i,data:{action:"initialise_redraw"},success:function(i){disableEditingText(s),e(i),$("#"+s+"_processing").attr("style","visibility: visible"),getSubmissions(partTables[s],$("#assignment_id").html(),s,0,refreshRequested,0)}})},bStateSave:!0,fnStateSave:function(i,t){try{localStorage.setItem(s+"DataTables",JSON.stringify(t))}catch(i){}},fnStateSaveParams:function(i,t){t.abVisCols=visibleCols},fnStateLoad:function(i){try{return JSON.parse(localStorage.getItem(s+"DataTables"))}catch(i){}},fnStateLoadParams:function(i,t){t.abVisCols=visibleCols},fnDrawCallback:function(i){initialiseDigitalReceipt(),initialiseDVLaunchers("all",0,s,0),initialiseRefreshRow("all",0,s,0),initialiseUploadBox("all",0,0,0),initialiseZipDownloads(s),initialiseCheckboxes(0,s),initialiseUnanoymiseForm("all",0,0)}})}),$("table.mod_turnitintooltwo_submissions_data_table").each(function(){refreshPeermarkAssignments($(this).attr("id"),0)}),0<$(".messages_amount").length&&refreshUserMessages(),$(".tii_table_functions").each(function(){var i=$(this).attr("id").split("tii_table_functions_")[1],t=$("#tii_table_functions_"+i).html();$("#tii_table_functions_"+i).remove(),$("#"+i+"_length").after(t),$(".mod_turnitintooltwo_messages_inbox").show(),$("#refresh_"+i).show(),$("#refreshing_"+i).hide()});var zip_downloads=$(".mod_turnitintooltwo_zip_downloads"),theDate;function enableEditingText(i){$("#tabs-"+i+" .editable_date, #tabs-"+i+" .editable_text").editable("enable")}function disableEditingText(i){$("#tabs-"+i+" .editable_date, #tabs-"+i+" .editable_text").editable("disable")}function getLoadingGif(){$("#cboxOverlay").after('
');var i=$(window).scrollTop()+$(window).height()/2;$(".loading_gif").css("top",i+"px")}function hideLoadingGif(){$(".loading_gif").remove()}function getSubmissions(table,assignment_id,part_id,start,refresh_requested,total){$.ajax({dataType:"json",type:"POST",url:"ajax.php",async:!0,data:{action:"get_submissions",assignment:assignment_id,part:part_id,start:start,refresh_requested:refresh_requested[part_id],sesskey:M.cfg.sesskey,total:total},success:function(result){var allrefreshed;eval(result),start=result.end,0$(".mod_turnitintooltwo_submissions_data_table .refresh_row").length&&$(".mod_turnitintooltwo_nonsubmitters_link").attr("style","display: block"))},error:function(i,t){$("#"+part_id+"_processing").attr("style","visibility: hidden"),$(".dataTables_empty").html(M.str.turnitintooltwo.tiisubmissionsgeterror)}})}function submitVisibility(){1==$(".upload_box").data("user-type")||1==$(".upload_box").data("eula")?$(".upload_box").show():$(".upload_box").hide()}function refreshRubricSelect(){var e=$("#id_rubric").length?"#id_rubric":"#id_plagiarism_rubric",t=$(e).val();$.ajax({dataType:"json",type:"POST",url:"../mod/turnitintooltwo/ajax.php",data:{action:"refresh_rubric_select",assignment:$('input[name="instance"]').val(),modulename:$('input[name="modulename"]').val(),course:$('input[name="course"]').val()},success:function(i){$($(e)).empty(),$.each(i,function(i,t){var s;$.isNumeric(i)||""===i?$($(e)).append($("")).attr("label",i),$.each(t,function(i,t){var e=$("");e.val(i),e.text(t),s.append(e)}),$(e).append(s))}),$(e+' option[value="'+t+'"]').attr("selected","selected")}})}function refreshUserMessages(){$(".mod_turnitintooltwo_messages_loading").show(),$(".messages_amount").html(""),$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"refresh_user_messages",assignment:$("#assignment_id").html()},success:function(i){$(".mod_turnitintooltwo_messages_loading").hide(),$(".messages_amount").html(i)}})}function resetPeermarkSection(i){$("#tabs-"+i+" .toggle_peermarks").hide(),$("#tabs-"+i+" .peermark_count").html(""),$("#tabs-"+i+" .peermark-loading").show(),$("#tabs-"+i+" .peermark_assignments_container").hide()}function refreshPeermarkAssignments(part_id,refresh_requested){var user_role=0<$(".tii_peermark_manager_launch").length?"Instructor":"Learner";0<$("#tabs-"+part_id+" .peermark_assignments_container").length&&(resetPeermarkSection(part_id),$.ajax({dataType:"json",type:"POST",url:"ajax.php",data:{action:"refresh_peermark_assignments",assignment:$("#assignment_id").html(),part:part_id,refresh_requested:refresh_requested,sesskey:M.cfg.sesskey},success:function(data){eval(data),$("#tabs-"+part_id+" .peermark_assignments_container").html(data.peermark_table),$("#tabs-"+part_id+" .peermark-loading").hide(),$("#tabs-"+part_id+" .peermark_count").html(data.no_of_peermarks),0'+M.str.turnitintooltwo.closebutton+""),window.addEventListener("message",handleCloseModalMessage)}function initialiseDigitalReceipt(){0<$(".mod_turnitintooltwo_digital_receipt").length&&$(".mod_turnitintooltwo_digital_receipt").colorbox({iframe:!0,width:"832px",height:"482px",opacity:"0.7",className:"rubric_view",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}})}function initialiseHiddenZipDownloads(t){$("#tabs-"+t+" .mod_turnitintooltwo_origchecked_zip_open").unbind("click"),$("#tabs-"+t+" .mod_turnitintooltwo_origchecked_zip_open").click(function(){var i=$(this).attr("id").split("_");return downloadZipFile(i[0]+"_"+i[1],t),!1})}function initialiseRefreshRow(i,t,e,s){s="row"==i?"#refreshrow_"+t+"_"+e+"_"+s+" .fa-refresh":".refresh_row .fa-refresh";$(s).unbind("click"),$(s).click(function(){$(this).hide(),$(this).siblings(".fa-spinner").css("display","inline-block").addClass("fa-lg");var i=$(this).parent().attr("id").split("_");refreshInboxRow(i[0],i[1],i[2],i[3])})}function initialiseDVLaunchers(i,t,e,s){e="row"==i?"#downloadoriginal_"+t+"_"+e+"_"+s:"#"+e+" .download_original_open";$(e).unbind("click"),$(e).click(function(){var i=$(this).attr("id").split("_");$(this).children(".score_colour").hasClass("score_colour_")||downloadOriginalFile(i[0],i[1],i[2],i[3])})}function downloadZipFile(t,e){var s=[];"origchecked_zip"!=t&&"gmpdf_zip"!=t||$("#tabs-"+e+" .inbox_checkbox:checked").each(function(i){s[i]=$(this).val()}),$.ajax({type:"POST",url:"ajax.php",dataType:"html",data:{action:t,assignment:$("#assignment_id").html(),part:e,submission_ids:s},success:function(i){$("#"+t+"_form_"+e).html(i),$("#"+t+"_form_"+e).children("form").submit(),$("#"+t+"_form_"+e).html("")}})}function downloadOriginalFile(t,e,i,s){$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"html",data:{action:t,submission:e,assignment:$("#assignment_id").html()},success:function(i){$("#"+t+"_form_"+e).html(i),$("#"+t+"_form_"+e).children("form").submit(),$("#"+t+"_form_"+e).html("")}})}function checkDVClosed(i){window.dvWindow.closed?$("#refresh_"+i).click():setTimeout(function(){checkDVClosed(i)},500)}function submitNothing(user_id,part_id){$("#submitnothing_0_"+part_id+"_"+user_id+" i").attr("class","fa fa-spin fa-spinner fa-lg"),$.ajax({type:"POST",url:"ajax.php",dataType:"json",data:{action:"submit_nothing",assignment:$("#assignment_id").html(),part:part_id,user:user_id,sesskey:M.cfg.sesskey},success:function(data){eval(data),$.cookie("submitnothingaccept",!0,{expires:365}),$("table#"+part_id+" .select_all_checkbox").attr("checked",!1)},error:function(i){$("#submitnothing_0_"+part_id+"_"+user_id+" i").attr("class","fa fa-pencil fa-lg"),$("#submitnothing_0_"+part_id+"_"+user_id).removeClass("disabled"),alert(i.responseText)},complete:function(){refreshInboxRow("submitnothing",0,part_id,user_id)}})}function refreshInboxRow(link,submission_id,part_id,user_id){$.ajax({type:"POST",url:"ajax.php",dataType:"json",data:{action:"refresh_submission_row",assignment:$("#assignment_id").html(),part:part_id,user:user_id,sesskey:M.cfg.sesskey},success:function(data){$("table#"+part_id+" .select_all_checkbox").attr("checked",!1),eval(data);var i=0;0==submission_id?(link+="_0",submission_id=data.submission_id):link=null==data.submission_id&&0!=submission_id?link+"_"+submission_id:link+"_"+data.submission_id,0!=submission_id&&$("#export_links").removeClass("hidden_class"),oTable=$("table#"+part_id).dataTable();var tr=$("#"+link+"_"+part_id+"_"+user_id).parent().parent(),rowindex=tr.index();oTable.fnDeleteRow(tr),oTable.fnAddData(data.row),submitVisibility(),initialiseUploadBox("row",data.submission_id,part_id,user_id),initialiseDVLaunchers("row",data.submission_id,part_id,user_id),initialiseRefreshRow("row",data.submission_id,part_id,user_id),initialiseCheckboxes(data.submission_id,part_id),initialiseUnanoymiseForm("row",$("#assignment_id").html(),data.submission_id)}})}function initialiseCheckboxes(i,t){i=0!=i?"check_"+i:"#tabs-"+t+" .inbox_checkbox";$("#tabs-"+t+" .inbox_checkbox").click(function(){$("table#"+t+" .select_all_checkbox").attr("checked",!1)}),$(document).on("click",i+", .select_all_checkbox",function(){0<$("#tabs-"+t+" .inbox_checkbox:checked").length?($("#tabs-"+t+" .mod_turnitintooltwo_zip_downloads button").prop("disabled",!1),$("#tabs-"+t+" .mod_turnitintooltwo_zip_downloads button").removeAttr("title"),initialiseHiddenZipDownloads(t)):($("#tabs-"+t+" .mod_turnitintooltwo_origchecked_zip_open").unbind("click"),$("#tabs-"+t+" .mod_turnitintooltwo_zip_downloads button").prop("disabled",!0),$("#tabs-"+t+" .mod_turnitintooltwo_zip_downloads button").prop("title",M.str.turnitintooltwo.download_button_warning))})}function showPartDatesBoxes(){for(var i=0;i<=5;i++)i<=$("#id_numparts").val()?$('fieldset[id$="partdates'+i+'"]').slideDown():$('fieldset[id$="partdates'+i+'"]').slideUp()}$.each(zip_downloads,function(){var i=$(this).attr("id").split("_")[1];$(this).remove(),$("#"+i+"_length").after($(this))}),"Learner"==$("#user_role").html()&&$(".dataTables_length, .dataTables_filter, .dt_pagination").hide(),$(".mod_turnitintooltwo_refresh_link").click(function(){return $(this).is(":visible")&&($(".mod_turnitintooltwo_refresh_link").hide(),$(".mod_turnitintooltwo_refreshing_link").show(),$("table.mod_turnitintooltwo_submissions_data_table").each(function(){refreshRequested[$(this).attr("id")]=1,partTables[$(this).attr("id")].fnReloadAjax(),partTables[$(this).attr("id")].fnStandingRedraw()})),!1}),0<$("#turnitin_sync_all_grades").length&&$(".turnitin_sync_grades").click(function(){$(".turnitin_sync_grades").hide(),$(".turnitin_syncing_grades").show(),$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"json",data:{action:"sync_all_submissions",assignment:$("#turnitin_sync_all_grades").data("turnitintooltwoid"),sesskey:M.cfg.sesskey},success:function(i){$(".turnitin_sync_grades").show(),$(".turnitin_syncing_grades").hide()}})}),0<$(".submission_failure_msg").length&&window.parent.$(".upload_box").colorbox.resize({width:"800px",height:"240px"}),$(".enrol_link").click(function(){$("#enrolling_error").hide(),$(".enrol_link").hide(),$(".enrolling_container").show(),$.ajax({type:"POST",url:"ajax.php",dataType:"html",data:{action:"enrol_all_students",assignment:$("#assignment_id").html(),sesskey:M.cfg.sesskey},success:function(i){window.location.href=window.location.href},error:function(i,t){$(".enrol_link").show(),$(".enrolling_container").hide(),$("#enrolling_error").show()}})}),0<$(".mod_turnitintooltwo_rubric_manager_launch").length&&$(".mod_turnitintooltwo_rubric_manager_launch").colorbox({iframe:!0,width:"832px",height:"682px",opacity:"0.7",className:"rubric_manager",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){hideLoadingGif(),"rubric_manager_inbox_launch"!=$(this).attr("id")&&refreshRubricSelect(),$("#tii_close_bar").remove()}}),0<$(".mod_turnitintooltwo_rubric_view_launch").length&&$(".mod_turnitintooltwo_rubric_view_launch").colorbox({iframe:!0,width:"832px",height:"682px",opacity:"0.7",className:"rubric_view",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),$("#id_rubric, #id_plagiarism_rubric").mousedown(function(){""!=$('input[name="instance"]').val()&&"Y"!=$('input[name="rubric_warning_seen"]').val()&&confirm(M.str.turnitintooltwo.changerubricwarning)&&$('input[name="rubric_warning_seen"]').val("Y")}),0<$(".mod_turnitintooltwo_quickmark_manager_launch").length&&$(".mod_turnitintooltwo_quickmark_manager_launch").colorbox({iframe:!0,width:"770px",height:"600px",opacity:"0.7",className:"quickmark_manager",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),0<$(".tii_peermark_manager_launch").length&&$(".tii_peermark_manager_launch").colorbox({iframe:!0,width:"915px",height:"772px",opacity:"0.7",className:"peermark_manager",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()},onClosed:function(){refreshPeermarkAssignments($(this).attr("id").split("_")[2],1)}}),0<$(".tii_peermark_reviews_launch").length&&$(".tii_peermark_reviews_launch").colorbox({iframe:!0,width:"915px",height:"772px",opacity:"0.7",className:"peermark_reviews",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),0<$(".mod_turnitintooltwo_messages_inbox").length&&$(".mod_turnitintooltwo_messages_inbox").colorbox({iframe:!0,width:"772px",height:"772px",opacity:"0.7",className:"messages",transition:"none",closeButton:!0,onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),0<$(".mod_turnitintooltwo_nonsubmitters_link").length&&$(".mod_turnitintooltwo_nonsubmitters_link").colorbox({iframe:!0,width:"740px",height:"540px",opacity:"0.7",className:"nonsubmitters",transition:"none",closeButton:!0,onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),0<$(".mod_turnitintooltwo_nonsubmittersformsuccessmsg").length&&(hideLoadingGif(),window.parent.$(".nonsubmitters").colorbox.resize({width:"740px",height:"120px"})),0<$(".mod_turnitintooltwo_rubric_view_launch").length&&$(".mod_turnitintooltwo_rubric_view_launch").colorbox({iframe:!0,width:"832px",height:"682px",opacity:"0.7",className:"rubric_view",transition:"none",onLoad:function(){lightBoxCloseButton(),getLoadingGif()},onCleanup:function(){$("#tii_close_bar").remove(),hideLoadingGif()}}),$(document).on("click",".default_open, .origreport_open, .grademark_open",function(){var t,i=!0,e=$(this).attr("id").split("_"),s=$("#date_due_"+e[2]).html(),n=moment(s).unix(),o=e[0],s=e[1],a=e[2];n>moment().unix()&&$(this).hasClass("graded_warning")&&(confirm(M.str.turnitintooltwo.resubmissiongradewarn)||(i=!1)),i&&(dvWindow=window.open("","_blank"),t='
',t+='',t+='

'+M.str.turnitintooltwo.loadingdv+"

",t+="
",$(dvWindow.document.body).html(t),$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"json",data:{action:o,submission:s,assignment:$("#assignment_id").html()},success:function(i){$(dvWindow.document.body).html(t+i),dvWindow.document.forms[0].submit(),dvWindow.document.close(),checkDVClosed(a)}}))}),0<$("#id_rubric").length&&refreshRubricSelect(),self!=top&&"box"==$("#view_context").html()?$("html").css("background","none"):self!=top&&"box_solid"==$("#view_context").html()&&$("html").css("background","#FFF"),$(".editable_postdue").on("click",function(){1==$(this).data("anon")&&alert(M.str.turnitintooltwo.postdate_warning)}),$(".max_marks_warning").on("click",function(){alert(M.str.turnitintooltwo.max_marks_warning)}),0<$(".editable_text").length&&($.fn.editable.defaults.mode="inline",$.fn.editable.defaults.url="ajax.php",$.fn.editable.defaults.onblur="submit",$.fn.editable.defaults.showbuttons=!1,$.fn.editable.defaults.ajaxOptions={dataType:"json"},$(".editable_text").editable({validate:function(i){if(0<=$(this).attr("id").indexOf("marks_")&&(Math.floor(i)!=i||!$.isNumeric(i)||-1!=i.indexOf(".")))return M.str.turnitintooltwo.maxmarkserror},success:function(i,t){if(!i.success)return i.msg;"maxmarks"==i.field?($("#refresh_"+i.partid).click(),$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"json",data:{action:"sync_all_submissions",assignment:$("#assignment_id").html(),sesskey:M.cfg.sesskey}})):"partname"==i.field&&(i=$(this).parentsUntil(".ui-tabs-panel").parent().attr("aria-labelledby"),$("#"+i).text(t))}}),$("#export_options").hasClass("tii_export_options_hide")&&($("#export_options").hide(),$(".export_data").html('--')),$(".editable_postdue").on("click",function(){var t=$(this);$.ajax({type:"POST",url:"ajax.php",dataType:"json",data:{action:"check_anon",part:t.data("pk"),assignment:$("#assignment_id").html()},success:function(i){t.data("anon",i.anon),t.data("unanon",i.unanon),t.data("submitted",i.submitted)}})}),theDate=new Date,$(".editable_date").editable({type:"combodate",format:"YYYY-MM-DD HH:mm",viewformat:"D MMM YYYY, HH:mm",template:"D MMM YYYY HH:mm",combodate:{minuteStep:1,minYear:2e3,maxYear:theDate.getFullYear()+2,smartDays:!0},validate:function(i){if(i.format("X")--')):($(".empty-dash").remove(),$("#export_options").show())}}),$(".editable_date").click(function(){if($(this).hasClass("editable-disabled"))return!1}),$(".editable_date, .editable_text").on("shown",function(i,t){var e=$(this).prop("id");$(".editable_date, .editable_text").not("#"+e).editable("disable"),$(".submit_nothing").addClass("disabled")}),$(".editable_date, .editable_text").on("hidden",function(){var i=$(this).prop("id");$(".editable_date, .editable_text").not("#"+i).editable("enable"),$(".submit_nothing").removeClass("disabled")})),$("#inbox_form form, .launch_form form").submit(),0<$(".turnitin_eula_link").length&&$(".turnitin_eula_link").colorbox({iframe:!0,width:"766px",height:"596px",opacity:"0.7",className:"eula_view",scrolling:"false",onLoad:function(){getLoadingGif()},onComplete:function(){$(window).on("message",function(i){i=(void 0===i.data?i.originalEvent:i).data;"turnitin_eula_declined"!=i&&"turnitin_eula_accepted"!=i||$.ajax({type:"POST",url:M.cfg.wwwroot+"/mod/turnitintooltwo/ajax.php",dataType:"json",data:{action:"acceptuseragreement",message:i,sesskey:M.cfg.sesskey},success:function(i){window.location.reload()},error:function(i){window.location.reload()}})})},onCleanup:function(){hideLoadingGif()}}),$("#mod_turnitintooltwo_receipt_print").click(function(){window.print()}),$(".select_all_checkbox").on("click",function(){var i=$(this).parent().parent().parent().parent().attr("id");$(this).is(":checked")?($("#"+i+" .inbox_checkbox").length&&($("#tabs-"+i+" .mod_turnitintooltwo_zip_downloads button").prop("disabled",!1),$("#tabs-"+i+" .mod_turnitintooltwo_zip_downloads button").removeAttr("title")),$("#"+i+" .inbox_checkbox").each(function(){$(this).prop("checked",!0)})):($("#"+i+" .inbox_checkbox").each(function(){$(this).prop("checked",!1)}),$("#"+i+" .inbox_checkbox").length&&($("#tabs-"+i+" .mod_turnitintooltwo_zip_downloads button").prop("disabled",!0),$("#tabs-"+i+" .mod_turnitintooltwo_zip_downloads button").prop("title",M.str.turnitintooltwo.download_button_warning)))}),$("[id^=fitem_id_dtpost] select").change(function(){var i=$(this).parent().parent().parent();buildUnixDate("#fitem_id_dtpost",i.data("partId"))rt<"bottom"irp><"clear">',aoColumns:[{bSortable:!1,bSearchable:!1,fnCreatedCell:function(e,t,a,s,i){$(e).addClass("centered_cell")}},{bSortable:!0,sClass:"centered_cell",bSearchable:!1},{bSortable:!0,bSearchable:!0},{bSortable:!0,sClass:"centered_cell",bSearchable:!1}],fnDrawCallback:function(){$('input[name="selectallcb"]').attr("checked",!1)}}),$("#migrationTable_filter input").attr("placeholder","Search"),$("#filesTable").dataTable({bDestroy:!0,bProcessing:!0,bServerSide:!1,oLanguage:dataTablesLang,sAjaxSource:"ajax.php?action=get_files",aoColumns:[null,null,null,{sClass:"filename c0",sWidth:"40%"},null,{sClass:"fullname c1",sWidth:"35%"},null,{sClass:"created c2",sWidth:"22%"},{sClass:"remove c3",sWidth:"3%"}],aoColumnDefs:[{bSearchable:!0,bVisible:!1,aTargets:[0]},{bSearchable:!0,bVisible:!1,aTargets:[1]},{bSearchable:!0,bVisible:!1,aTargets:[2]},{bSearchable:!0,bVisible:!0,aTargets:[3]},{bSearchable:!0,bVisible:!1,aTargets:[4]},{bSearchable:!0,bVisible:!0,aTargets:[5]},{bSearchable:!0,bVisible:!1,aTargets:[6]},{bSearchable:!0,bVisible:!0,aTargets:[7]},{bSearchable:!0,bVisible:!0,aTargets:[8]}],fnDrawCallback:function(e){if(0!=e.aiDisplay.length)for(var t=$("#filesTable tbody tr"),a=t[0].getElementsByTagName("td").length,s="",i=0;iip'}),$.datepicker.regional[""].dateFormat="d M yy",$.datepicker.setDefaults($.datepicker.regional[""]),$("#mod_turnitintooltwo_course_browser_table").dataTable({bProcessing:!0,oLanguage:dataTablesLang,aaSorting:[[6,"asc"]],sAjaxSource:"ajax.php",aoColumnDefs:[{bSearchable:!1,bSortable:!1,sWidth:"5%",bVisible:!0,aTargets:[0],fnCreatedCell:function(e){$(e).addClass("center")}},{bSearchable:!0,bVisible:!0,sWidth:"45%",iDataSort:6,aTargets:[1]},{bSearchable:!0,bVisible:!0,sWidth:"10%",aTargets:[2]},{bSearchable:!0,bVisible:!0,sWidth:"20%",iDataSort:7,aTargets:[3],fnCreatedCell:function(e){$(e).addClass("right")}},{bSearchable:!1,bVisible:!0,sWidth:"10%",aTargets:[4],fnCreatedCell:function(e){$(e).addClass("right")}},{bSearchable:!0,bVisible:!0,sWidth:"10%",aTargets:[5],fnCreatedCell:function(e){$(e).addClass("center")}},{bSearchable:!0,bVisible:!1,aTargets:[6]},{bSearchable:!0,bVisible:!1,aTargets:[7]}],fnServerData:function(e,t,a){$.ajax({dataType:"json",type:"POST",url:e,data:{action:"search_classes",course_title:$("#search_course_title").val(),course_integration:$("#search_course_integration").val(),course_end_date:$("#search_course_end_date").val(),sesskey:M.cfg.sesskey},success:function(e){a(e)}})},bStateSave:!0,fnStateSave:function(e,t){try{localStorage.setItem(uid+"DataTables",JSON.stringify(t))}catch(e){}},fnStateLoad:function(e){try{return JSON.parse(localStorage.getItem(uid+"DataTables"))}catch(e){}},fnDrawCallback:function(){$('input[name="selectallcb"]').attr("checked",!1),initialiseCourseRecreation(),initialiseEditEndDate(),$("#search_courses_button").removeAttr("disabled")}})),oTable=($("#search_courses_button").click(function(){return $(this).attr("disabled","disabled"),courseBrowserTable.fnReloadAjax(),courseBrowserTable.fnStandingRedraw(),!1}),$("#search_course_end_date").datepicker(),$("#assignmentBrowserTable").dataTable({bProcessing:!0,oLanguage:dataTablesLang,sAjaxSource:"ajax.php",fnServerData:function(sSource,aoData,fnCallback){$("#id_create_course").attr("disabled","disabled"),$("#id_update_course").attr("disabled","disabled"),0<$("#assignmentBrowserTable").length&&$(".side-pre-only #page-content #region-main").css({"margin-left":"0px"}),$("#id_assignmentname").attr("disabled","disabled"),$("#id_create_assignment").attr("disabled","disabled"),$.ajax({dataType:"json",type:"POST",url:sSource,data:{action:"get_assignments",tii_course_id:$("#tii_course_id").html(),sesskey:M.cfg.sesskey},success:function(result){eval(result),initialiseCourseBrowserButtons(oTable),fnCallback(result),"0"!=$("#course_id").html()&&0'+M.str.turnitintooltwo.closebutton+"")}function initialiseCourseRecreation(){var e="80%";$(window).width()<1e3&&(e="860px");var t=$(window).width()<700?"600px":"80%";$("a.course_recreate").colorbox({iframe:!0,width:e,height:t,top:"100px",className:"migration",opacity:"0.7",onLoad:function(){lightBoxCloseButton()},onCleanup:function(){$("#tii_close_bar").remove()}}),$(".browser_checkbox").click(function(){0<$(".browser_checkbox:checked").length?$(".create_checkboxes").slideDown():$(".create_checkboxes").slideUp()})}function initialiseCourseBrowserButtons(t){$("#id_create_course").click(function(){$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"create_course",tii_course_id:$("#tii_course_id").html(),tii_course_name:encodeURIComponent($("#tii_course_name").html()),course_name:encodeURIComponent($("#id_coursename").val()),course_category:$("#id_coursecategory").val(),sesskey:M.cfg.sesskey},success:function(e){hideCourseCreationOptions(jQuery.parseJSON(e),t)}})}),$("#id_update_course").click(function(){$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"link_course",tii_course_id:$("#tii_course_id").html(),tii_course_name:$("#tii_course_name").html(),course_to_link:$("#id_coursetolink").val(),sesskey:M.cfg.sesskey},success:function(e){hideCourseCreationOptions(jQuery.parseJSON(e),t)}})})}function hideCourseCreationOptions(e,t){var a;0!=e&&($("#course_id").html(e.courseid),a='input[name="check_'+$("#tii_course_id").html()+'"]',parent.$(a).hide(),a="#tick_"+$("#tii_course_id").html(),parent.$(a).show(),$('fieldset[id$="create_course_fieldset"]').parent().slideToggle(),$('fieldset[id$="update_course_fieldset"]').parent().slideToggle(),$("#or_container").hide(),$("#existing_course_title_span").html(e.coursename),$(".existing_course_title_h3").removeClass("hidden_class"),0<$(".assignmentids_check").length&&($(".assignmentids_check").removeAttr("disabled"),$("#id_assignmentname").removeAttr("disabled"),$("#id_create_assignment").removeAttr("disabled")),$(".assignmentids_check").change(function(){5<=$(".assignmentids_check").filter(":checked").length?$(".assignmentids_check").not(":checked").attr("disabled","disabled"):$(".assignmentids_check").removeAttr("disabled")}),initialiseCreateAssignmentButton(t))}function initialiseCreateAssignmentButton(a){$("#id_create_assignment").unbind("click"),$("#id_create_assignment").click(function(){var t="";$(".assignmentids_check:checked").each(function(e){t+=$(this).val()+","}),","==t.charAt(t.length-1)&&t.substring(0,t.length-1),$("#id_create_assignment").attr("disabled","disabled"),$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"create_assignment",course_id:$("#course_id").html(),assignment_name:$("#id_assignmentname").val(),parts:t,sesskey:M.cfg.sesskey},success:function(e){a.fnReloadAjax(),a.fnStandingRedraw(),$("#id_assignmentname").removeAttr("disabled"),$("#id_create_assignment").removeAttr("disabled"),$(".assignmentids_check").removeAttr("disabled")}})})}$("#create_classes_button").colorbox({iframe:!0,width:"60%",top:"200px",height:"124px",opacity:"0.7",className:"course_creation",href:function(){var e=$(".create_course_category").val(),t=$(".create_assignment_checkbox").is(":checked")?"1":"0",a="";return $(".browser_checkbox:checked").each(function(e){a+="&class_id"+e+"="+$(this).val(),e++}),window.location.href.replace("cmd=courses","cmd=multiple_class_recreation")+"&view_context=box&category="+e+"&assignments="+t+a+"&sesskey="+M.cfg.sesskey},onCleanup:function(){window.location=window.location}}),0<$("#class_ids").length&&($(".side-pre-only #page-content #region-main").css({"margin-left":"0px"}),$(".has-region-side-pre #page-content #region-main").css({width:"100%","margin-top":"-30px"}),class_ids=$("#class_ids").html(),$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"create_courses",class_ids:class_ids,course_category:$("#course_category").html(),create_assignments:$("#create_assignments").html(),sesskey:M.cfg.sesskey},success:function(e){$("#course_creation_status").html(e)}}))}); \ No newline at end of file +jQuery(document).ready(function($){$(".mod_turnitintooltwo_submissions_data_table thead tr, #mod_turnitintooltwo_course_browser_table thead tr").toggleClass("header");var dataTablesLang={nointegration:M.str.turnitintooltwo.nointegration,sProcessing:M.str.turnitintooltwo.sprocessing,sZeroRecords:M.str.turnitintooltwo.szerorecords,sInfo:M.str.turnitintooltwo.sinfo,sSearch:M.str.turnitintooltwo.ssearch,sLengthMenu:M.str.turnitintooltwo.slengthmenu,sInfoEmpty:M.str.turnitintooltwo.semptytable,oPaginate:{sNext:M.str.turnitintooltwo.snext,sPrevious:M.str.turnitintooltwo.sprevious}},dataTablesLangMigration={nointegration:M.str.turnitintooltwo.nointegration,sProcessing:M.str.turnitintooltwo.sprocessing,sZeroRecords:M.str.turnitintooltwo.szerorecords,sInfo:M.str.turnitintooltwo.sinfo,sSearch:"",sLengthMenu:M.str.turnitintooltwo.slengthmigrationmenu,sInfoEmpty:M.str.turnitintooltwo.semptytable,oPaginate:{sNext:M.str.turnitintooltwo.snext,sPrevious:M.str.turnitintooltwo.sprevious}};$("#unlinkUserTable").dataTable({bDestroy:!0,bProcessing:!0,bServerSide:!1,oLanguage:dataTablesLang,aaSorting:[[2,"asc"]],aLengthMenu:[[10,25,50,100,-1],[10,25,50,100,"All"]],sAjaxSource:"ajax.php?action=get_users",aoColumns:[{bSortable:!1,fnCreatedCell:function(e,t,a,s,i){$(e).addClass("centered_cell")}},null,{aDataSort:[2,3]},{aDataSort:[3,2]},null],fnDrawCallback:function(){$('input[name="selectallcb"]').attr("checked",!1)}}),"0"==$("#sametiiaccount").data("sametiiaccount")&&($('select[name="enablemigrationtool"]').attr("disabled","disabled"),$('select[name="enablemigrationtool"]').closest("form").find('input[name="submitbutton"]').attr("disabled","disabled")),$('input[name="selectallcb"]').closest("form").find('input[name="submitbutton"]').attr("disabled","disabled"),$(document).on("click",'#migrationTable input[name="selectallcb"], #migrationTable .browser_checkbox',function(){0<$("#migrationTable .browser_checkbox:checked").length?$("#migrationTable .browser_checkbox").closest("form").find('input[name="submitbutton"]').removeAttr("disabled"):$("#migrationTable .browser_checkbox").closest("form").find('input[name="submitbutton"]').attr("disabled","disabled")});var submitbutton=$("#migrationTable").closest("form").find('input[name="submitbutton"]');submitbutton.click(function(e){e.preventDefault();e=M.str.turnitintooltwo.confirmv1deletetitle+"\n\n";e+=M.util.get_string("confirmv1deletetext","turnitintooltwo",$("#migrationTable .browser_checkbox:checked").length)+"\n\n",e+=M.str.turnitintooltwo.confirmv1deletewarning,confirm(e)&&$("#migrationTable").closest("form").submit()}),$("#migrationTable").dataTable({bDestroy:!0,bProcessing:!0,bServerSide:!1,oLanguage:dataTablesLangMigration,aaSorting:[[2,"asc"]],aLengthMenu:[[10,25,50,100,-1],[10,25,50,100,"All"]],sAjaxSource:"ajax.php?action=get_migration_assignments",sDom:'<"top"lf>rt<"bottom"irp><"clear">',aoColumns:[{bSortable:!1,bSearchable:!1,fnCreatedCell:function(e,t,a,s,i){$(e).addClass("centered_cell")}},{bSortable:!0,sClass:"centered_cell",bSearchable:!1},{bSortable:!0,bSearchable:!0},{bSortable:!0,sClass:"centered_cell",bSearchable:!1}],fnDrawCallback:function(){$('input[name="selectallcb"]').attr("checked",!1)}}),$("#migrationTable_filter input").attr("placeholder","Search"),$("#filesTable").dataTable({bDestroy:!0,bProcessing:!0,bServerSide:!1,oLanguage:dataTablesLang,sAjaxSource:"ajax.php?action=get_files",aoColumns:[null,null,null,{sClass:"filename c0",sWidth:"40%"},null,{sClass:"fullname c1",sWidth:"35%"},null,{sClass:"created c2",sWidth:"22%"},{sClass:"remove c3",sWidth:"3%"}],aoColumnDefs:[{bSearchable:!0,bVisible:!1,aTargets:[0]},{bSearchable:!0,bVisible:!1,aTargets:[1]},{bSearchable:!0,bVisible:!1,aTargets:[2]},{bSearchable:!0,bVisible:!0,aTargets:[3]},{bSearchable:!0,bVisible:!1,aTargets:[4]},{bSearchable:!0,bVisible:!0,aTargets:[5]},{bSearchable:!0,bVisible:!1,aTargets:[6]},{bSearchable:!0,bVisible:!0,aTargets:[7]},{bSearchable:!0,bVisible:!0,aTargets:[8]}],fnDrawCallback:function(e){if(0!=e.aiDisplay.length)for(var t=$("#filesTable tbody tr"),a=t[0].getElementsByTagName("td").length,s="",i=0;iip'}),$.datepicker.regional[""].dateFormat="d M yy",$.datepicker.setDefaults($.datepicker.regional[""]);var courseBrowserTable=$("#mod_turnitintooltwo_course_browser_table").dataTable({bProcessing:!0,oLanguage:dataTablesLang,aaSorting:[[6,"asc"]],sAjaxSource:"ajax.php",aoColumnDefs:[{bSearchable:!1,bSortable:!1,sWidth:"5%",bVisible:!0,aTargets:[0],fnCreatedCell:function(e){$(e).addClass("center")}},{bSearchable:!0,bVisible:!0,sWidth:"45%",iDataSort:6,aTargets:[1]},{bSearchable:!0,bVisible:!0,sWidth:"10%",aTargets:[2]},{bSearchable:!0,bVisible:!0,sWidth:"20%",iDataSort:7,aTargets:[3],fnCreatedCell:function(e){$(e).addClass("right")}},{bSearchable:!1,bVisible:!0,sWidth:"10%",aTargets:[4],fnCreatedCell:function(e){$(e).addClass("right")}},{bSearchable:!0,bVisible:!0,sWidth:"10%",aTargets:[5],fnCreatedCell:function(e){$(e).addClass("center")}},{bSearchable:!0,bVisible:!1,aTargets:[6]},{bSearchable:!0,bVisible:!1,aTargets:[7]}],fnServerData:function(e,t,a){$.ajax({dataType:"json",type:"POST",url:e,data:{action:"search_classes",course_title:$("#search_course_title").val(),course_integration:$("#search_course_integration").val(),course_end_date:$("#search_course_end_date").val(),sesskey:M.cfg.sesskey},success:function(e){a(e)}})},bStateSave:!0,fnStateSave:function(e,t){try{localStorage.setItem(uid+"DataTables",JSON.stringify(t))}catch(e){}},fnStateLoad:function(e){try{return JSON.parse(localStorage.getItem(uid+"DataTables"))}catch(e){}},fnDrawCallback:function(){$('input[name="selectallcb"]').attr("checked",!1),initialiseCourseRecreation(),initialiseEditEndDate(),$("#search_courses_button").removeAttr("disabled")}});$("#search_courses_button").click(function(){return $(this).attr("disabled","disabled"),courseBrowserTable.fnReloadAjax(),courseBrowserTable.fnStandingRedraw(),!1}),$("#search_course_end_date").datepicker();var oTable=$("#assignmentBrowserTable").dataTable({bProcessing:!0,oLanguage:dataTablesLang,sAjaxSource:"ajax.php",fnServerData:function(sSource,aoData,fnCallback){$("#id_create_course").attr("disabled","disabled"),$("#id_update_course").attr("disabled","disabled"),0<$("#assignmentBrowserTable").length&&$(".side-pre-only #page-content #region-main").css({"margin-left":"0px"}),$("#id_assignmentname").attr("disabled","disabled"),$("#id_create_assignment").attr("disabled","disabled"),$.ajax({dataType:"json",type:"POST",url:sSource,data:{action:"get_assignments",tii_course_id:$("#tii_course_id").html(),sesskey:M.cfg.sesskey},success:function(result){eval(result),initialiseCourseBrowserButtons(oTable),fnCallback(result),"0"!=$("#course_id").html()&&0'+M.str.turnitintooltwo.closebutton+"")}function initialiseCourseRecreation(){var e="80%";$(window).width()<1e3&&(e="860px");var t=$(window).width()<700?"600px":"80%";$("a.course_recreate").colorbox({iframe:!0,width:e,height:t,top:"100px",className:"migration",opacity:"0.7",onLoad:function(){lightBoxCloseButton()},onCleanup:function(){$("#tii_close_bar").remove()}}),$(".browser_checkbox").click(function(){0<$(".browser_checkbox:checked").length?$(".create_checkboxes").slideDown():$(".create_checkboxes").slideUp()})}function initialiseCourseBrowserButtons(t){$("#id_create_course").click(function(){$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"create_course",tii_course_id:$("#tii_course_id").html(),tii_course_name:encodeURIComponent($("#tii_course_name").html()),course_name:encodeURIComponent($("#id_coursename").val()),course_category:$("#id_coursecategory").val(),sesskey:M.cfg.sesskey},success:function(e){hideCourseCreationOptions(jQuery.parseJSON(e),t)}})}),$("#id_update_course").click(function(){$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"link_course",tii_course_id:$("#tii_course_id").html(),tii_course_name:$("#tii_course_name").html(),course_to_link:$("#id_coursetolink").val(),sesskey:M.cfg.sesskey},success:function(e){hideCourseCreationOptions(jQuery.parseJSON(e),t)}})})}function hideCourseCreationOptions(e,t){var a;0!=e&&($("#course_id").html(e.courseid),a='input[name="check_'+$("#tii_course_id").html()+'"]',parent.$(a).hide(),a="#tick_"+$("#tii_course_id").html(),parent.$(a).show(),$('fieldset[id$="create_course_fieldset"]').parent().slideToggle(),$('fieldset[id$="update_course_fieldset"]').parent().slideToggle(),$("#or_container").hide(),$("#existing_course_title_span").html(e.coursename),$(".existing_course_title_h3").removeClass("hidden_class"),0<$(".assignmentids_check").length&&($(".assignmentids_check").removeAttr("disabled"),$("#id_assignmentname").removeAttr("disabled"),$("#id_create_assignment").removeAttr("disabled")),$(".assignmentids_check").change(function(){5<=$(".assignmentids_check").filter(":checked").length?$(".assignmentids_check").not(":checked").attr("disabled","disabled"):$(".assignmentids_check").removeAttr("disabled")}),initialiseCreateAssignmentButton(t))}function initialiseCreateAssignmentButton(a){$("#id_create_assignment").unbind("click"),$("#id_create_assignment").click(function(){var t="";$(".assignmentids_check:checked").each(function(e){t+=$(this).val()+","}),","==t.charAt(t.length-1)&&t.substring(0,t.length-1),$("#id_create_assignment").attr("disabled","disabled"),$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"create_assignment",course_id:$("#course_id").html(),assignment_name:$("#id_assignmentname").val(),parts:t,sesskey:M.cfg.sesskey},success:function(e){a.fnReloadAjax(),a.fnStandingRedraw(),$("#id_assignmentname").removeAttr("disabled"),$("#id_create_assignment").removeAttr("disabled"),$(".assignmentids_check").removeAttr("disabled")}})})}$("#create_classes_button").colorbox({iframe:!0,width:"60%",top:"200px",height:"124px",opacity:"0.7",className:"course_creation",href:function(){var e=$(".create_course_category").val(),t=$(".create_assignment_checkbox").is(":checked")?"1":"0",a="";return $(".browser_checkbox:checked").each(function(e){a+="&class_id"+e+"="+$(this).val(),e++}),window.location.href.replace("cmd=courses","cmd=multiple_class_recreation")+"&view_context=box&category="+e+"&assignments="+t+a+"&sesskey="+M.cfg.sesskey},onCleanup:function(){window.location=window.location}}),0<$("#class_ids").length&&($(".side-pre-only #page-content #region-main").css({"margin-left":"0px"}),$(".has-region-side-pre #page-content #region-main").css({width:"100%","margin-top":"-30px"}),class_ids=$("#class_ids").html(),$.ajax({dataType:"html",type:"POST",url:"ajax.php",data:{action:"create_courses",class_ids:class_ids,course_category:$("#course_category").html(),create_assignments:$("#create_assignments").html(),sesskey:M.cfg.sesskey},success:function(e){$("#course_creation_status").html(e)}}))}); +//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHVybml0aW50b29sdHdvX2V4dHJhLTIwMjQxMDA5MDEubWluLmpzIiwic291cmNlcyI6WyJ0dXJuaXRpbnRvb2x0d29fZXh0cmEtMjAyNDEwMDkwMS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJqUXVlcnkoZG9jdW1lbnQpLnJlYWR5KGZ1bmN0aW9uKCQpIHtcbiAgICAvLyBBZGQgc3R5bGUgdG8gaGVhZGVyIHJvdy5cbiAgICAkKCcubW9kX3R1cm5pdGludG9vbHR3b19zdWJtaXNzaW9uc19kYXRhX3RhYmxlIHRoZWFkIHRyLCAjbW9kX3R1cm5pdGludG9vbHR3b19jb3Vyc2VfYnJvd3Nlcl90YWJsZSB0aGVhZCB0cicpLnRvZ2dsZUNsYXNzKFwiaGVhZGVyXCIpO1xuXG4gICAgLy8gQ29uZmlndXJlIGRhdGF0YWJsZXMgbGFuZ3VhZ2Ugc2V0dGluZ3MuXG4gICAgdmFyIGRhdGFUYW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biAgICAgICAgXCJhb0NvbHVtbnNcIjogW1xuICAgICAgICAgICAgICAgICAgICAgICAge1wiYlNvcnRhYmxlXCI6IGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIFwiZm5DcmVhdGVkQ2VsbFwiOiBmdW5jdGlvbiAoblRkLCBzRGF0YSwgb0RhdGEsIGlSb3csIGlDb2wpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJChuVGQpLmFkZENsYXNzKCdjZW50ZXJlZF9jZWxsJyk7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfX0sXG4gICAgICAgICAgICAgICAgICAgICAgICBudWxsLFxuICAgICAgICAgICAgICAgICAgICAgICAge1wiYURhdGFTb3J0XCI6IFsgMiwgMyBdfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHtcImFEYXRhU29ydFwiOiBbIDMsIDIgXX0sXG4gICAgICAgICAgICAgICAgICAgICAgICBudWxsXG4gICAgICAgICAgICAgICAgICAgICBdLFxuICAgICAgICBcImZuRHJhd0NhbGxiYWNrXCI6IGZ1bmN0aW9uICgpIHtcbiAgICAgICAgICAgICQoJ2lucHV0W25hbWU9XCJzZWxlY3RhbGxjYlwiXScpLmF0dHIoJ2NoZWNrZWQnLCBmYWxzZSk7XG4gICAgICAgIH1cbiAgICB9KTtcblxuICAgIC8vIERpc2FibGUgdGhlIHN1Ym1pdCBidXR0b24gaWYgVHVybml0aW4gdjEgYW5kIHYyIGFjY291bnQgaWRzIGFyZSBkaWZmZXJlbnQgaW4gTWlncmF0aW9uIFRvb2wuXG4gICAgaWYgKCAkKCcjc2FtZXRpaWFjY291bnQnKS5kYXRhKCdzYW1ldGlpYWNjb3VudCcpID09IFwiMFwiICkge1xuICAgICAgICAkKCdzZWxlY3RbbmFtZT1cImVuYWJsZW1pZ3JhdGlvbnRvb2xcIl0nKS5hdHRyKCdkaXNhYmxlZCcsICdkaXNhYmxlZCcpO1xuICAgICAgICAkKCdzZWxlY3RbbmFt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AgICAgIG51bGwsXG4gICAgICAgICAgICAgICAgICAgIHtcInNDbGFzc1wiOiBcImZpbGVuYW1lIGMwXCIsIFwic1dpZHRoXCI6IFwiNDAlXCJ9LFxuICAgICAgICAgICAgICAgICAgICBudWxsLFxuICAgICAgICAgICAgICAgICAgICB7XCJzQ2xhc3NcIjogXCJmdWxsbmFtZSBjMVwiLCBcInNXaWR0aFwiOiBcIjM1JVwifSxcbiAgICAgICAgICAgICAgICAgICAgbnVsbCxcbiAgICAgICAgICAgICAgICAgICAge1wic0NsYXNzXCI6IFwiY3JlYXRlZCBjMlwiLCBcInNXaWR0aFwiOiBcIjIyJVwifSxcbiAgICAgICAgICAgICAgICAgICAge1wic0NsYXNzXCI6IFwicmVtb3ZlIGMzXCIsIFwic1dpZHRoXCI6IFwiMyVcIn1cbiAgICAgICAgICAgICAgICBdLFxuICAgICAgICBcImFvQ29sdW1uRGVmc1wiOiBbXG4gICAgICAgICAgICAgICAgICAgIHtcImJTZWFyY2hhYmxlXCI6IHRydWUsIFwiYlZpc2libGVcIjogZmFsc2UsIFwiYVRhcmdldHNcIjogWyAwIF19LFxuICAgICAgICAgICAgICAgICAgICB7XCJiU2VhcmNoYWJsZVwiOiB0cnVlLCBcImJWaXNpYmxlXCI6IGZhbHNlLCBcImFUYXJnZXRzXCI6IFsgMSBdfSxcbiAgICAgICAgICAgICAgICAgICAge1wiYlNlYXJjaGFibGVcIjogdHJ1ZSwgXCJiVmlzaWJsZVwiOiBmYWxzZSwgXCJhVGFyZ2V0c1wiOiBbIDIgXX0sXG4gICAgICAgICAgICAgICAgICAgIHtcImJTZWFyY2hhYmxlXCI6IHRydWUsIFwiYlZpc2libGVcIjogdHJ1ZSwgXCJhVGFyZ2V0c1wiOiBbIDMgXX0sXG4gICAgICAgICAgICAgICAgICAgIHtcImJTZWFyY2hhYmxlXCI6IHRydWUsIFwiYlZpc2libGVcIjogZmFsc2UsIFwiYVRhcmdldHNcIjogWyA0IF19LFxuICAgICAgICAgICAgICAgICAgICB7XCJiU2VhcmNoYWJsZVwiOiB0cnVlLCBcImJWaXNpYmxlXCI6IHRydWUsIFwiYVRhcmdldHNcIjogWyA1IF19LFxuICAgICAgICAgICAgICAgICAgICB7XCJiU2VhcmNoYWJsZVwiOiB0cnVlLCBcImJWaXNpYmxlXCI6IGZhbHNlLCBcImFUYXJnZXRzXCI6IFsgNiBdfSxcbiAgICAgICAgICAgICAgICAgICAge1wiYlNlYXJjaGFibGVcIjogdHJ1ZSwgXCJiVmlzaWJsZVwiOiB0cnVlLCBcImFUYXJnZXRzXCI6IFsgNyBdfSxcbiAgICAgICAgICAgICAgICAgICAge1wiYlNlYXJjaGFibGVcIjogdHJ1ZSwgXCJiVmlzaWJsZVwiOiB0cnVlLCBcImFUYXJnZXRzXCI6IFsgOCBdfVxuICAgICAgICAgICAgICAgIF0sXG4gICAgICAgIFwiZm5EcmF3Q2FsbGJhY2tcIjogZnVuY3Rpb24gKCBvU2V0dGluZ3MgKSB7XG4gICAgICAgICAgICBpZiAoIG9TZXR0aW5ncy5haURpc3BsYXkubGVuZ3RoID09IDAgKVxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdmFyIG5UcnMgPSAkKCcjZmlsZXNUYWJsZSB0Ym9keSB0cicpO1xuICAgICAgICAgICAgdmFyIGlDb2xzcGFuID0gblRyc1swXS5nZXRFbGVtZW50c0J5VGFnTmFtZSgndGQnKS5sZW5ndGg7XG4gICAgICAgICAgICB2YXIgc0xhc3RHcm91cCA9IFwiXCI7XG4gICAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IG5UcnMubGVuZ3RoOyBpKyspIHtcbiAgICAgICAgICAgICAgICB2YXIgaURpc3BsYXlJbmRleCA9IG9TZXR0aW5ncy5faURpc3BsYXlTdGFydCArIGk7XG4gICAgICAgICAgICAgICAgdmFyIHNHcm91cCA9IG9TZXR0aW5ncy5hb0RhdGFbIG9TZXR0aW5ncy5haURpc3BsYXlbaV0gXS5fYURhdGFbMF07XG4gICAgICAgICAgICAgICAgaWYgKCBzR3JvdXAgIT0gc0xhc3RHcm91cCApXG4gICAgICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgICAgICB2YXIgbkdyb3VwID0gZG9jdW1lbnQuY3JlYXRlRWxlbWVudCggJ3RyJyApO1xuICAgICAgICAgICAgICAgICAgICB2YXIgbkNlbGwgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCAndGQnICk7XG4gICAgICAgICAgICAgICAgICAgIG5DZWxsLmNvbFNwYW4gPSBpQ29sc3BhbjtcbiAgICAgICAgICAgICAgICAgICAgbkNlbGwuY2xhc3NOYW1lID0gXCJncm91cFwiO1xuICAgICAgICAgICAgICAgICAgICBuQ2VsbC5pbm5lckhUTUwgPSBzR3JvdXA7XG4gICAgICAgICAgICAgICAgICAgIG5Hcm91cC5hcHBlbmRDaGlsZCggbkNlbGwgKTtcbiAgICAgICAgICAgICAgICAgICAgblRyc1tpXS5wYXJlbnROb2RlLmluc2VydEJlZm9yZSggbkdyb3VwLCBuVHJzW2ldICk7XG4gICAgICAgICAgICAgICAgICAgIHNMYXN0R3JvdXAgPSBzR3JvdXA7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcImFhU29ydGluZ0ZpeGVkXCI6IFtbIDAsICdhc2MnIF1dLFxuICAgICAgICBcImFhU29ydGluZ1wiOiBbWyAxLCAnYXNjJyBdXSxcbiAgICAgICAgXCJzRG9tXCI6ICdsZnI8XCJnaXZlSGVpZ2h0XCJ0PmlwJ1xuICAgIH0pO1xuXG4gICAgJC5kYXRlcGlja2VyLnJlZ2lvbmFsW1wiXCJdLmRhdGVGb3JtYXQgPSAnZCBNIHl5JztcbiAgICAkLmRhdGVwaWNrZXIuc2V0RGVmYXVsdHMoJC5kYXRlcGlja2VyLnJlZ2lvbmFsWycnXSk7XG5cbiAgICAvLyBDb25maWd1cmU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HNcIjogWyAyIF19LFxuICAgICAgICAgICAgICAgICAgICB7XCJiU2VhcmNoYWJsZVwiOiB0cnVlLCBcImJWaXNpYmxlXCI6IHRydWUsIFwic1dpZHRoXCI6IFwiMjAlXCIsIFwiaURhdGFTb3J0XCI6IDcsIFwiYVRhcmdldHNcIjogWyAzIF0sXG4gICAgICAgICAgICAgICAgICAgICAgICBcImZuQ3JlYXRlZENlbGxcIjogZnVuY3Rpb24gKG5UZCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICQoblRkKS5hZGRDbGFzcygncmlnaHQnKTtcbiAgICAgICAgICAgICAgICAgICAgICAgIH19LFxuICAgICAgICAgICAgICAgICAgICB7XCJiU2VhcmNoYWJsZVwiOiBmYWxzZSwgXCJiVmlzaWJsZVwiOiB0cnVlLCBcInNXaWR0aFwiOiBcIjEwJVwiLCBcImFUYXJnZXRzXCI6IFsgNCBdLFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJmbkNyZWF0ZWRDZWxsXCI6IGZ1bmN0aW9uIChuVGQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKG5UZCkuYWRkQ2xhc3MoJ3JpZ2h0Jyk7XG4gICAgICAgICAgICAgICAgICAgICAgICB9fSxcbiAgICAgICAgICAgICAgICAgICAge1wiYlNlYXJjaGFibGVcIjogdHJ1ZSwgXCJiVmlzaWJsZVwiOiB0cnVlLCBcInNXaWR0aFwiOiBcIjEwJVwiLCBcImFUYXJnZXRzXCI6IFsgNSBdLFxuICAgICAgICAgICAgICAgICAgICAgICAgXCJmbkNyZWF0ZWRDZWxsXCI6IGZ1bmN0aW9uIChuVGQpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKG5UZCkuYWRkQ2xhc3MoJ2NlbnRlcicpO1xuICAgICAgICAgICAgICAgICAgICAgICAgfX0sXG4gICAgICAgICAgICAgICAgICAgIHtcImJTZWFyY2hhYmxlXCI6IHRydWUsIFwiYlZpc2libGVcIjogZmFsc2UsIFwiYVRhcmdldHNcIjogWyA2IF19LFxuICAgICAgICAgICAgICAgICAgICB7XCJiU2VhcmNoYWJsZVwiOiB0cnVlLCBcImJWaXNpYmxlXCI6IGZhbHNlLCBcImFUYXJnZXRzXCI6IFsgNyBdfVxuICAgICAgICAgICAgICAgIF0sXG4gICAgICAgIFwiZm5TZXJ2ZXJEYXRhXCI6IGZ1bmN0aW9uICggc1NvdXJjZSwgYW9EYXRhLCBmbkNhbGxiYWNrICkge1xuICAgICAgICAgICAgJC5hamF4KHtcbiAgICAgICAgICAgICAgICBcImRhdGFUeXBlXCI6ICdqc29uJyxcbiAgICAgICAgICAgICAgICBcInR5cGVcIjogXCJQT1NUXCIsXG4gICAgICAgICAgICAgICAgXCJ1cmxcIjogc1NvdXJjZSxcbiAgICAgICAgICAgICAgICBcImRhdGFcIjoge2FjdGlvbjogXCJzZWFyY2hfY2xhc3Nlc1wiLCBjb3Vyc2VfdGl0bGU6ICQoJyNzZWFyY2hfY291cnNlX3RpdGxlJykudmFsKCksXG4gICAgICAgICAgICAgICAgICAgIGNvdXJzZV9pbnRlZ3JhdGlvbjogJCgnI3NlYXJjaF9jb3Vyc2VfaW50ZWdyYXRpb24nKS52YWwoKSxcbiAgICAgICAgICAgICAgICAgICAgY291cnNlX2VuZF9kYXRlOiAkKCcjc2VhcmNoX2NvdXJzZV9lbmRfZGF0ZScpLnZhbCgpLCBzZXNza2V5OiBNLmNmZy5zZXNza2V5fSxcbiAgICAgICAgICAgICAgICBcInN1Y2Nlc3NcIjogZnVuY3Rpb24ocmVzdWx0KSB7XG4gICAgICAgICAgICAgICAgICAgIGZuQ2FsbGJhY2socmVzdWx0KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSxcbiAgICAgICAgXCJiU3RhdGVTYXZlXCI6IHRydWUsXG4gICAgICAgIFwiZm5TdGF0ZVNhdmVcIjogZnVuY3Rpb24gKG9TZXR0aW5ncywgb0RhdGEpIHtcbiAgICAgICAgICAgIHRyeSB7XG4gICAgICAgICAgICAgICAgbG9jYWxTdG9yYWdlLnNldEl0ZW0oIHVpZCArICdEYXRhVGFibGVzJywgSlNPTi5zdHJpbmdpZnkob0RhdGEpICk7XG4gICAgICAgICAgICB9IGNhdGNoICggZSApIHtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJmblN0YXRlTG9hZFwiOiBmdW5jdGlvbiAob1NldHRpbmdzKSB7XG4gICAgICAgICAgICB0cnkge1xuICAgICAgICAgICAgICAgIHJldHVybiBKU09OLnBhcnNlKCBsb2NhbFN0b3JhZ2UuZ2V0SXRlbSh1aWQgKyAnRGF0YVRhYmxlcycpICk7XG4gICAgICAgICAgICB9IGNhdGNoICggZSApIHtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfSxcbiAgICAgICAgXCJmbkRyYXdDYWxsYmFja1wiOiBmdW5jdGlvbiAoKSB7XG4gICAgICAgICAgICAkKCdpbnB1dFtuYW1lPVwic2VsZWN0YWxsY2JcIl0nKS5hdHRyKCdjaGVja2VkJywgZmFsc2UpO1xuICAgICAgICAgICAgaW5pdGlhbGlzZUNvdXJzZVJlY3JlYXRpb24oKTtcbiAgICAgICAgICAgIGluaXRpYWxpc2VFZGl0RW5kRGF0ZSgpO1xuICAgICAgICAgICAgJChcIiNzZWFyY2hfY291cnNlc19idXR0b25cIikucmVtb3ZlQXR0cignZGlzYWJsZWQnKTtcbiAgICAgICAgfVxuICAgIH0pO1xuXG4gICAgJChcIiNzZWFyY2hfY291cnNlc19idXR0b25cIikuY2xpY2soZnVuY3Rpb24gKCkge1xuICAgICAgICAkKHRoaXMpLmF0dHIoJ2Rpc2FibGVkJywgJ2Rpc2FibGVkJyk7XG4gICAgICAgIGNvdXJzZUJyb3dzZXJUYWJsZS5mblJlbG9hZEFqYXgoKTtcbiAgICAgICAgY291cnNlQnJvd3NlclRhYmxlLmZuU3RhbmRpbmdSZWRyYXcoKTtcbiAgICAgICAgcmV0dXJuIGZhb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VudFwiKS5hdHRyKCdkaXNhYmxlZCcsICdkaXNhYmxlZCcpO1xuICAgICAgICAgICAgJC5hamF4KHtcbiAgICAgICAgICAgICAgICBcImRhdGFUeXBlXCI6ICdqc29uJyxcbiAgICAgICAgICAgICAgICBcInR5cGVcIjogXCJQT1NUXCIsXG4gICAgICAgICAgICAgICAgXCJ1cmxcIjogc1NvdXJjZSxcbiAgICAgICAgICAgICAgICBcImRhdGFcIjoge2FjdGlvbjogXCJnZXRfYXNzaWdubWVudHNcIiwgdGlpX2NvdXJzZV9pZDogJChcIiN0aWlfY291cnNlX2lkXCIpLmh0bWwoKSwgc2Vzc2tleTogTS5jZmcuc2Vzc2tleX0sXG4gICAgICAgICAgICAgICAgXCJzdWNjZXNzXCI6IGZ1bmN0aW9uKHJlc3VsdCkge1xuICAgICAgICAgICAgICAgICAgICBldmFsKHJlc3VsdCk7XG4gICAgICAgICAgICAgICAgICAgIGluaXRpYWxpc2VDb3Vyc2VCcm93c2VyQnV0dG9ucyhvVGFibGUpO1xuICAgICAgICAgICAgICAgICAgICBmbkNhbGxiYWNrKHJlc3VsdCk7XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKCQoXCIjY291cnNlX2lkXCIpLmh0bWwoKSAhPSBcIjBcIiAmJiByZXN1bHQubnVtYmVyX29mX2Fzc2lnbm1lbnRzID4gMCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgJChcIiNpZF9hc3NpZ25tZW50bmFtZVwiKS5yZW1vdmVBdHRyKCdkaXNhYmxlZCcpO1xuICAgICAgICAgICAgICAgICAgICAgICAgJChcIiNpZF9jcmVhdGVfYXNzaWdubWVudFwiKS5yZW1vdmVBdHRyKCdkaXNhYmxlZCcpO1xuICAgICAgICAgICAgICAgICAgICAgICAgJChcIi5hc3NpZ25tZW50aWRzX2NoZWNrXCIpLnJlbW92ZUF0dHIoJ2Rpc2FibGVkJyk7XG4gICAgICAgICAgICAgICAgICAgICAgICBpbml0aWFsaXNlQ3JlYXRlQXNzaWdubWVudEJ1dHRvbihvVGFibGUpO1xuICAgICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICAgICAgJChcIiNpZF9hc3NpZ25tZW50bmFtZVwiKS5hdHRyKCdkaXNhYmxlZCcsICdkaXNhYmxlZCcpO1xuICAgICAgICAgICAgICAgICAgICAgICAgJChcIiNpZF9jcmVhdGVfYXNzaWdubWVudFwiKS5hdHRyKCdkaXNhYmxlZCcsICdkaXNhYmxlZCcpO1xuICAgICAgICAgICAgICAgICAgICAgICAgJChcIi5hc3NpZ25tZW50aWRzX2NoZWNrXCIpLmF0dHIoJ2Rpc2FibGVkJywgJ2Rpc2FibGVkJyk7XG4gICAgICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgICAgICAvLyBFbmFibGUgY291cnNlIGJ1dHRvbnMuXG4gICAgICAgICAgICAgICAgICAgICQoJyNpZF9jcmVhdGVfY291cnNlJykucmVtb3ZlQXR0cignZGlzYWJsZWQnKTtcbiAgICAgICAgICAgICAgICAgICAgJCgnI2lkX3VwZGF0ZV9jb3Vyc2UnKS5yZW1vdmVBdHRyKCdkaXNhYmxlZCcpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH0pO1xuICAgICAgICB9LFxuICAgICAgICBcImFvQ29sdW1uRGVmc1wiOiBbXG4gICAgICAgICAgICB7XCJiU2VhcmNoYWJsZVwiOiBmYWxzZSwgXCJiVmlzaWJsZVwiOiB0cnVlLCBcImFUYXJnZXRzXCI6IFsgMCBdfSxcbiAgICAgICAgICAgIHtcImJTZWFyY2hhYmxlXCI6IHRydWUsIFwiYlZpc2libGVcIjogdHJ1ZSwgXCJhVGFyZ2V0c1wiOiBbIDEgXSxcbiAgICAgICAgICAgICAgICBcImZuQ3JlYXRlZENlbGxcIjogZnVuY3Rpb24gKG5UZCkge1xuICAgICAgICAgICAgICAgICAgICAkKG5UZCkuYWRkQ2xhc3MoJ25vd3JhcCcpO1xuICAgICAgICAgIC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I2NvdXJzZV8nICsgdGlpX2NvdXJzZV9pZCkuaHRtbCgpKTtcbiAgICAgICAgICAgICAgICAkKCcjY2JveExvYWRlZENvbnRlbnQgLm1vZF90dXJuaXRpbnRvb2x0d29fZWRpdF9jb3Vyc2VfZW5kX2RhdGVfZm9ybScpLnNob3coKTtcbiAgICAgICAgICAgICAgICAkKCcjZGF0ZXNlbGVjdG9yLWNhbGVuZGFyLXBhbmVsJykuY3NzKCd6LWluZGV4JywgJzk5OTknKTtcblxuICAgICAgICAgICAgICAgICQoJyNpZF9zYXZlX2VuZF9kYXRlJykuY2xpY2soZnVuY3Rpb24oKSB7XG4gICAgICAgICAgICAgICAgICAgICQuYWpheCh7XG4gICAgICAgICAgICAgICAgICAgICAgICBcImRhdGFUeXBlXCI6ICdqc29uJyxcbiAgICAgICAgICAgICAgICAgICAgICAgIFwidHlwZVwiOiBcIlBPU1RcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIFwidXJsXCI6IFwiYWpheC5waHBcIixcbiAgICAgICAgICAgICAgICAgICAgICAgIFwiZGF0YVwiOiB7YWN0aW9uOiBcImVkaXRfY291cnNlX2VuZF9kYXRlXCIsIHRpaV9jb3Vyc2VfaWQ6IHRpaV9jb3Vyc2VfaWQsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgdGlpX2NvdXJzZV90aXRsZTogJCgnYSNjb3Vyc2VfJyArIHRpaV9jb3Vyc2VfaWQpLmh0bWwoKSwgc2Vzc2tleTogTS5jZmcuc2Vzc2tleSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbmRfZGF0ZV9kOiAkKCcjaWRfbmV3X2NvdXJzZV9lbmRfZGF0ZV9kYXknKS52YWwoKSxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBlbmRfZGF0ZV9tOiAkKCcjaWRfbmV3X2NvdXJzZV9lbmRfZGF0ZV9tb250aCcpLnZhbCgpLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGVuZF9kYXRlX3k6ICQoJyNpZF9uZXdfY291cnNlX2VuZF9kYXRlX3llYXInKS52YWwoKVxuICAgICAgICAgICAgICAgICAgICAgICAgfSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHN1Y2Nlc3M6IGZ1bmN0aW9uKGRhdGEpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBldmFsKGRhdGEpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGlmIChkYXRhLnN0YXR1cyA9PSBcInN1Y2Nlc3NcIikge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwYXJlbnQuJC5mbi5jb2xvcmJveC5jbG9zZSgpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKCcjY291cnNlX2RhdGVfJyArIHRpaV9jb3Vyc2VfaWQgKyAnIHNwYW4nKS5odG1sKGRhdGEuZW5kX2RhdGUpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhciBjdXJyZW50X21zZyA9ICQoJyNlZGl0X2VuZF9kYXRlX2Rlc2MnKS5odG1sO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAkKCcjZWRpdF9lbmRfZGF0ZV9kZXNjJykuaHRtbChjdXJyZW50X21zZyArIFwiIFwiICsgZGF0YS5tc2cpO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB9LFxuICAgICAgICAgICAgb25DbGVhbnVwOiBmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICAgICAkKCcubW9kX3R1cm5pdGludG9vbHR3b19lZGl0X2NvdXJzZV9lbmRfZGF0ZV9mb3JtJykuaGlkZSgpO1xuICAgICAgICAgICAgICAgICQoJyN0aWlfY2xvc2VfYmFyJykucmVtb3ZlKCk7XG4g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ZW50LlxuICAgIGZ1bmN0aW9uIGluaXRpYWxpc2VDb3Vyc2VCcm93c2VyQnV0dG9ucyhvVGFibGUpIHtcbiAgICAgICAgJCgnI2lkX2NyZWF0ZV9jb3Vyc2UnKS5jbGljayhmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICQuYWpheCh7XG4gICAgICAgICAgICAgICAgXCJkYXRhVHlwZVwiOiAnaHRtbCcsXG4gICAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiUE9TVFwiLFxuICAgICAgICAgICAgICAgIFwidXJsXCI6IFwiYWpheC5waHBcIixcbiAgICAgICAgICAgICAgICBcImRhdGFcIjoge2FjdGlvbjogXCJjcmVhdGVfY291cnNlXCIsIHRpaV9jb3Vyc2VfaWQ6ICQoXCIjdGlpX2NvdXJzZV9pZFwiKS5odG1sKCksXG4gICAgICAgICAgICAgICAgICAgIHRpaV9jb3Vyc2VfbmFtZTogZW5jb2RlVVJJQ29tcG9uZW50KCQoXCIjdGlpX2NvdXJzZV9uYW1lXCIpLmh0bWwoKSksXG4gICAgICAgICAgICAgICAgICAgIGNvdXJzZV9uYW1lOiBlbmNvZGVVUklDb21wb25lbnQoJChcIiNpZF9jb3Vyc2VuYW1lXCIpLnZhbCgpKSxcbiAgICAgICAgICAgICAgICAgICAgY291cnNlX2NhdGVnb3J5OiAkKFwiI2lkX2NvdXJzZWNhdGVnb3J5XCIpLnZhbCgpLCBzZXNza2V5OiBNLmNmZy5zZXNza2V5fSxcbiAgICAgICAgICAgICAgICBzdWNjZXNzOiBmdW5jdGlvbihkYXRhKSB7XG4gICAgICAgICAgICAgICAgICAgIHZhciBvYmogPSBqUXVlcnkucGFyc2VKU09OKGRhdGEpO1xuICAgICAgICAgICAgICAgICAgICBoaWRlQ291cnNlQ3JlYXRpb25PcHRpb25zKG9iaiwgb1RhYmxlKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgJCgnI2lkX3VwZGF0ZV9jb3Vyc2UnKS5jbGljayhmdW5jdGlvbigpIHtcbiAgICAgICAgICAgICQuYWpheCh7XG4gICAgICAgICAgICAgICAgXCJkYXRhVHlwZVwiOiAnaHRtbCcsXG4gICAgICAgICAgICAgICAgXCJ0eXBlXCI6IFwiUE9TVFwiLFxuICAgICAgICAgICAgICAgIFwidXJsXCI6IFwiYWpheC5waHBcIixcbiAgICAgICAgICAgICAgICBcImRhdGFcIjoge2FjdGlvbjogXCJsaW5rX2NvdXJzZVwiLCB0aWlfY291cnNlX2lkOiAkKFwiI3RpaV9jb3Vyc2VfaWRcIikuaHRtbCgpLFxuICAgICAgICAgICAgICAgICAgICB0aWlfY291cnNlX25hbWU6ICQoXCIjdGlpX2NvdXJzZV9uYW1lXCIpLmh0bWwoKSwgY291cnNlX3RvX2xpbms6ICQoXCIjaWRfY291cnNldG9saW5rXCIpLnZhbCgpLFxuICAgICAgICAgICAgICAgICAgICBzZXNza2V5OiBNLmNmZy5zZXNza2V5fSxcbiAgICAgICAgICAgICAgICBzdWNjZXNzOiBmdW5jdGlvbihkYXRhKSB7XG4gICAgICAgICAgICAgICAgICAgIHZhciBvYmogPSBqUXVlcnkucGFyc2VKU09OKGRhdGEpO1xuICAgICAgICAgICAgICAgICAgICBoaWRlQ291cnNlQ3JlYXRpb25PcHRpb25zKG9iaiwgb1RhYmxlKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgLy8gSGlkZSB0aGUgY291cnNlIGNyZWF0aW9uL2xpbmtpbmcgZm9ybSBvbmNlIHRoZSBzZWxlY3RlZCBUdXJuaXRpblxuICAgIC8vIGNvdXJzZSBoYXMgYmVlbiBjcmVhdGVkL2xpbmtlZCBsb2NhbGx5IGFuZCBpbml0aWFsaXNlIHRoZSBjcmVhdGUgYXNzaWdubWVudCBidXR0b24uXG4gICAgZnVuY3Rpb24gaGlkZUNvdXJzZUNyZWF0aW9uT3B0aW9ucyhvYmosIG9UYWJsZSkge1xuICAgICAgICBpZiAob2JqICE9IDApIHtcbiAgICAgICAgICAgICQoXCIjY291cnNlX2lkXCIpLmh0bWwob2JqLmNvdXJzZWlkKTtcblxuICAgICAgICAgICAgdmFyIGNiX2VsZW1lbnQgPSAnaW5wdXRbbmFtZT1cImNoZWNrXycgKyAkKCcjdGlpX2NvdXJzZV9pZCcpLmh0bWwoKSArICdcIl0nO1xuICAgICAgICAgICAgcGFyZW50LiQoY2JfZWxlbWVudCkuaGlkZSgpO1xuICAgICAgICAgICAgdmFyIHRpY2tfZWxlbWVudCA9ICcjdGlja18nICsgJCgnI3RpaV9jb3Vyc2VfaWQnKS5odG1sKCk7XG4gICAgICAgICAgICBwYXJlbnQuJCh0aWNrX2VsZW1lbnQpLnNob3coKTtcblxuICAgICAgICAgICAgJCgnZmllbGRzZXRbaWQkPVwiY3JlYXRlX2NvdXJzZV9maWVsZHNldFwiXScpLnBhcmVudCgpLnNsaWRlVG9nZ2xlKCk7XG4gICAgICAgICAgICAkKCdmaWVsZHNldFtpZCQ9XCJ1cGRhdGVfY291cnNlX2ZpZWxkc2V0XCJdJykucGFyZW50KCkuc2xpZGVUb2dnbGUoKTtcblxuICAgICAgICAgICAgJChcIiNvcl9jb250YWluZXJcIikuaGlkZSgpO1xuXG4gICAgICAgICAgICAkKCcjZXhpc3RpbmdfY291cnNlX3RpdGxlX3NwYW4nKS5odG1sKG9iai5jb3Vyc2VuYW1lKTtcbiAgICAgICAgICAgICQoJy5leGlzdGluZ19jb3Vyc2VfdGl0bGVfaDMnKS5yZW1vdmVDbGFzcygnaGlkZGVuX2NsYXNzJyk7XG5cbiAgICAgICAgICAgIGlmICgkKCcuYXNzaWdubWVudGlkc19jaGVjaycpLmxlbmd0aCA+IDApIHtcbiAgICAgICAgICAgICAgICAkKFwiLmFzc2lnbm1lbnRpZHNfY2hlY2tcIikucmVtb3ZlQXR0cignZGlzYWJsZWQnKTtcbiAgICAgICAgICAgICAgICAkK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gcGFydHMgPSBcIlwiO1xuICAgICAgICAgICAgJCgnLmFzc2lnbm1lbnRpZHNfY2hlY2s6Y2hlY2tlZCcpLmVhY2goZnVuY3Rpb24oaSl7XG4gICAgICAgICAgICAgICAgcGFydHMgKz0gJCh0aGlzKS52YWwoKSArIFwiLFwiO1xuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICBpZiAocGFydHMuY2hhckF0KHBhcnRzLmxlbmd0aCAtIDEpID09ICcsJykge1xuICAgICAgICAgICAgICAgIHBhcnRzLnN1YnN0cmluZygwLCBwYXJ0cy5sZW5ndGggLSAxKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJChcIiNpZF9jcmVhdGVfYXNzaWdubWVudFwiKS5hdHRyKCdkaXNhYmxlZCcsICdkaXNhYmxlZCcpO1xuXG4gICAgICAgICAgICAkLmFqYXgoe1xuICAgICAgICAgICAgICAgIFwiZGF0YVR5cGVcIjogJ2h0bWwnLFxuICAgICAgICAgICAgICAgIFwidHlwZVwiOiBcIlBPU1RcIixcbiAgICAgICAgICAgICAgICBcInVybFwiOiBcImFqYXgucGhwXCIsXG4gICAgICAgICAgICAgICAgXCJkYXRhXCI6IHthY3Rpb246IFwiY3JlYXRlX2Fzc2lnbm1lbnRcIiwgY291cnNlX2lkOiAkKFwiI2NvdXJzZV9pZFwiKS5odG1sKCksXG4gICAgICAgICAgICAgICAgICAgIGFzc2lnbm1lbnRfbmFtZTogJChcIiNpZF9hc3NpZ25tZW50bmFtZVwiKS52YWwoKSwgcGFydHM6IHBhcnRzLCBzZXNza2V5OiBNLmNmZy5zZXNza2V5fSxcbiAgICAgICAgICAgICAgICBzdWNjZXNzOiBmdW5jdGlvbihkYXRhKSB7XG4gICAgICAgICAgICAgICAgICAgIG9UYWJsZS5mblJlbG9hZEFqYXgoKTtcbiAgICAgICAgICAgICAgICAgICAgb1RhYmxlLmZuU3RhbmRpbmdSZWRyYXcoKTtcbiAgICAgICAgICAgICAgICAgICAgJChcIiNpZF9h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CbkksRUFBRSxtREFBbURrSSxJQUFJLENBQ3JEVyxNQUFTLE9BQ1RnRSxhQUFjLFVBR2RuRSxVQUFZMUksRUFBRSxjQUFjcUksT0FFaENySSxFQUFFb0csS0FBSyxDQUNIQyxTQUFZLE9BQ1pDLEtBQVEsT0FDUkMsSUFBTyxXQUNQekQsS0FBUSxDQUFDMEQsT0FBUSxpQkFBa0JrQyxVQUFXQSxVQUFXd0MsZ0JBQWlCbEwsRUFBRSxvQkFBb0JxSSxPQUM1RnlFLG1CQUFvQjlNLEVBQUUsdUJBQXVCcUksT0FBUXhCLFFBQVN6RyxFQUFFMEcsSUFBSUQsU0FDeEVFLFFBQVMsU0FBU2pFLEdBQ2Q5QyxFQUFFLDJCQUEyQnFJLEtBQUt2RiJ9 diff --git a/jquery/turnitintooltwo_settings-2024100901.min.js b/jquery/turnitintooltwo_settings-2024100901.min.js old mode 100644 new mode 100755 index bfda1e9a..8e6eab80 --- a/jquery/turnitintooltwo_settings-2024100901.min.js +++ b/jquery/turnitintooltwo_settings-2024100901.min.js @@ -1 +1,2 @@ -jQuery(document).ready(function($){var tabmenu;0<$(".settingsform fieldset div.formsettingheading").length&&(tabmenu=$(".settingsform fieldset div.formsettingheading:first").html(),0<=tabmenu.indexOf("tabtree"))&&($(".settingsform fieldset div.formsettingheading:first").remove(),$(".settingsform h2:first").after(tabmenu)),$('input[name="selectallcb"]').click(function(){$(this).prop("checked")?($(".browser_checkbox").prop("checked",!0),0<$(".browser_checkbox:checked").length?$(".create_checkboxes").slideDown():$(".create_checkboxes").slideUp()):($(".browser_checkbox").prop("checked",!1),$(".create_checkboxes").slideUp())}),0<$(".test_connection").length&&(""==$("#id_s_turnitintooltwo_accountid").val()&&""==$("#id_s_turnitintooltwo_secretkey").val()||($(".test_connection").show(),$("#test_link").show()),$("#id_s_turnitintooltwo_accountid, #id_s_turnitintooltwo_secretkey, #id_s_turnitintooltwo_apiurl").keyup(function(){$("#testing_container").hide();var t=$("#id_s_turnitintooltwo_accountid").val(),e=$("#id_s_turnitintooltwo_secretkey").val(),t=t.trim(),e=e.trim();0==t.length||0==e.length?($("#test_result").hide(),$(".test_connection").hide()):($(".test_connection").show(),$("#test_link").show())}),$("#test_link").click(function(){$("#test_result").hide(),$("input, #id_s_turnitintooltwo_apiurl").prop("disabled",!0),$("#test_link").hide(),$("#test_result").css("opacity",""),$("#test_result").removeClass("test_link_success test_link_fail"),$("#testing_container").show();var url="ajax.php",accountid=(0<$(".settingsform fieldset div.formsettingheading").length&&(url="../mod/turnitintooltwo/ajax.php"),$("#id_s_turnitintooltwo_accountid").val()),accountshared=$("#id_s_turnitintooltwo_secretkey").val(),accounturl=$("#id_s_turnitintooltwo_apiurl").val();$.ajax({type:"POST",url:url,dataType:"json",data:{action:"test_connection",sesskey:M.cfg.sesskey,accountid:accountid,accountshared:accountshared,url:accounturl},success:function(data){eval(data),$("#testing_container").hide(),"success"==data.connection_status?$("#test_result").addClass("test_link_success"):$("#test_result").addClass("test_link_fail"),$("#test_result").html(data.msg),$("#test_result").show(),$("#test_link").show(),$("input, #id_s_turnitintooltwo_apiurl").prop("disabled",!1)}})}))}); \ No newline at end of file +jQuery(document).ready(function($){var tabmenu;0<$(".settingsform fieldset div.formsettingheading").length&&(tabmenu=$(".settingsform fieldset div.formsettingheading:first").html(),0<=tabmenu.indexOf("tabtree")&&($(".settingsform fieldset div.formsettingheading:first").remove(),$(".settingsform h2:first").after(tabmenu))),$('input[name="selectallcb"]').click(function(){$(this).prop("checked")?($(".browser_checkbox").prop("checked",!0),0<$(".browser_checkbox:checked").length?$(".create_checkboxes").slideDown():$(".create_checkboxes").slideUp()):($(".browser_checkbox").prop("checked",!1),$(".create_checkboxes").slideUp())}),0<$(".test_connection").length&&(""==$("#id_s_turnitintooltwo_accountid").val()&&""==$("#id_s_turnitintooltwo_secretkey").val()||($(".test_connection").show(),$("#test_link").show()),$("#id_s_turnitintooltwo_accountid, #id_s_turnitintooltwo_secretkey, #id_s_turnitintooltwo_apiurl").keyup(function(){$("#testing_container").hide();var t=$("#id_s_turnitintooltwo_accountid").val(),e=$("#id_s_turnitintooltwo_secretkey").val(),t=t.trim(),e=e.trim();0==t.length||0==e.length?($("#test_result").hide(),$(".test_connection").hide()):($(".test_connection").show(),$("#test_link").show())}),$("#test_link").click(function(){$("#test_result").hide(),$("input, #id_s_turnitintooltwo_apiurl").prop("disabled",!0),$("#test_link").hide(),$("#test_result").css("opacity",""),$("#test_result").removeClass("test_link_success test_link_fail"),$("#testing_container").show();var url="ajax.php";0<$(".settingsform fieldset div.formsettingheading").length&&(url="../mod/turnitintooltwo/ajax.php");var accountid=$("#id_s_turnitintooltwo_accountid").val(),accountshared=$("#id_s_turnitintooltwo_secretkey").val(),accounturl=$("#id_s_turnitintooltwo_apiurl").val();$.ajax({type:"POST",url:url,dataType:"json",data:{action:"test_connection",sesskey:M.cfg.sesskey,accountid:accountid,accountshared:accountshared,url:accounturl},success:function(data){eval(data),$("#testing_container").hide(),"success"==data.connection_status?$("#test_result").addClass("test_link_success"):$("#test_result").addClass("test_link_fail"),$("#test_result").html(data.msg),$("#test_result").show(),$("#test_link").show(),$("input, #id_s_turnitintooltwo_apiurl").prop("disabled",!1)}})}))}); +//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHVybml0aW50b29sdHdvX3NldHRpbmdzLTIwMjQxMDA5MDEubWluLmpzIiwic291cmNlcyI6WyJ0dXJuaXRpbnRvb2x0d29fc2V0dGluZ3MtMjAyNDEwMDkwMS5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogVGhpcyBzbWFsbCBwaWVjZSBvZiBzY3JpcHQgaXMgYSB3b3JrYXJvdW5kIHRoYXQncyBuZWVkZWQgdG8gYWRkIHRhYnMgaW4gdG9cbiAqIHRoZSBzZXR0aW5ncyBwYWdlLiBUaGV5IG5lZWQgdG8gYmUgcmVtb3ZlZCBmcm9tIHRoZSBzZXR0aW5ncyBmb3JtIGFuZCBwbG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ICAgICAgICAgICAkKCcuYnJvd3Nlcl9jaGVja2JveCcpLnByb3AoJ2NoZWNrZWQnLCBmYWxzZSk7XG4gICAgICAgICAgICAkKCcuY3JlYXRlX2NoZWNrYm94ZXMnKS5zbGlkZVVwKCk7XG4gICAgICAgIH1cbiAgICB9KTtcblxuICAgIGlmICgkKCcudGVzdF9jb25uZWN0aW9uJykubGVuZ3RoID4gMCkge1xuICAgICAgICBpZiAoJCgnI2lkX3NfdHVybml0aW50b29sdHdvX2FjY291bnRpZCcpLnZhbCgpICE9ICcnIHx8ICQoJyNpZF9zX3R1cm5pdGludG9vbHR3b19zZWNyZXRrZXknKS52YWwoKSAhPSAnJykge1xuICAgICAgICAgICAgJCgnLnRlc3RfY29ubmVjdGlvbicpLnNob3coKTtcbiAgICAgICAgICAgICQoJyN0ZXN0X2xpbmsnKS5zaG93KCk7XG4gICAgICAgIH1cblxuICAgICAgICAkKCcjaWRfc190dXJuaXRpbnRvb2x0d29fYWNjb3VudGlkLCAjaWRfc190dXJuaXRpbnRvb2x0d29fc2VjcmV0a2V5LCAjaWRfc190dXJuaXRpbnRvb2x0d29fYXBpdXJsJykua2V5dXAoZnVuY3Rpb24oKSB7XG4gICAgICAgICAgICAkKCcjdGVzdGluZ19jb250YWluZXInKS5oaWRlKCk7XG5cbiAgICAgICAgICAgIHZhciBhY2NvdW50aWQgPSAkKCcjaWRfc190dXJuaXRpbnRvb2x0d29fYWNjb3VudGlkJykudmFsKCk7XG4gICAgICAgICAgICB2YXIgYWNjb3VudHNoYXJlZCA9ICQoJyNpZF9zX3R1cm5pdGludG9vbHR3b19zZWNyZXRrZXknKS52YWwoKTtcblxuICAgICAgICAgICAgLy8gTWFrZSBzdXJlIHRoZXkgYXJlbid0IGVtcHR5IHN0cmluZ3MuXG4gICAgICAgICAgICBhY2NvdW50aWQgPSBhY2NvdW50aWQudHJpbSgpO1xuICAgICAgICAgICAgYWNjb3VudHNoYXJlZCA9IGFjY291bnRzaGFyZWQudHJpbSgpO1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aCA+IDApIHtcbiAgICAgICAgICAgICAgICB1cmwgPSBcIi4uL21vZC90dXJuaXRpbnRvb2x0d28vYWpheC5waHBcIjtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgdmFyIGFjY291bnRpZCA9ICQoJyNpZF9zX3R1cm5pdGludG9vbHR3b19hY2NvdW50aWQnKS52YWwoKTtcbiAgICAgICAgICAgIHZhciBhY2NvdW50c2hhcmVkID0gJCgnI2lkX3NfdHVybml0aW50b29sdHdvX3NlY3JldGtleScpLnZhbCgpO1xuICAgICAgICAgICAgdmFyIGFjY291bnR1cmwgPSAkKCcjaWRfc190dXJuaXRpbnRvb2x0d29fYXBpdXJsJykudmFsKCk7XG5cbiAgICAgICAgICAgICQuYWpheCh7XG4gICAgICAgICAgICAgICAgdHlwZTogXCJQT1NUXCIsXG4gICAgICAgICAgICAgICAgdXJsOiB1cmwsXG4gICAgICAgICAgICAgICAgZGF0YVR5cGU6IFwianNvblwiLFxuICAgICAgICAgICAgICAgIGRhdGE6IHthY3Rpb246IFwidGVzdF9jb25uZWN0aW9uXCIsIHNlc3NrZXk6IE0uY2ZnLnNlc3NrZXksIGFjY291bnRpZDogYWNjb3VudGlkLCBhY2NvdW50c2hhcmVkOiBhY2NvdW50c2hhcmVkLCB1cmw6IGFjY291bnR1cmx9LFxuICAgICAgICAgICAgICAgIHN1Y2Nlc3M6IGZ1bmN0aW9uKGRhdGEpIHtcbiAgICAgICAgICAgICAgICAgICAgZXZhbChkYXRhKTtcblxuICAgICAgICAgICAgICAgICAgICAkKCcjdGVzdGluZ19jb250YWluZXInKS5oaWRlKCk7XG5cbiAgICAgICAgICAgICAgICAgICAgaWYgKGRhdGEuY29ubmVjdGlvbl9zdGF0dXMgPT0gXCJzdWNjZXNzXCIpIHtcbiAgICAgICAgICAgICAgICAgICAgICAgICQoJyN0ZXN0X3Jlc3VsdCcpLmFkZENsYXNzKCd0ZXN0X2xpbmtfc3VjY2VzcycpO1xuICAgICAgICAgICAgICAgICAgIC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UFBSSxVQUFXLElBQ2pDbkIsRUFBRSxnQkFBZ0JvQixZQUFZLG9DQUM5QnBCLEVBQUUsc0JBQXNCYSxPQUd4QixJQUFJUSxJQUFNLFdBQ3NELEVBQTVEckIsRUFBRSxpREFBaURFLFNBQ25EbUIsSUFBTSxtQ0FHVixJQUFJTCxVQUFZaEIsRUFBRSxtQ0FBbUNZLE1BQ2pESyxjQUFnQmpCLEVBQUUsbUNBQW1DWSxNQUNyRFUsV0FBYXRCLEVBQUUsZ0NBQWdDWSxNQUVuRFosRUFBRXVCLEtBQUssQ0FDSEMsS0FBTSxPQUNOSCxJQUFLQSxJQUNMSSxTQUFVLE9BQ1ZDLEtBQU0sQ0FBQ0MsT0FBUSxrQkFBbUJDLFFBQVNDLEVBQUVDLElBQUlGLFFBQVNaLFVBQVdBLFVBQVdDLGNBQWVBLGNBQWVJLElBQUtDLFlBQ25IUyxRQUFTLFNBQVNMLE1BQ2RNLEtBQUtOLE1BRUwxQixFQUFFLHNCQUFzQmUsT0FFTSxXQUExQlcsS0FBS08sa0JBQ0xqQyxFQUFFLGdCQUFnQmtDLFNBQVMscUJBRTNCbEMsRUFBRSxnQkFBZ0JrQyxTQUFTLGtCQUcvQmxDLEVBQUUsZ0JBQWdCRyxLQUFLdUIsS0FBS1MsS0FDNUJuQyxFQUFFLGdCQUFnQmEsT0FDbEJiLEVBQUUsY0FBY2EsT0FDaEJiLEVBQUUsdUNBQXVDUyxLQUFLLFlBQVkifQ== diff --git a/sass/partials/_listbar.scss b/sass/partials/_listbar.scss index ca674d67..b5dfad6d 100644 --- a/sass/partials/_listbar.scss +++ b/sass/partials/_listbar.scss @@ -119,19 +119,41 @@ } } +@media screen and (max-width: 1500px) { + .dataTables_filter { + input[type="search"] { + max-width: 150px; + } + } +} + @media screen and (max-width: 1460px) { .mod_turnitintooltwo_listbar { font-size: 13px; } } -@media screen and (max-width: 1260px) { - .mod_turnitintooltwo_listbar { - font-size: 12px; +@media screen and (max-width: 1350px) { + .dataTables_filter { + input[type="search"] { + max-width: 80px; + } } .mod_turnitintooltwo_listbar .mod_turnitintooltwo_messages_inbox, .mod_turnitintooltwo_listbar .mod_turnitintooltwo_refresh_link { margin-left: 5px; } +} + +@media screen and (max-width: 1260px) { + .mod_turnitintooltwo_listbar { + font-size: 12px; + } + + .dataTables_filter { + input[type="search"] { + max-width: 105px; + } + } } \ No newline at end of file diff --git a/sass/partials/_part_details.scss b/sass/partials/_part_details.scss index 878a0f0d..0fef30e8 100644 --- a/sass/partials/_part_details.scss +++ b/sass/partials/_part_details.scss @@ -197,8 +197,8 @@ .mod_turnitintooltwo_part_details .editable-click { position: unset; &:before { - top: 10px; - right: 10px; + top: 5px; + right: 5px; } } } \ No newline at end of file diff --git a/styles.css b/styles.css index 1d86e9cc..bf9e002b 100644 --- a/styles.css +++ b/styles.css @@ -1,2 +1,2 @@ -.clearfix:after{content:".";visibility:hidden;display:block;height:0;clear:both}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}h3.main{line-height:40px}.mod_turnitintooltwo .fitem_fbutton{padding-top:12px}.mod_turnitintooltwo span.dimmed{color:#999}.mod_turnitintooltwo #assignmentBrowserTable_wrapper{padding:10px}.mod_turnitintooltwo .nowrap{white-space:nowrap}.mod_turnitintooltwo .italic{font-style:italic}.mod_turnitintooltwo .underline{text-decoration:underline}.mod_turnitintooltwo #or_container,.mod_turnitintooltwo .bold{font-weight:700}.mod_turnitintooltwo span.link{color:#00f}.mod_turnitintooltwo_listbar-container{display:table;width:100%}.mod_turnitintooltwo_listbar{background:#fff;border:1px solid #efefef;position:relative;display:table-cell;vertical-align:middle;padding:10px}.mod_turnitintooltwo_listbar input,.mod_turnitintooltwo_listbar label,.mod_turnitintooltwo_listbar select{margin:0}.mod_turnitintooltwo_listbar input,.mod_turnitintooltwo_listbar select{height:30px;padding:0 5px;border:1px solid #efefef;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_nonsubmitters_link,.mod_turnitintooltwo_listbar .mod_turnitintooltwo_refresh_link,.mod_turnitintooltwo_listbar .mod_turnitintooltwo_refreshing_link{float:right;margin-left:30px;padding:5px 0;width:195px}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_nonsubmitters_link{text-decoration:none;display:none}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_messages_inbox{float:right;margin-left:30px;padding:5px 0;text-decoration:none}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_messages_loading{float:none!important;margin:0!important}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads{float:left;position:relative;top:4px;height:22px}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads img{position:relative;top:4px;left:-2px}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads a.mod_turnitintooltwo_gmpdfzip_box,.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads div.mod_turnitintooltwo_origchecked_zip_open{padding:3px 16px;display:block}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads a.mod_turnitintooltwo_gmpdfzip_box:hover{background:#00699e;color:#fff}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads .mod_turnitintooltwo_zip_open{display:inline}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads .mod_turnitintooltwo_dropdown-menu .mod_turnitintooltwo_origchecked_zip_open:hover{background-color:#00699e;display:block;line-height:20px;color:#fff;font-weight:400}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads .mod_turnitintooltwo_dropdown-menu{white-space:nowrap;margin-top:2px!important}.mod_turnitintooltwo_listbar .dataTables_filter{float:right!important;text-align:left!important}.mod_turnitintooltwo_listbar .dataTables_length{float:left!important}#mod_turnitintooltwo_course_browser_table,.mod_turnitintooltwo_submissions_data_table{width:100%;font-size:13px;border:1px solid #efefef;width:100%!important;margin-top:6px!important}#mod_turnitintooltwo_course_browser_table .ccheckbox,.mod_turnitintooltwo_submissions_data_table .ccheckbox{text-align:center;padding:8px 10px 2px!important}#mod_turnitintooltwo_course_browser_table .odd,.mod_turnitintooltwo_submissions_data_table .odd{background:#efefef!important}#mod_turnitintooltwo_course_browser_table .odd .sorting_1,.mod_turnitintooltwo_submissions_data_table .odd .sorting_1{background:#e7e7e7!important}#mod_turnitintooltwo_course_browser_table .even,.mod_turnitintooltwo_submissions_data_table .even{background:#fff!important}#mod_turnitintooltwo_course_browser_table .even .sorting_1,.mod_turnitintooltwo_submissions_data_table .even .sorting_1{background:#fafafa!important}#mod_turnitintooltwo_course_browser_table a,.mod_turnitintooltwo_submissions_data_table a{text-decoration:none}#mod_turnitintooltwo_course_browser_table thead th,.mod_turnitintooltwo_submissions_data_table thead th{border-bottom:0!important}#mod_turnitintooltwo_course_browser_table th,.mod_turnitintooltwo_submissions_data_table th{padding:10px 20px!important}#mod_turnitintooltwo_course_browser_table td,.mod_turnitintooltwo_submissions_data_table td{padding:15px 10px!important;font-size:13px;vertical-align:top}#mod_turnitintooltwo_course_browser_table .sorting_disabled,.mod_turnitintooltwo_submissions_data_table .sorting_disabled{cursor:default}#mod_turnitintooltwo_course_browser_table .left,.mod_turnitintooltwo_submissions_data_table .left{text-align:left}#mod_turnitintooltwo_course_browser_table .right,.mod_turnitintooltwo_submissions_data_table .right{text-align:right}#mod_turnitintooltwo_course_browser_table .grademark_grade,#mod_turnitintooltwo_course_browser_table .grademark_open,#mod_turnitintooltwo_course_browser_table .origreport_score,.mod_turnitintooltwo_submissions_data_table .grademark_grade,.mod_turnitintooltwo_submissions_data_table .grademark_open,.mod_turnitintooltwo_submissions_data_table .origreport_score{float:right}#mod_turnitintooltwo_course_browser_table .grademark_grade,#mod_turnitintooltwo_course_browser_table .origreport_score,.mod_turnitintooltwo_submissions_data_table .grademark_grade,.mod_turnitintooltwo_submissions_data_table .origreport_score{padding-right:8px}#mod_turnitintooltwo_course_browser_table td.narrow,#mod_turnitintooltwo_course_browser_table th.narrow,.mod_turnitintooltwo_submissions_data_table td.narrow,.mod_turnitintooltwo_submissions_data_table th.narrow{width:60px}#mod_turnitintooltwo_course_browser_table .delete_paper,#mod_turnitintooltwo_course_browser_table .submission_title,#mod_turnitintooltwo_course_browser_table .submit_nothing,.mod_turnitintooltwo_submissions_data_table .delete_paper,.mod_turnitintooltwo_submissions_data_table .submission_title,.mod_turnitintooltwo_submissions_data_table .submit_nothing{cursor:pointer}#mod_turnitintooltwo_course_browser_table .score_colour,.mod_turnitintooltwo_submissions_data_table .score_colour{width:36px;display:inline-block;float:right}#mod_turnitintooltwo_course_browser_table .late_submission,.mod_turnitintooltwo_submissions_data_table .late_submission{color:#d31900}#mod_turnitintooltwo_course_browser_table #tii_digital_receipt_icon,.mod_turnitintooltwo_submissions_data_table #tii_digital_receipt_icon{margin-top:-3px;margin-right:5px}.dataTables_paginate{margin-top:6px;font-size:12px;float:right}.dataTables_paginate a{display:inline-block;border:1px solid #efefef;padding:2px 5px;background-position:left -2px}.dataTables_paginate .current{background:#efefef}.dataTables_paginate span a{border-right:0}.dataTables_paginate .previous{border-right:0}.dataTables_info{float:left;clear:none;margin-top:8px;text-transform:uppercase;font-size:11px}.mod_turnitintooltwo .score_colour_{background:#999}.mod_turnitintooltwo .score_colour_0{background:#3552b7}.mod_turnitintooltwo .score_colour_10{background:#617b8d}.mod_turnitintooltwo .score_colour_20{background:#a1b556}.mod_turnitintooltwo .score_colour_30{background:#dae235}.mod_turnitintooltwo .score_colour_40{background:#edac28}.mod_turnitintooltwo .score_colour_50{background:#edd42f}.mod_turnitintooltwo .score_colour_60{background:#ecad28}.mod_turnitintooltwo .score_colour_70{background:#e15a21}.mod_turnitintooltwo .score_colour_80{background:#e05a21}.mod_turnitintooltwo .score_colour_90{background:#dc4321}.mod_turnitintooltwo .score_colour_100{background:#db4221}.mod_turnitintooltwo .enrol_link{padding:6px 18px 0 0}.mod_turnitintooltwo_part_details{font-size:13px;margin-bottom:0;width:100%;border:1px solid #efefef}.mod_turnitintooltwo_part_details tr{border-right:1px solid #efefef}.mod_turnitintooltwo_part_details th{padding:6px 12px 6px;border-bottom:1px solid #efefef}.mod_turnitintooltwo_part_details td{border:1px solid #efefef;border-top:0;padding:12px 12px 4px}.mod_turnitintooltwo_part_details td.data,.mod_turnitintooltwo_part_details td.export_data,.mod_turnitintooltwo_part_details td.rubric_qm{text-align:center}.mod_turnitintooltwo_part_details td.export_data{padding-top:12px}.mod_turnitintooltwo_part_details td.introduction_cell{border:0;padding:0}.mod_turnitintooltwo_part_details td.peermarks{border:0}.mod_turnitintooltwo_part_details td.peermark_assignments_cell{padding:0;border:0}.mod_turnitintooltwo_part_details .editable-click{border:none;position:relative;padding-right:24px}.mod_turnitintooltwo_part_details .editable-click:before{position:absolute;font-family:FontAwesome;top:0;right:0;font-size:1.33333em!important;color:#a8a8a8!important;line-height:.75em;vertical-align:-15%;content:"\f040";display:inline-block;font-style:normal;font-weight:400;font-size-adjust:none;font-stretch:normal;font-feature-settings:normal;font-language-override:normal;font-kerning:auto;font-synthesis:weight style;font-variant:normal;font-size:inherit;text-rendering:auto;-moz-osx-font-smoothing:grayscale}.mod_turnitintooltwo_part_details .editable-click:hover{border-bottom:0!important}.mod_turnitintooltwo_part_details .introduction,.mod_turnitintooltwo_part_details .peermark_instructions{padding:6px 10px;border-bottom:1px solid #efefef;display:none}.mod_turnitintooltwo_part_details .introduction h2{margin:8px 0}.mod_turnitintooltwo_part_details .introduction p{margin:6px 0}.mod_turnitintooltwo_part_details .mod_turnitintooltwo_zip_open,.mod_turnitintooltwo_part_details .row_export_orig,.mod_turnitintooltwo_part_details .row_export_pdf,.mod_turnitintooltwo_part_details .row_export_xls,.mod_turnitintooltwo_part_details .row_quickmark_manager,.mod_turnitintooltwo_part_details .row_rubric_manager{display:inline}.mod_turnitintooltwo_part_details .toggle_peermark_instructions img{display:block}.mod_turnitintooltwo_part_details .toggle_peermark_instructions,.mod_turnitintooltwo_part_details .toggle_peermarks,.mod_turnitintooltwo_part_details .toggle_summary{cursor:pointer;float:left;position:relative;top:-3px;margin-right:8px}.mod_turnitintooltwo_part_details .peermark_header{margin-bottom:8px;float:left}#turnitin_sync_all_grades{float:right;font-size:16px}.turnitin_sync_grades,.turnitin_syncing_grades{cursor:pointer;margin-bottom:20px}.turnitin_syncing_grades{display:none}.mod_turnitintooltwo_peermark_details{width:100%;border-top:1px solid #efefef}.mod_turnitintooltwo_peermark_details td{padding:8px 12px;border-bottom-width:0}.mod_turnitintooltwo_peermark_details td.peermark_instructions_cell{border:0;padding:0}.mod_turnitintooltwo_quickmark_manager_launch{padding:2px 0 2px 30px;height:20px;color:#0070a8!important}.mod_turnitintooltwo_rubric_manager_launch,.mod_turnitintooltwo_rubric_view_launch{padding:4px 0 4px 0;line-height:22px;color:#0070a8!important}.tii_peermark_manager_launch{color:#090!important}.tii_peermark_reviews_launch{color:#090!important}.tii_peermark_manager_launch,.tii_peermark_reviews_launch{padding:4px 0 4px 46px;height:22px}.mod_turnitintooltwo .peermark_loading_row{text-align:center;margin:0 auto 8px}.mod_turnitintooltwo #id_submissiontext{width:80%;height:320px}#colorbox{margin-top:60px;outline:0!important;overflow:visible!important}.cboxIframe{border-radius:5px}#cboxContent{margin-top:0!important}#tii_close_bar{position:fixed;z-index:9999;right:0;top:0;width:100%;height:45px;background:rgba(0,0,0,.3)}#tii_close_bar a{color:#fff;display:block;background:#000;width:100px;text-align:center;float:right;text-decoration:none;height:45px;line-height:43px}.mod_turnitintooltwo_eula_text{padding-top:15px;text-align:center}.mod_turnitintooltwo_eula input[type=submit]{margin:0}.mod_turnitintooltwo_eula{cursor:pointer;text-decoration:underline;text-align:center;border:1px solid #c00;padding:12px 12px 12px;color:#c00;margin-top:12px;margin-bottom:16px!important;font-size:14px;font-weight:700;display:block}noscript.mod_turnitintooltwo_eula_noscript{border:1px solid #c00;padding:8px;background:#fff;width:99%;text-align:center;display:block;margin:16px 6px;line-height:28px}.mod_turnitintooltwo_eula_warn{color:#c00}.mod_turnitintooltwo_digital_receipt{display:inline-block;width:150px}#mod_turnitintooltwo #box_receipt{padding:20px}#mod_turnitintooltwo #box_receipt .icon{width:64px;height:64px}#mod_turnitintooltwo_digital_receipt_box{padding:20px;background:#fff}#mod_turnitintooltwo_digital_receipt_box .mod_turnitintooltwo_logo{display:block;margin:0 auto;width:214px;height:68px}#mod_turnitintooltwo_digital_receipt_box #mod_turnitintooltwo_receipt_print{text-align:right;display:block}#mod_turnitintooltwo_upload_success{color:#c00}.mod_turnitintooltwo .ui-widget-header{background:#efefef!important;border:0!important;margin-bottom:6px!important}.mod_turnitintooltwo .ui-widget-content{border:0!important}.mod_turnitintooltwo .ui-tabs .ui-tabs-panel{padding:0!important}.mod_turnitintooltwo .ui-tabs .ui-tabs-nav{padding:10px 10px 0!important}.mod_turnitintooltwo_unanonymise_form{background:#fff;padding:12px 12px 0;height:100%;overflow:hidden}#mod_turnitintooltwo_unanonymise_desc{text-align:center;font-weight:700;display:block;margin-bottom:10px}.mod_turnitintooltwo_unanonymise_form textarea{height:90px;width:80%}.mod_turnitintooltwo_nonsubmittersform textarea{height:90px;width:80%}.mod_turnitintooltwo_general_warning{margin-top:8px}.mod_turnitintooltwo_nonsubmittersformsuccessmsg{text-align:center;padding-top:46px}#mod_turnitintooltwo_download_links{margin-left:15px;top:-5px}#mod_turnitintooltwo_rubric_view_form{padding-left:6px}.mod_turnitintooltwo_peermark-loading-span img.icon{margin-right:0}.mod_turnitintooltwo_members .dataTables_wrapper .dataTables_processing{top:0;left:0;right:0;height:100%;margin:0;padding:0}.mod_turnitintooltwo_members .dataTables_wrapper .dataTables_processing .loading-message{position:absolute;top:50%;left:0;right:0;margin-top:-10px}.mod_turnitintooltwo_edit_course_end_date_form{padding:12px 12px 0;background:#fff;height:100%;overflow:hidden}.mod_turnitintooltwo_edit_course_end_date_form #edit_end_date_desc{text-align:center;margin-bottom:20px}.mod_turnitintooltwo_edit_course_end_date_form .fitemtitle{float:none!important;text-align:center!important;width:100%!important;display:block!important}.mod_turnitintooltwo_edit_course_end_date_form .fdate_selector{float:none!important;display:block!important;margin:0 auto!important;width:256px!important}.mod_turnitintooltwo_edit_course_end_date_form .fbutton{width:100%!important;margin:0!important}.mod_turnitintooltwo_edit_course_end_date_form #id_save_end_date{margin:0 auto!important;display:block!important}#page-admin-setting-modsettingturnitintooltwo #test_link,#page-admin-setting-modsettingturnitintooltwo #testing_container{margin-bottom:8px}#page-admin-setting-modsettingturnitintooltwo #test_link img{position:relative;top:4px}#page-admin-setting-modsettingturnitintooltwo #test_result{margin:4px 0 0;padding:5px 10px;width:500px;text-align:center}#page-admin-setting-modsettingturnitintooltwo .test_link_success{border:1px solid #0c0;background:#c3fdb8}#page-admin-setting-modsettingturnitintooltwo .test_link_fail{border:1px solid #c00;background:#e77471}#page-admin-setting-modsettingturnitintooltwo .smallicon{vertical-align:middle}#page-admin-setting-modsettingturnitintooltwo .tii_upgrade_check,#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check{font-size:12px}#page-admin-setting-modsettingturnitintooltwo .tii_upgrade_check{text-decoration:underline;cursor:pointer}#page-admin-setting-modsettingturnitintooltwo .tii_upgrade_check,#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check{width:30px;height:30px;display:inline-block}#page-admin-setting-modsettingturnitintooltwo .tii_upgrade_check img,#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check img{padding:0 0 5px 5px;vertical-align:middle}#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check img{position:relative;top:3px}.centered_cell,.centered_div,.student_read{text-align:center!important}.centered_cb_cell{padding-right:8px;padding-left:8px}body[class*='-moodle23'] .mod_turnitintooltwo .centered_cb_cell input{position:relative;left:-1px}#page-admin-setting-modsettingturnitintooltwo #test_link,#page-admin-setting-modsettingturnitintooltwo #test_result,#page-admin-setting-modsettingturnitintooltwo #testing_container,#page-admin-setting-modsettingturnitintooltwo .test_connection,#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check,.mod_turnitintooltwo #assignment_id,.mod_turnitintooltwo #class_ids,.mod_turnitintooltwo #course_category,.mod_turnitintooltwo #course_id,.mod_turnitintooltwo #create_assignments,.mod_turnitintooltwo #enrolling_error,.mod_turnitintooltwo #inbox_form,.mod_turnitintooltwo #submission_id,.mod_turnitintooltwo #tii_course_id,.mod_turnitintooltwo #tii_course_name,.mod_turnitintooltwo #user_role,.mod_turnitintooltwo #useragreement_form form,.mod_turnitintooltwo #view_context,.mod_turnitintooltwo .dv_url,.mod_turnitintooltwo .enrolling_container,.mod_turnitintooltwo .hidden_class,.mod_turnitintooltwo .js_required,.mod_turnitintooltwo .launch_form,.mod_turnitintooltwo .peermark_instructions,.mod_turnitintooltwo .peermark_loading,.mod_turnitintooltwo .refresh_row .fa-spinner,.mod_turnitintooltwo .row_peermark_reviews,.mod_turnitintooltwo .tii_table_functions,.mod_turnitintooltwo .toggle_peermark_instructions .hide_peermark_instructions,.mod_turnitintooltwo_course_browser_table_filter,.mod_turnitintooltwo_edit_course_end_date_form,.mod_turnitintooltwo_messages_loading,.mod_turnitintooltwo_unanonymise_form{display:none}.mod_turnitintooltwo .class_recreation,.mod_turnitintooltwo .submission_form_container,div#mod_turnitintooltwo_digital_receipt{padding:0 24px}div#mod_turnitintooltwo_digital_receipt{margin:0}.mod_turnitintooltwo .row_peermark_manager,.mod_turnitintooltwo .row_peermark_reviews,.mod_turnitintooltwo .row_score{float:right}#page-admin-setting-modsettingturnitintooltwo #test_link,.mod_turnitintooltwo .download_original_open,.mod_turnitintooltwo .enrol_link,.mod_turnitintooltwo .grademark_open,.mod_turnitintooltwo .origreport_open,.mod_turnitintooltwo .refresh_row,.mod_turnitintooltwo .tii_peermark_manager_launch,.mod_turnitintooltwo .tii_peermark_reviews_launch,.mod_turnitintooltwo span.link,.mod_turnitintooltwo_messages_inbox,.mod_turnitintooltwo_quickmark_manager_launch,.mod_turnitintooltwo_refresh_link,.mod_turnitintooltwo_rubric_manager_launch,.mod_turnitintooltwo_rubric_view_launch,.mod_turnitintooltwo_zip_open{cursor:pointer}.mod_turnitintooltwo #refresh_loading,.mod_turnitintooltwo #submitting_loader{display:none;padding:16px 0 8px;text-align:center}.grey{color:#a8a8a8!important}.light-blue{color:#bbe6ff!important}.gm-blue{color:#0070a8!important}.green{color:#19b719!important}.red{color:#b94a48!important}.tii_checkagainstnote,.tii_genspeednote{border:1px solid #6fcaff;background:#bbe6ff;padding:10px;margin-bottom:16px}.mod_turnitintooltwo_part_details .fa,.mod_turnitintooltwo_submissions_data_table .fa{color:#8f8f8f}.middle-padding{padding:0 5px}.mod_turnitintooltwo #course_search_options,.mod_turnitintooltwo .create_checkboxes{border:1px solid #efefef;padding:6px 10px}.mod_turnitintooltwo .create_checkboxes{display:none;margin-top:12px}.icon_margin{margin-right:20px}.icon_smallmargin{margin-right:10px}.mod_turnitintooltwo iframe{border:1px solid #efefef}#migration-progress-bar{background-color:#fff;height:30px;line-height:28px;border:1px solid;border-radius:3px;margin:15px 0 30px 0}#migration-progress,#migration-progress-todo{width:0%;height:100%;text-align:center;float:left;font-size:14px}#migration-progress{background-color:#0073d2;color:#fff}.migration-spinner{text-align:center;padding:30px}.enablemigrationtool{text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}#migration-progress-bar{background-color:#fff;height:30px;line-height:28px;border:1px solid;border-radius:3px;margin:15px 0 30px 0}#migration-progress,#migration-progress-todo{width:0%;height:100%;text-align:center;float:left;font-size:14px}#migration-progress{background-color:#0073d2;color:#fff}.migration-spinner{text-align:center}.enablemigrationtool{text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.data-table-splitter{float:left;padding-right:20px}#fitem_id_enablemigrationtool,#migration-delete-selected #fitem_id_submitbutton,#migrationform #fitem_id_submitbutton{width:75%;margin:0 auto;background-color:#fff}#fitem_id_enablemigrationtool .fitemtitle{width:300px}#migrationform{margin:30px 0}.migrationheader{color:#003a69;font-size:18px;font-weight:400;margin:10px 0 10px 0}.mod_turnitintooltwo .btn-primary{background:#0073d2}.mod_turnitintooltwo .btn-primary:hover{background:#00569e}.mod_turnitintooltwo .btn-primary:active{background:#003a69}.mod_turnitintooltwo .btn-primary{box-shadow:none;border:none;height:35px;margin-right:11px;border-radius:3px}.migrationTable_length{margin-top:20px}#migrationTable .fa-times{color:red}#migrationTable .fa-check{color:green} +.clearfix:after{content:".";visibility:hidden;display:block;height:0;clear:both}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}h3.main{line-height:40px}.mod_turnitintooltwo .fitem_fbutton{padding-top:12px}.mod_turnitintooltwo span.dimmed{color:#999}.mod_turnitintooltwo #assignmentBrowserTable_wrapper{padding:10px}.mod_turnitintooltwo .nowrap{white-space:nowrap}.mod_turnitintooltwo .italic{font-style:italic}.mod_turnitintooltwo .underline{text-decoration:underline}.mod_turnitintooltwo #or_container,.mod_turnitintooltwo .bold{font-weight:700}.mod_turnitintooltwo span.link{color:#00f}.mod_turnitintooltwo_listbar-container{display:table;width:100%}.mod_turnitintooltwo_listbar{background:#fff;border:1px solid #efefef;position:relative;display:table-cell;vertical-align:middle;padding:10px}.mod_turnitintooltwo_listbar input,.mod_turnitintooltwo_listbar label,.mod_turnitintooltwo_listbar select{margin:0}.mod_turnitintooltwo_listbar input,.mod_turnitintooltwo_listbar select{height:30px;padding:0 5px;border:1px solid #efefef;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;background:#fff}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_nonsubmitters_link,.mod_turnitintooltwo_listbar .mod_turnitintooltwo_refresh_link,.mod_turnitintooltwo_listbar .mod_turnitintooltwo_refreshing_link{float:right;margin-left:30px;padding:5px 0;width:195px}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_nonsubmitters_link{text-decoration:none;display:none}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_messages_inbox{float:right;margin-left:30px;padding:5px 0;text-decoration:none}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_messages_loading{float:none!important;margin:0!important}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads{float:left;position:relative;top:4px;height:22px}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads img{position:relative;top:4px;left:-2px}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads a.mod_turnitintooltwo_gmpdfzip_box,.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads div.mod_turnitintooltwo_origchecked_zip_open{padding:3px 16px;display:block}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads a.mod_turnitintooltwo_gmpdfzip_box:hover{background:#00699e;color:#fff}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads .mod_turnitintooltwo_zip_open{display:inline}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads .mod_turnitintooltwo_dropdown-menu .mod_turnitintooltwo_origchecked_zip_open:hover{background-color:#00699e;display:block;line-height:20px;color:#fff;font-weight:400}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_zip_downloads .mod_turnitintooltwo_dropdown-menu{white-space:nowrap;margin-top:2px!important}.mod_turnitintooltwo_listbar .dataTables_filter{float:right!important;text-align:left!important}.mod_turnitintooltwo_listbar .dataTables_length{float:left!important}@media screen and (max-width:1500px){.dataTables_filter input[type=search]{max-width:150px}}@media screen and (max-width:1460px){.mod_turnitintooltwo_listbar{font-size:13px}}@media screen and (max-width:1350px){.dataTables_filter input[type=search]{max-width:80px}.mod_turnitintooltwo_listbar .mod_turnitintooltwo_messages_inbox,.mod_turnitintooltwo_listbar .mod_turnitintooltwo_refresh_link{margin-left:5px}}@media screen and (max-width:1260px){.mod_turnitintooltwo_listbar{font-size:12px}.dataTables_filter input[type=search]{max-width:105px}}#mod_turnitintooltwo_course_browser_table,.mod_turnitintooltwo_submissions_data_table{width:100%;font-size:13px;border:1px solid #efefef;width:100%!important;margin-top:6px!important}#mod_turnitintooltwo_course_browser_table .ccheckbox,.mod_turnitintooltwo_submissions_data_table .ccheckbox{text-align:center;padding:8px 10px 2px!important}#mod_turnitintooltwo_course_browser_table .odd,.mod_turnitintooltwo_submissions_data_table .odd{background:#efefef!important}#mod_turnitintooltwo_course_browser_table .odd .sorting_1,.mod_turnitintooltwo_submissions_data_table .odd .sorting_1{background:#e7e7e7!important}#mod_turnitintooltwo_course_browser_table .even,.mod_turnitintooltwo_submissions_data_table .even{background:#fff!important}#mod_turnitintooltwo_course_browser_table .even .sorting_1,.mod_turnitintooltwo_submissions_data_table .even .sorting_1{background:#fafafa!important}#mod_turnitintooltwo_course_browser_table a,.mod_turnitintooltwo_submissions_data_table a{text-decoration:none}#mod_turnitintooltwo_course_browser_table thead th,.mod_turnitintooltwo_submissions_data_table thead th{border-bottom:0!important}#mod_turnitintooltwo_course_browser_table th,.mod_turnitintooltwo_submissions_data_table th{padding:10px 20px!important}#mod_turnitintooltwo_course_browser_table td,.mod_turnitintooltwo_submissions_data_table td{padding:15px 10px!important;font-size:13px;vertical-align:top}#mod_turnitintooltwo_course_browser_table .sorting_disabled,.mod_turnitintooltwo_submissions_data_table .sorting_disabled{cursor:default}#mod_turnitintooltwo_course_browser_table .left,.mod_turnitintooltwo_submissions_data_table .left{text-align:left}#mod_turnitintooltwo_course_browser_table .right,.mod_turnitintooltwo_submissions_data_table .right{text-align:right}#mod_turnitintooltwo_course_browser_table .grademark_grade,#mod_turnitintooltwo_course_browser_table .grademark_open,#mod_turnitintooltwo_course_browser_table .origreport_score,.mod_turnitintooltwo_submissions_data_table .grademark_grade,.mod_turnitintooltwo_submissions_data_table .grademark_open,.mod_turnitintooltwo_submissions_data_table .origreport_score{float:right}#mod_turnitintooltwo_course_browser_table .grademark_grade,#mod_turnitintooltwo_course_browser_table .origreport_score,.mod_turnitintooltwo_submissions_data_table .grademark_grade,.mod_turnitintooltwo_submissions_data_table .origreport_score{padding-right:8px}#mod_turnitintooltwo_course_browser_table td.narrow,#mod_turnitintooltwo_course_browser_table th.narrow,.mod_turnitintooltwo_submissions_data_table td.narrow,.mod_turnitintooltwo_submissions_data_table th.narrow{width:60px}#mod_turnitintooltwo_course_browser_table .delete_paper,#mod_turnitintooltwo_course_browser_table .submission_title,#mod_turnitintooltwo_course_browser_table .submit_nothing,.mod_turnitintooltwo_submissions_data_table .delete_paper,.mod_turnitintooltwo_submissions_data_table .submission_title,.mod_turnitintooltwo_submissions_data_table .submit_nothing{cursor:pointer}#mod_turnitintooltwo_course_browser_table .score_colour,.mod_turnitintooltwo_submissions_data_table .score_colour{width:36px;display:inline-block;float:right}#mod_turnitintooltwo_course_browser_table .late_submission,.mod_turnitintooltwo_submissions_data_table .late_submission{color:#d31900}#mod_turnitintooltwo_course_browser_table #tii_digital_receipt_icon,.mod_turnitintooltwo_submissions_data_table #tii_digital_receipt_icon{margin-top:-3px;margin-right:5px}.dataTables_paginate{margin-top:6px;font-size:12px;float:right}.dataTables_paginate a{display:inline-block;border:1px solid #efefef;padding:2px 5px;background-position:left -2px}.dataTables_paginate .current{background:#efefef}.dataTables_paginate span a{border-right:0}.dataTables_paginate .previous{border-right:0}.dataTables_info{float:left;clear:none;margin-top:8px;text-transform:uppercase;font-size:11px}.mod_turnitintooltwo .score_colour_{background:#999}.mod_turnitintooltwo .score_colour_0{background:#3552b7}.mod_turnitintooltwo .score_colour_10{background:#617b8d}.mod_turnitintooltwo .score_colour_20{background:#a1b556}.mod_turnitintooltwo .score_colour_30{background:#dae235}.mod_turnitintooltwo .score_colour_40{background:#edac28}.mod_turnitintooltwo .score_colour_50{background:#edd42f}.mod_turnitintooltwo .score_colour_60{background:#ecad28}.mod_turnitintooltwo .score_colour_70{background:#e15a21}.mod_turnitintooltwo .score_colour_80{background:#e05a21}.mod_turnitintooltwo .score_colour_90{background:#dc4321}.mod_turnitintooltwo .score_colour_100{background:#db4221}.mod_turnitintooltwo .enrol_link{padding:6px 18px 0 0}.mod_turnitintooltwo_part_details{font-size:13px;margin-bottom:0;width:100%;border:1px solid #efefef}.mod_turnitintooltwo_part_details tr{border-right:1px solid #efefef}.mod_turnitintooltwo_part_details th{padding:6px 12px 6px;border-bottom:1px solid #efefef}.mod_turnitintooltwo_part_details td{border:1px solid #efefef;border-top:0;padding:12px 12px 4px}.mod_turnitintooltwo_part_details td.data,.mod_turnitintooltwo_part_details td.export_data,.mod_turnitintooltwo_part_details td.rubric_qm{text-align:center}.mod_turnitintooltwo_part_details td.export_data{padding-top:12px}.mod_turnitintooltwo_part_details td.introduction_cell{border:0;padding:0}.mod_turnitintooltwo_part_details td.peermarks{border:0}.mod_turnitintooltwo_part_details td.peermark_assignments_cell{padding:0;border:0}.mod_turnitintooltwo_part_details .editable-click{border:none;position:relative;padding-right:24px}.mod_turnitintooltwo_part_details .editable-click:before{position:absolute;font-family:FontAwesome;top:0;right:0;font-size:1.33333em!important;color:#a8a8a8!important;line-height:.75em;vertical-align:-15%;content:"\f040";display:inline-block;font-style:normal;font-weight:400;font-size-adjust:none;font-stretch:normal;font-feature-settings:normal;font-language-override:normal;font-kerning:auto;font-synthesis:weight style;font-variant:normal;font-size:inherit;text-rendering:auto;-moz-osx-font-smoothing:grayscale}.mod_turnitintooltwo_part_details .editable-click:hover{border-bottom:0!important}.mod_turnitintooltwo_part_details .introduction,.mod_turnitintooltwo_part_details .peermark_instructions{padding:6px 10px;border-bottom:1px solid #efefef;display:none}.mod_turnitintooltwo_part_details .introduction h2{margin:8px 0}.mod_turnitintooltwo_part_details .introduction p{margin:6px 0}.mod_turnitintooltwo_part_details .mod_turnitintooltwo_zip_open,.mod_turnitintooltwo_part_details .row_export_orig,.mod_turnitintooltwo_part_details .row_export_pdf,.mod_turnitintooltwo_part_details .row_export_xls,.mod_turnitintooltwo_part_details .row_quickmark_manager,.mod_turnitintooltwo_part_details .row_rubric_manager{display:inline}.mod_turnitintooltwo_part_details .toggle_peermark_instructions img{display:block}.mod_turnitintooltwo_part_details .toggle_peermark_instructions,.mod_turnitintooltwo_part_details .toggle_peermarks,.mod_turnitintooltwo_part_details .toggle_summary{cursor:pointer;float:left;position:relative;top:-3px;margin-right:8px}.mod_turnitintooltwo_part_details .peermark_header{margin-bottom:8px;float:left}#turnitin_sync_all_grades{float:right;font-size:16px}.turnitin_sync_grades,.turnitin_syncing_grades{cursor:pointer;margin-bottom:20px}.turnitin_syncing_grades{display:none}.mod_turnitintooltwo_peermark_details{width:100%;border-top:1px solid #efefef}.mod_turnitintooltwo_peermark_details td{padding:8px 12px;border-bottom-width:0}.mod_turnitintooltwo_peermark_details td.peermark_instructions_cell{border:0;padding:0}.mod_turnitintooltwo_quickmark_manager_launch{padding:2px 0 2px 30px;height:20px;color:#0070a8!important}.mod_turnitintooltwo_rubric_manager_launch,.mod_turnitintooltwo_rubric_view_launch{padding:4px 0 4px 0;line-height:22px;color:#0070a8!important}.tii_peermark_manager_launch{color:#090!important}.tii_peermark_reviews_launch{color:#090!important}.tii_peermark_manager_launch,.tii_peermark_reviews_launch{padding:4px 0 4px 46px;height:22px}.mod_turnitintooltwo .peermark_loading_row{text-align:center;margin:0 auto 8px}@media screen and (max-width:1400px){td.cell{position:relative}.mod_turnitintooltwo_part_details .editable-click{position:unset}.mod_turnitintooltwo_part_details .editable-click:before{top:5px;right:5px}}.mod_turnitintooltwo #id_submissiontext{width:80%;height:320px}#colorbox{margin-top:60px;outline:0!important;overflow:visible!important}.cboxIframe{border-radius:5px}#cboxContent{margin-top:0!important}#tii_close_bar{position:fixed;z-index:9999;right:0;top:0;width:100%;height:45px;background:rgba(0,0,0,.3)}#tii_close_bar a{color:#fff;display:block;background:#000;width:100px;text-align:center;float:right;text-decoration:none;height:45px;line-height:43px}.mod_turnitintooltwo_eula_text{padding-top:15px;text-align:center}.mod_turnitintooltwo_eula input[type=submit]{margin:0}.mod_turnitintooltwo_eula{cursor:pointer;text-decoration:underline;text-align:center;border:1px solid #c00;padding:12px 12px 12px;color:#c00;margin-top:12px;margin-bottom:16px!important;font-size:14px;font-weight:700;display:block}noscript.mod_turnitintooltwo_eula_noscript{border:1px solid #c00;padding:8px;background:#fff;width:99%;text-align:center;display:block;margin:16px 6px;line-height:28px}.mod_turnitintooltwo_eula_warn{color:#c00}.mod_turnitintooltwo_digital_receipt{display:inline-block;width:150px}#mod_turnitintooltwo #box_receipt{padding:20px}#mod_turnitintooltwo #box_receipt .icon{width:64px;height:64px}#mod_turnitintooltwo_digital_receipt_box{padding:20px;background:#fff}#mod_turnitintooltwo_digital_receipt_box .mod_turnitintooltwo_logo{display:block;margin:0 auto;width:214px;height:68px}#mod_turnitintooltwo_digital_receipt_box #mod_turnitintooltwo_receipt_print{text-align:right;display:block}#mod_turnitintooltwo_upload_success{color:#c00}.mod_turnitintooltwo .ui-widget-header{background:#efefef!important;border:0!important;margin-bottom:6px!important}.mod_turnitintooltwo .ui-widget-content{border:0!important}.mod_turnitintooltwo .ui-tabs .ui-tabs-panel{padding:0!important}.mod_turnitintooltwo .ui-tabs .ui-tabs-nav{padding:10px 10px 0!important}.mod_turnitintooltwo_unanonymise_form{background:#fff;padding:12px 12px 0;height:100%;overflow:hidden}#mod_turnitintooltwo_unanonymise_desc{text-align:center;font-weight:700;display:block;margin-bottom:10px}.mod_turnitintooltwo_unanonymise_form textarea{height:90px;width:80%}.mod_turnitintooltwo_nonsubmittersform textarea{height:90px;width:80%}.mod_turnitintooltwo_general_warning{margin-top:8px}.mod_turnitintooltwo_nonsubmittersformsuccessmsg{text-align:center;padding-top:46px}#mod_turnitintooltwo_download_links{margin-left:15px;top:-5px}#mod_turnitintooltwo_rubric_view_form{padding-left:6px}.mod_turnitintooltwo_peermark-loading-span img.icon{margin-right:0}.mod_turnitintooltwo_members .dataTables_wrapper .dataTables_processing{top:0;left:0;right:0;height:100%;margin:0;padding:0}.mod_turnitintooltwo_members .dataTables_wrapper .dataTables_processing .loading-message{position:absolute;top:50%;left:0;right:0;margin-top:-10px}.mod_turnitintooltwo_edit_course_end_date_form{padding:12px 12px 0;background:#fff;height:100%;overflow:hidden}.mod_turnitintooltwo_edit_course_end_date_form #edit_end_date_desc{text-align:center;margin-bottom:20px}.mod_turnitintooltwo_edit_course_end_date_form .fitemtitle{float:none!important;text-align:center!important;width:100%!important;display:block!important}.mod_turnitintooltwo_edit_course_end_date_form .fdate_selector{float:none!important;display:block!important;margin:0 auto!important;width:256px!important}.mod_turnitintooltwo_edit_course_end_date_form .fbutton{width:100%!important;margin:0!important}.mod_turnitintooltwo_edit_course_end_date_form #id_save_end_date{margin:0 auto!important;display:block!important}#page-admin-setting-modsettingturnitintooltwo #test_link,#page-admin-setting-modsettingturnitintooltwo #testing_container{margin-bottom:8px}#page-admin-setting-modsettingturnitintooltwo #test_link img{position:relative;top:4px}#page-admin-setting-modsettingturnitintooltwo #test_result{margin:4px 0 0;padding:5px 10px;width:500px;text-align:center}#page-admin-setting-modsettingturnitintooltwo .test_link_success{border:1px solid #0c0;background:#c3fdb8}#page-admin-setting-modsettingturnitintooltwo .test_link_fail{border:1px solid #c00;background:#e77471}#page-admin-setting-modsettingturnitintooltwo .smallicon{vertical-align:middle}#page-admin-setting-modsettingturnitintooltwo .tii_upgrade_check,#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check{font-size:12px}#page-admin-setting-modsettingturnitintooltwo .tii_upgrade_check{text-decoration:underline;cursor:pointer}#page-admin-setting-modsettingturnitintooltwo .tii_upgrade_check,#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check{width:30px;height:30px;display:inline-block}#page-admin-setting-modsettingturnitintooltwo .tii_upgrade_check img,#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check img{padding:0 0 5px 5px;vertical-align:middle}#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check img{position:relative;top:3px}.centered_cell,.centered_div,.student_read{text-align:center!important}.centered_cb_cell{padding-right:8px;padding-left:8px}body[class*='-moodle23'] .mod_turnitintooltwo .centered_cb_cell input{position:relative;left:-1px}#page-admin-setting-modsettingturnitintooltwo #test_link,#page-admin-setting-modsettingturnitintooltwo #test_result,#page-admin-setting-modsettingturnitintooltwo #testing_container,#page-admin-setting-modsettingturnitintooltwo .test_connection,#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check,.mod_turnitintooltwo #assignment_id,.mod_turnitintooltwo #class_ids,.mod_turnitintooltwo #course_category,.mod_turnitintooltwo #course_id,.mod_turnitintooltwo #create_assignments,.mod_turnitintooltwo #enrolling_error,.mod_turnitintooltwo #inbox_form,.mod_turnitintooltwo #submission_id,.mod_turnitintooltwo #tii_course_id,.mod_turnitintooltwo #tii_course_name,.mod_turnitintooltwo #user_role,.mod_turnitintooltwo #useragreement_form form,.mod_turnitintooltwo #view_context,.mod_turnitintooltwo .dv_url,.mod_turnitintooltwo .enrolling_container,.mod_turnitintooltwo .hidden_class,.mod_turnitintooltwo .js_required,.mod_turnitintooltwo .launch_form,.mod_turnitintooltwo .peermark_instructions,.mod_turnitintooltwo .peermark_loading,.mod_turnitintooltwo .refresh_row .fa-spinner,.mod_turnitintooltwo .row_peermark_reviews,.mod_turnitintooltwo .tii_table_functions,.mod_turnitintooltwo .toggle_peermark_instructions .hide_peermark_instructions,.mod_turnitintooltwo_course_browser_table_filter,.mod_turnitintooltwo_edit_course_end_date_form,.mod_turnitintooltwo_messages_loading,.mod_turnitintooltwo_unanonymise_form{display:none}.mod_turnitintooltwo .class_recreation,.mod_turnitintooltwo .submission_form_container,div#mod_turnitintooltwo_digital_receipt{padding:0 24px}div#mod_turnitintooltwo_digital_receipt{margin:0}.mod_turnitintooltwo .row_peermark_manager,.mod_turnitintooltwo .row_peermark_reviews,.mod_turnitintooltwo .row_score{float:right}#page-admin-setting-modsettingturnitintooltwo #test_link,.mod_turnitintooltwo .download_original_open,.mod_turnitintooltwo .enrol_link,.mod_turnitintooltwo .grademark_open,.mod_turnitintooltwo .origreport_open,.mod_turnitintooltwo .refresh_row,.mod_turnitintooltwo .tii_peermark_manager_launch,.mod_turnitintooltwo .tii_peermark_reviews_launch,.mod_turnitintooltwo span.link,.mod_turnitintooltwo_messages_inbox,.mod_turnitintooltwo_quickmark_manager_launch,.mod_turnitintooltwo_refresh_link,.mod_turnitintooltwo_rubric_manager_launch,.mod_turnitintooltwo_rubric_view_launch,.mod_turnitintooltwo_zip_open{cursor:pointer}.mod_turnitintooltwo #refresh_loading,.mod_turnitintooltwo #submitting_loader{display:none;padding:16px 0 8px;text-align:center}.grey{color:#a8a8a8!important}.light-blue{color:#bbe6ff!important}.gm-blue{color:#0070a8!important}.green{color:#19b719!important}.red{color:#b94a48!important}.tii_checkagainstnote,.tii_genspeednote{border:1px solid #6fcaff;background:#bbe6ff;padding:10px;margin-bottom:16px}.mod_turnitintooltwo_part_details .fa,.mod_turnitintooltwo_submissions_data_table .fa{color:#8f8f8f}.middle-padding{padding:0 5px}.mod_turnitintooltwo #course_search_options,.mod_turnitintooltwo .create_checkboxes{border:1px solid #efefef;padding:6px 10px}.mod_turnitintooltwo .create_checkboxes{display:none;margin-top:12px}.icon_margin{margin-right:20px}.icon_smallmargin{margin-right:10px}.mod_turnitintooltwo iframe{border:1px solid #efefef}#migration-progress-bar{background-color:#fff;height:30px;line-height:28px;border:1px solid;border-radius:3px;margin:15px 0 30px 0}#migration-progress,#migration-progress-todo{width:0%;height:100%;text-align:center;float:left;font-size:14px}#migration-progress{background-color:#0073d2;color:#fff}.migration-spinner{text-align:center;padding:30px}.enablemigrationtool{text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}#migration-progress-bar{background-color:#fff;height:30px;line-height:28px;border:1px solid;border-radius:3px;margin:15px 0 30px 0}#migration-progress,#migration-progress-todo{width:0%;height:100%;text-align:center;float:left;font-size:14px}#migration-progress{background-color:#0073d2;color:#fff}.migration-spinner{text-align:center}.enablemigrationtool{text-align:center;text-shadow:0 -1px 0 rgba(0,0,0,.25);background-color:#0e90d2;background-image:-moz-linear-gradient(top,#149bdf,#0480be);background-image:-webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));background-image:-webkit-linear-gradient(top,#149bdf,#0480be);background-image:-o-linear-gradient(top,#149bdf,#0480be);background-image:linear-gradient(to bottom,#149bdf,#0480be);background-repeat:repeat-x;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-moz-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;-webkit-transition:width .6s ease;-moz-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.data-table-splitter{float:left;padding-right:20px}#fitem_id_enablemigrationtool,#migration-delete-selected #fitem_id_submitbutton,#migrationform #fitem_id_submitbutton{width:75%;margin:0 auto;background-color:#fff}#fitem_id_enablemigrationtool .fitemtitle{width:300px}#migrationform{margin:30px 0}.migrationheader{color:#003a69;font-size:18px;font-weight:400;margin:10px 0 10px 0}.mod_turnitintooltwo .btn-primary{background:#0073d2}.mod_turnitintooltwo .btn-primary:hover{background:#00569e}.mod_turnitintooltwo .btn-primary:active{background:#003a69}.mod_turnitintooltwo .btn-primary{box-shadow:none;border:none;height:35px;margin-right:11px;border-radius:3px}.migrationTable_length{margin-top:20px}#migrationTable .fa-times{color:red}#migrationTable .fa-check{color:green} /*# sourceMappingURL=styles.css.map */ diff --git a/styles.css.map b/styles.css.map index 1f4ec215..1b7eaa48 100644 --- a/styles.css.map +++ b/styles.css.map @@ -1 +1 @@ -{"version":3,"sources":["_utilities.scss","partials/_listbar.scss","_variables.scss","partials/_table.scss","partials/_part_details.scss","partials/_modal.scss","partials/_eula.scss","partials/_digital_receipt.scss","partials/_inbox.scss","partials/_members.scss","settings_partials/_class_migration_tab.scss","settings_partials/_settings_tab.scss","_other.scss"],"names":[],"mappings":"AAOA,gBACG,QAAS,IACT,WAAY,OACZ,QAAS,MACT,OAAQ,EACR,MAAO,KAGV,SACI,SAAU,SACV,MAAO,IACP,OAAQ,IACR,QAAS,EACT,OAAQ,KACR,SAAU,OACV,KAAM,cACN,OAAQ,EAGZ,QACI,YAAa,KAGjB,oC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B,KAEtB,0CACI,MAAO,MAEX,eACI,OAAQ,KAAA,EAGZ,iBACI,MAAO,QACP,UAAW,KACX,YAAa,IACb,OAAQ,KAAA,EAAA,KAAA,EAEZ,kCACI,WAAY,QAEhB,wCACI,WAAY,QAEhB,yCACI,WAAY,QAEhB,kCACI,WAAY,KACZ,OAAQ,KACR,OAAQ,KACR,aAAc,KACd,cAAe,IAGnB,uBACI,WAAY,KAGhB,0BACI,MAAO,IAGX,0BACI,MAAO","file":"styles.css","sourcesContent":["/*\n * Helpers and general styles\n */\n\n/*\n * Lets us clear floats for older moodles\n */\n.clearfix:after {\n content: \".\";\n visibility: hidden;\n display: block;\n height: 0;\n clear: both;\n}\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0,0,0,0);\n border: 0;\n}\n\nh3.main {\n line-height: 40px;\n}\n\n.mod_turnitintooltwo {\n .fitem_fbutton {\n padding-top:12px;\n }\n\n span.dimmed {\n color:#999999;\n }\n\n #assignmentBrowserTable_wrapper {\n padding: 10px;\n }\n\n .nowrap {\n white-space:nowrap;\n }\n\n .italic {\n font-style: italic;\n }\n\n .underline {\n text-decoration: underline;\n }\n\n .bold,\n #or_container {\n font-weight:bold;\n }\n\n span.link {\n color: #0000FF;\n }\n}","/*\n * Listbar - Contains datatables links, dropdowns and search\n */\n\n.mod_turnitintooltwo_listbar-container {\n display: table;\n width: 100%;\n}\n\n.mod_turnitintooltwo_listbar {\n background: #fff;\n border: 1px solid $border-color;\n position: relative;\n display: table-cell;\n vertical-align: middle;\n padding: 10px;\n\n label,\n input,\n select {\n margin: 0;\n }\n\n select,\n input {\n height: 30px;\n padding: 0 5px;\n border: 1px solid #EFEFEF;\n -webkit-border-radius: 4px;\n -moz-border-radius: 4px;\n border-radius: 4px;\n background: #fff;\n }\n\n .mod_turnitintooltwo_refresh_link,\n .mod_turnitintooltwo_refreshing_link,\n .mod_turnitintooltwo_nonsubmitters_link {\n float: right;\n margin-left: 30px;\n padding: 5px 0;\n width: 195px;\n }\n\n .mod_turnitintooltwo_nonsubmitters_link {\n text-decoration: none;\n display: none;\n }\n\n /*\n * Messages inbox link in listbar\n */\n .mod_turnitintooltwo_messages_inbox {\n float: right;\n margin-left: 30px;\n padding: 5px 0;\n text-decoration: none;\n }\n\n .mod_turnitintooltwo_messages_loading {\n float: none !important;\n margin: 0 !important;\n }\n\n // Zip file download links\n .mod_turnitintooltwo_zip_downloads {\n float: left;\n position: relative;\n top: 4px;\n height: 22px;\n\n img {\n position: relative;\n top: 4px;\n left: -2px;\n }\n\n div.mod_turnitintooltwo_origchecked_zip_open,\n a.mod_turnitintooltwo_gmpdfzip_box {\n padding: 3px 16px;\n display: block;\n }\n\n a.mod_turnitintooltwo_gmpdfzip_box:hover {\n background: $hover-blue;\n color: $white;\n }\n\n .mod_turnitintooltwo_zip_open {\n display: inline;\n }\n\n .mod_turnitintooltwo_dropdown-menu .mod_turnitintooltwo_origchecked_zip_open:hover {\n background-color: $hover-blue;\n display: block;\n line-height: 20px;\n color: $white;\n font-weight: normal;\n }\n\n .mod_turnitintooltwo_dropdown-menu {\n white-space: nowrap;\n margin-top: 2px !important;\n }\n }\n\n /*\n * DataTables filter (search bar)\n */\n .dataTables_filter {\n float: right !important;\n text-align: left !important;\n }\n\n /*\n * DataTables length (how many per page)\n */\n .dataTables_length {\n float: left !important;\n }\n}","// Colours\n$light-grey: #EFEFEF;\n$dark-grey: #A8A8A8;\n$light-blue: #bbe6ff;\n$light-blue2: #6fcaff;\n$gm-blue: #0070A8;\n$white: #fff;\n$red: #B94A48;\n$green: #19B719;\n$hover-blue: #00699e;\n\n// Digital Receipt Success;\n$bright-red: #CC0000;\n\n// Table border colours\n$border-color: $light-grey;\n\n// Odd / Even colours for table\n$odd-color: $light-grey;\n$even-color: $white;\n\n// Table padding\n$table-padding: 15px;\n$table-head-padding: $table-padding - 5px;","/*\n 1. DataTable Table\n 2. DataTable Pagination\n 3. Score colour\n*/\n\n\n/*\n * 1. Table styles and related\n */\n.mod_turnitintooltwo_submissions_data_table,\n#mod_turnitintooltwo_course_browser_table {\n width:100%;\n font-size: 13px;\n border:1px solid $border-color;\n width:100% !important;\n margin-top: 6px !important;\n\n .ccheckbox {\n text-align: center;\n padding: 8px 10px 2px !important;\n }\n\n .odd {\n background: $odd-color !important;\n\n .sorting_1 {\n background: darken($odd-color, 3%) !important;\n }\n }\n\n .even {\n background: $even-color !important;\n\n .sorting_1 {\n background: darken($even-color, 2%) !important;\n }\n }\n\n a {\n text-decoration: none;\n }\n\n thead th {\n border-bottom: 0 !important;\n }\n\n th {\n padding: $table-head-padding 20px !important;\n }\n\n td {\n padding: $table-padding 10px !important;\n font-size: 13px;\n vertical-align: top;\n }\n\n .sorting_disabled {\n cursor: default;\n }\n\n .left {\n text-align: left;\n }\n\n .right {\n text-align: right;\n }\n\n .grademark_open,\n .grademark_grade,\n .origreport_score {\n float:right;\n }\n\n .grademark_grade,\n .origreport_score {\n padding-right:8px;\n }\n\n th.narrow,\n td.narrow {\n width: 60px;\n }\n\n .submit_nothing, .submission_title, .delete_paper {\n cursor: pointer;\n }\n\n .score_colour {\n width:36px;\n display:inline-block;\n float:right;\n }\n\n .late_submission {\n color: #d31900;\n }\n\n #tii_digital_receipt_icon {\n margin-top: -3px;\n margin-right: 5px;\n }\n}\n\n/*\n * 2. DataTables pagination\n */\n.dataTables_paginate {\n margin-top: 6px;\n font-size:12px;\n float: right;\n\n a {\n display: inline-block;\n border: 1px solid $border-color;\n padding: 2px 5px;\n background-position: left -2px;\n }\n\n .current {\n background: #EFEFEF;\n }\n\n span a {\n border-right: 0;\n }\n\n .previous {\n border-right: 0;\n }\n\n}\n\n.dataTables_info {\n float:left;\n clear:none;\n margin-top: 8px;\n text-transform: uppercase;\n font-size: 11px;\n}\n\n\n/*\n * 3. Score colour for originality report.\n */\n.mod_turnitintooltwo .score_colour_ { background: #999999; }\n.mod_turnitintooltwo .score_colour_0 { background: #3552B7; }\n.mod_turnitintooltwo .score_colour_10 { background: #617B8D; }\n.mod_turnitintooltwo .score_colour_20 { background: #A1B556; }\n.mod_turnitintooltwo .score_colour_30 { background: #DAE235; }\n.mod_turnitintooltwo .score_colour_40 { background: #EDAC28; }\n.mod_turnitintooltwo .score_colour_50 { background: #EDD42F; }\n.mod_turnitintooltwo .score_colour_60 { background: #ECAD28; }\n.mod_turnitintooltwo .score_colour_70 { background: #E15A21; }\n.mod_turnitintooltwo .score_colour_80 { background: #E05A21; }\n.mod_turnitintooltwo .score_colour_90 { background: #DC4321; }\n.mod_turnitintooltwo .score_colour_100 { background: #DB4221; }\n\n\n.mod_turnitintooltwo .enrol_link {\n padding: 6px 18px 0 0;\n}",".mod_turnitintooltwo_part_details {\n font-size: 13px;\n margin-bottom:0px;\n width:100%;\n border: 1px solid $border-color;\n\n tr {\n border-right: 1px solid $border-color;\n }\n\n th {\n padding: 6px 12px 6px;\n border-bottom: 1px solid $border-color;\n }\n\n td {\n border: 1px solid $border-color;\n border-top: 0;\n padding: 12px 12px 4px;\n }\n\n td.data,\n td.export_data,\n td.rubric_qm {\n text-align: center;\n }\n\n td.export_data {\n padding-top:12px;\n }\n\n td.introduction_cell {\n border:0;\n padding:0;\n }\n\n td.peermarks {\n border:0;\n }\n\n td.peermark_assignments_cell {\n padding:0;\n border:0;\n }\n\n .editable-click {\n border:none;\n position: relative;\n padding-right: 24px;\n\n &:before {\n position:absolute;\n font-family: FontAwesome;\n top:0;\n right:0;\n font-size: 1.33333em !important;\n color: $dark-grey !important;\n line-height: 0.75em;\n vertical-align: -15%;\n content: \"\\f040\";\n display: inline-block;\n font-style: normal;\n font-weight: normal;\n font-size-adjust: none;\n font-stretch: normal;\n font-feature-settings: normal;\n font-language-override: normal;\n font-kerning: auto;\n font-synthesis: weight style;\n font-variant: normal;\n font-size: inherit;\n text-rendering: auto;\n -moz-osx-font-smoothing: grayscale;\n }\n\n &:hover {\n border-bottom: 0 !important;\n }\n }\n\n /*\n * Introduction (summary section)\n */\n .introduction,\n .peermark_instructions {\n padding: 6px 10px;\n border-bottom: 1px solid $border-color;\n display: none;\n }\n\n .introduction h2 {\n margin: 8px 0;\n }\n\n .introduction p {\n margin: 6px 0;\n }\n\n /*\n * Export options\n */\n .row_export_xls,\n .row_export_pdf,\n .row_export_orig,\n .mod_turnitintooltwo_zip_open,\n .row_rubric_manager,\n .row_quickmark_manager {\n display:inline;\n }\n\n .toggle_peermark_instructions img {\n display: block;\n }\n\n .toggle_summary,\n .toggle_peermarks,\n .toggle_peermark_instructions {\n cursor: pointer;\n float:left;\n position: relative;\n top:-3px;\n margin-right:8px;\n }\n\n .peermark_header {\n margin-bottom:8px;\n float:left;\n }\n}\n\n#turnitin_sync_all_grades {\n float: right;\n font-size: 16px;\n}\n\n.turnitin_sync_grades, .turnitin_syncing_grades {\n cursor: pointer;\n margin-bottom: 20px;\n}\n\n.turnitin_syncing_grades {\n display: none;\n}\n\n.mod_turnitintooltwo_peermark_details {\n width: 100%;\n border-top: 1px solid $border-color;\n\n td {\n padding:8px 12px;\n border-bottom-width: 0;\n }\n\n td.peermark_instructions_cell {\n border:0;\n padding:0;\n }\n}\n\n.mod_turnitintooltwo_quickmark_manager_launch {\n padding: 2px 0 2px 30px;\n height: 20px;\n color: #0070A8 !important;\n}\n\n.mod_turnitintooltwo_rubric_manager_launch,\n.mod_turnitintooltwo_rubric_view_launch {\n padding:4px 0px 4px 0px;\n line-height: 22px;\n color: #0070A8 !important;\n}\n\n.tii_peermark_manager_launch {\n color: #009900 !important;\n}\n\n.tii_peermark_reviews_launch {\n color: #009900 !important;\n}\n\n.tii_peermark_manager_launch,\n.tii_peermark_reviews_launch {\n padding: 4px 0 4px 46px;\n height: 22px;\n}\n\n.mod_turnitintooltwo .peermark_loading_row {\n text-align: center;\n margin:0 auto 8px;\n}","/*\n 1. Styles within modal\n 2. Styles for actual colorbox modal\n 3. Styles for close bar at the top\n*/\n\n/*\n * 1. Within the modal\n */\n\n.mod_turnitintooltwo #id_submissiontext {\n width: 80%;\n height: 320px;\n}\n\n/*\n * 2. Colorbox modal iframe\n */\n#colorbox {\n margin-top: 60px;\n outline: 0 !important;\n overflow: visible !important;\n}\n\n.cboxIframe {\n border-radius: 5px;\n}\n\n#cboxContent {\n margin-top: 0 !important;\n}\n\n/*\n * 3. Modal close bar\n */\n#tii_close_bar {\n position: fixed;\n z-index: 9999;\n right: 0;\n top: 0;\n width: 100%;\n height: 45px;\n background: rgba(0, 0, 0, .3);\n\n a {\n color: #fff;\n display: block;\n background: #000;\n width: 100px;\n text-align: center;\n float: right;\n text-decoration: none;\n height: 45px;\n line-height: 43px;\n }\n}",".mod_turnitintooltwo_eula_text {\n padding-top: 15px;\n text-align: center;\n}\n\n.mod_turnitintooltwo_eula input[type=\"submit\"] {\n margin: 0;\n}\n\n.mod_turnitintooltwo_eula {\n\tcursor:pointer;\n\ttext-decoration: underline;\n\ttext-align: center;\n\tborder: 1px solid $bright-red;\n\tpadding: 12px 12px 12px;\n\tcolor: $bright-red;\n\tmargin-top:12px;\n\tmargin-bottom:16px !important;\n\tfont-size: 14px;\n\tfont-weight: bold;\n\tdisplay: block;\n}\n\nnoscript.mod_turnitintooltwo_eula_noscript {\n border: 1px solid $bright-red;\n padding: 8px;\n background: $white;\n width: 99%;\n text-align:center;\n display:block;\n margin:16px 6px;\n line-height: 28px;\n}\n\n.mod_turnitintooltwo_eula_warn {\n\tcolor: $bright-red;\n}",".mod_turnitintooltwo_digital_receipt {\n display: inline-block;\n width: 150px;\n}\n\n#mod_turnitintooltwo #box_receipt {\n padding:20px;\n}\n\n#mod_turnitintooltwo #box_receipt .icon {\n width:64px;\n height:64px;\n}\n\n#mod_turnitintooltwo_digital_receipt_box {\n padding: 20px;\n background: #fff;\n\n .mod_turnitintooltwo_logo {\n display: block;\n margin: 0 auto;\n width: 214px;\n height: 68px;\n }\n\n #mod_turnitintooltwo_receipt_print {\n text-align: right;\n display: block;\n }\n\n}\n\n#mod_turnitintooltwo_upload_success {\n color: $bright-red;\n}","/*\n * Tabs on inbox page - this is overriding jquery datatables styles.\n */\n.mod_turnitintooltwo .ui-widget-header {\n background: $light-grey !important;\n border: 0 !important;\n margin-bottom: 6px !important;\n}\n\n.mod_turnitintooltwo .ui-widget-content {\n border: 0 !important;\n}\n\n.mod_turnitintooltwo .ui-tabs .ui-tabs-panel {\n padding: 0 !important;\n}\n\n.mod_turnitintooltwo .ui-tabs .ui-tabs-nav {\n padding: 10px 10px 0 !important;\n}\n\n/*\n * Unanonymise form in modal\n */\n.mod_turnitintooltwo_unanonymise_form {\n background: #FFFFFF;\n padding: 12px 12px 0;\n height: 100%;\n overflow: hidden\n}\n\n#mod_turnitintooltwo_unanonymise_desc {\n text-align: center;\n font-weight: bold;\n display: block;\n margin-bottom: 10px;\n}\n\n.mod_turnitintooltwo_unanonymise_form textarea {\n height: 90px;\n width: 80%;\n}\n\n/*\n * Email non submitters form\n */\n\n.mod_turnitintooltwo_nonsubmittersform textarea {\n height: 90px;\n width: 80%;\n}\n\n.mod_turnitintooltwo_general_warning {\n margin-top: 8px;\n}\n\n.mod_turnitintooltwo_nonsubmittersformsuccessmsg {\n text-align: center;\n padding-top: 46px;\n}\n\n#mod_turnitintooltwo_download_links {\n margin-left: 15px;\n top: -5px;\n}\n\n#mod_turnitintooltwo_rubric_view_form {\n padding-left: 6px;\n}\n\n.mod_turnitintooltwo_peermark-loading-span img.icon {\n margin-right: 0px;\n}",".mod_turnitintooltwo_members {\n // Overwrite datatables CSS for loading message to cover the whole table\n // accurately. By default datatables centers the loading message vertically\n // and horizontally but it is only the size of the message meaning a user\n // can click the content being loaded behind the message as the loading mask\n // won't cover it all. Fix is to create a loading mask that covers all the\n // loading content and position the message within the mask\n .dataTables_wrapper .dataTables_processing {\n // cover entire table that is loading\n top: 0px;\n left: 0px;\n right: 0px;\n height: 100%;\n margin: 0px;\n padding: 0px;\n\n .loading-message {\n // position message within loading element\n position: absolute;\n top: 50%;\n left: 0px;\n right: 0px;\n margin-top: -10px; // half line-height\n }\n }\n}\n","/*\nLocated at mod/turnitintooltwo/settings_extras.php?cmd=courses\n*/\n\n.mod_turnitintooltwo_edit_course_end_date_form {\n padding: 12px 12px 0;\n background: $white;\n height: 100%;\n overflow: hidden;\n\n #edit_end_date_desc {\n text-align: center;\n margin-bottom: 20px;\n }\n\n .fitemtitle {\n float: none !important;\n text-align: center !important;\n width: 100% !important;\n display: block !important;\n }\n\n .fdate_selector {\n float: none !important;\n display: block !important;\n margin: 0 auto !important;\n width: 256px !important;\n }\n\n .fbutton {\n width: 100% !important;\n margin: 0 !important;\n }\n\n #id_save_end_date {\n margin: 0 auto !important;\n display: block !important;\n }\n}","#page-admin-setting-modsettingturnitintooltwo {\n\n #test_link,\n #testing_container {\n margin-bottom:8px;\n }\n\n #test_link img {\n position: relative;\n top:4px;\n }\n\n #test_result {\n margin: 4px 0 0;\n padding: 5px 10px;\n width: 500px;\n text-align: center;\n }\n\n .test_link_success {\n border: 1px solid #00CC00;\n background: #C3FDB8;\n }\n\n .test_link_fail {\n border:1px solid #CC0000;\n background: #E77471;\n }\n\n .smallicon {\n vertical-align: middle;\n }\n\n // Upgrade\n .tii_upgrade_check,\n .tii_upgrading_check {\n font-size: 12px;\n }\n\n .tii_upgrade_check {\n text-decoration: underline;\n cursor: pointer;\n }\n\n .tii_upgrade_check,\n .tii_upgrading_check {\n width: 30px;\n height: 30px;\n display: inline-block;\n }\n .tii_upgrade_check img,\n .tii_upgrading_check img {\n padding: 0 0 5px 5px;\n vertical-align: middle;\n }\n\n .tii_upgrading_check img {\n position: relative;\n top: 3px;\n }\n}","/*\n * No other place to go.\n */\n.student_read,\n.centered_cell,\n.centered_div {\n text-align:center !important;\n}\n\n.centered_cb_cell {\n padding-right:8px;\n padding-left:8px;\n}\n\nbody[class*='-moodle23'] .mod_turnitintooltwo .centered_cb_cell input {\n position: relative;\n left: -1px;\n}\n\n.mod_turnitintooltwo .hidden_class, .mod_turnitintooltwo #user_role, .mod_turnitintooltwo .launch_form,\n.mod_turnitintooltwo #useragreement_form form, .mod_turnitintooltwo #assignment_id, .mod_turnitintooltwo #course_id,\n.mod_turnitintooltwo #submission_id, .mod_turnitintooltwo #tii_course_id, .mod_turnitintooltwo #tii_course_name,\n.mod_turnitintooltwo .enrolling_container, .mod_turnitintooltwo #view_context,\n.mod_turnitintooltwo #inbox_form, .mod_turnitintooltwo_unanonymise_form, .mod_turnitintooltwo_edit_course_end_date_form,\n.mod_turnitintooltwo #course_category, .mod_turnitintooltwo #class_ids, .mod_turnitintooltwo #create_assignments,\n.mod_turnitintooltwo .row_peermark_reviews, .mod_turnitintooltwo .peermark_instructions,\n.mod_turnitintooltwo .toggle_peermark_instructions .hide_peermark_instructions,\n.mod_turnitintooltwo_course_browser_table_filter, .mod_turnitintooltwo .js_required,\n.mod_turnitintooltwo #course_category, .mod_turnitintooltwo #create_assignments,\n#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check, #page-admin-setting-modsettingturnitintooltwo #test_link,\n#page-admin-setting-modsettingturnitintooltwo #test_result, #page-admin-setting-modsettingturnitintooltwo .test_connection,\n#page-admin-setting-modsettingturnitintooltwo #testing_container, .mod_turnitintooltwo .peermark_loading,\n.mod_turnitintooltwo_messages_loading, .mod_turnitintooltwo .tii_table_functions, .mod_turnitintooltwo .refresh_row .fa-spinner,\n.mod_turnitintooltwo #enrolling_error, .mod_turnitintooltwo .dv_url {\n display:none;\n}\n\n\n.mod_turnitintooltwo .submission_form_container, .mod_turnitintooltwo .class_recreation,\ndiv#mod_turnitintooltwo_digital_receipt {\n padding: 0 24px;\n}\n\ndiv#mod_turnitintooltwo_digital_receipt {\n margin: 0;\n}\n\n.mod_turnitintooltwo .row_score, .mod_turnitintooltwo .row_peermark_manager, .mod_turnitintooltwo .row_peermark_reviews {\n float:right;\n}\n\n.mod_turnitintooltwo .grademark_open, .mod_turnitintooltwo .origreport_open, .mod_turnitintooltwo .download_original_open,\n.mod_turnitintooltwo_zip_open, .mod_turnitintooltwo .enrol_link, .mod_turnitintooltwo_refresh_link,\n.mod_turnitintooltwo .refresh_row, .mod_turnitintooltwo_messages_inbox, .mod_turnitintooltwo span.link,\n.mod_turnitintooltwo_rubric_manager_launch, .mod_turnitintooltwo_rubric_view_launch,\n.mod_turnitintooltwo_quickmark_manager_launch, .mod_turnitintooltwo .tii_peermark_manager_launch,\n.mod_turnitintooltwo .tii_peermark_reviews_launch, #page-admin-setting-modsettingturnitintooltwo #test_link {\n cursor:pointer;\n}\n\n.mod_turnitintooltwo #submitting_loader, .mod_turnitintooltwo #refresh_loading {\n display:none;\n padding: 16px 0 8px;\n text-align: center;\n}\n\n.grey {\n color: $dark-grey !important;\n}\n\n.light-blue {\n color: $light-blue !important;\n}\n\n.gm-blue {\n color: $gm-blue !important;\n}\n\n.green {\n color: $green !important;\n}\n\n.red {\n color: $red !important;\n}\n\n.tii_checkagainstnote, .tii_genspeednote {\n border: 1px solid $light-blue2;\n background: $light-blue;\n padding: 10px;\n margin-bottom: 16px;\n}\n\n.mod_turnitintooltwo_submissions_data_table .fa,\n.mod_turnitintooltwo_part_details .fa {\n color: darken($dark-grey, 10%);\n}\n\n.middle-padding {\n padding: 0 5px;\n}\n\n.mod_turnitintooltwo #course_search_options, .mod_turnitintooltwo .create_checkboxes {\n border: 1px solid $border-color;\n padding: 6px 10px;\n}\n\n.mod_turnitintooltwo .create_checkboxes {\n display: none;\n margin-top: 12px;\n}\n\n.icon_margin {\n margin-right: 20px;\n}\n.icon_smallmargin {\n margin-right: 10px;\n}\n\n.mod_turnitintooltwo iframe {\n border: 1px solid $light-grey;\n}\n\n#migration-progress-bar {\n background-color: #FFFFFF;\n height: 30px;\n line-height: 28px;\n border: 1px solid;\n border-radius: 3px;\n margin: 15px 0px 30px 0px;\n}\n#migration-progress, #migration-progress-todo {\n width: 0%;\n height: 100%;\n text-align: center;\n float: left;\n font-size: 14px;\n}\n#migration-progress {\n background-color: #0073D2;\n color: #fff;\n}\n.migration-spinner {\n text-align: center;\n padding: 30px;\n}\n\n.enablemigrationtool {\n text-align: center;\n text-shadow: 0 -1px 0 rgba(0,0,0,.25);\n background-color: #0e90d2;\n background-image: -moz-linear-gradient(top,#149bdf,#0480be);\n background-image: -webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));\n background-image: -webkit-linear-gradient(top,#149bdf,#0480be);\n background-image: -o-linear-gradient(top,#149bdf,#0480be);\n background-image: linear-gradient(to bottom,#149bdf,#0480be);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);\n -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-transition: width 0.6s ease;\n -moz-transition: width 0.6s ease;\n -o-transition: width 0.6s ease;\n transition: width 0.6s ease;\n}\n\n#migration-progress-bar {\n background-color: #FFFFFF;\n height: 30px;\n line-height: 28px;\n border: 1px solid;\n border-radius: 3px;\n margin: 15px 0px 30px 0px;\n}\n#migration-progress, #migration-progress-todo {\n width: 0%;\n height: 100%;\n text-align: center;\n float: left;\n font-size: 14px;\n}\n#migration-progress {\n background-color: #0073D2;\n color: #fff;\n}\n.migration-spinner {\n text-align: center;\n}\n\n.enablemigrationtool {\n text-align: center;\n text-shadow: 0 -1px 0 rgba(0,0,0,.25);\n background-color: #0e90d2;\n background-image: -moz-linear-gradient(top,#149bdf,#0480be);\n background-image: -webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));\n background-image: -webkit-linear-gradient(top,#149bdf,#0480be);\n background-image: -o-linear-gradient(top,#149bdf,#0480be);\n background-image: linear-gradient(to bottom,#149bdf,#0480be);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);\n -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-transition: width 0.6s ease;\n -moz-transition: width 0.6s ease;\n -o-transition: width 0.6s ease;\n transition: width 0.6s ease;\n}\n\n.data-table-splitter {\n float: left;\n padding-right: 20px;\n}\n\n#migrationform #fitem_id_submitbutton,\n#migration-delete-selected #fitem_id_submitbutton,\n#fitem_id_enablemigrationtool {\n width: 75%;\n margin: 0 auto;\n background-color: #FFFFFF;\n}\n#fitem_id_enablemigrationtool .fitemtitle {\n width: 300px;\n}\n#migrationform {\n margin: 30px 0px;\n}\n\n.migrationheader {\n color: #003A69;\n font-size: 18px;\n font-weight: normal;\n margin: 10px 0 10px 0;\n}\n.mod_turnitintooltwo .btn-primary {\n background: #0073D2;\n}\n.mod_turnitintooltwo .btn-primary:hover {\n background: #00569E;\n}\n.mod_turnitintooltwo .btn-primary:active {\n background: #003A69;\n}\n.mod_turnitintooltwo .btn-primary {\n box-shadow: none;\n border: none;\n height: 35px;\n margin-right: 11px;\n border-radius: 3px;\n}\n\n.migrationTable_length {\n margin-top: 20px;\n}\n\n#migrationTable .fa-times {\n color: #FF0000;\n}\n\n#migrationTable .fa-check {\n color: #008000;\n}\n"]} \ No newline at end of file +{"version":3,"sources":["_utilities.scss","partials/_listbar.scss","_variables.scss","partials/_table.scss","partials/_part_details.scss","partials/_modal.scss","partials/_eula.scss","partials/_digital_receipt.scss","partials/_inbox.scss","partials/_members.scss","settings_partials/_class_migration_tab.scss","settings_partials/_settings_tab.scss","_other.scss"],"names":[],"mappings":"AAOA,gBACG,QAAS,IACT,WAAY,OACZ,QAAS,MACT,OAAQ,EACR,MAAO,KAGV,SACI,SAAU,SACV,MAAO,IACP,OAAQ,IACR,QAAS,EACT,OAAQ,KACR,SAAU,OACV,KAAM,cACN,OAAQ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AG,KAAI,EAAE,gBAC3B,mBAAoB,WACpB,gBAAiB,WACjB,WAAY,WACZ,mBAAoB,MAAA,IAAA,KACpB,gBAAiB,MAAA,IAAA,KACjB,cAAe,MAAA,IAAA,KACf,WAAY,MAAA,IAAA,KAGhB,qBACI,MAAO,KACP,cAAe,KAKnB,8BADA,kDADA,sCAGI,MAAO,IACP,OAAQ,EAAA,KACR,iBAAkB,KAEtB,0CACI,MAAO,MAEX,eACI,OAAQ,KAAA,EAGZ,iBACI,MAAO,QACP,UAAW,KACX,YAAa,IACb,OAAQ,KAAA,EAAA,KAAA,EAEZ,kCACI,WAAY,QAEhB,wCACI,WAAY,QAEhB,yCACI,WAAY,QAEhB,kCACI,WAAY,KACZ,OAAQ,KACR,OAAQ,KACR,aAAc,KACd,cAAe,IAGnB,uBACI,WAAY,KAGhB,0BACI,MAAO,IAGX,0BACI,MAAO","file":"styles.css","sourcesContent":["/*\n * Helpers and general styles\n */\n\n/*\n * Lets us clear floats for older moodles\n */\n.clearfix:after {\n content: \".\";\n visibility: hidden;\n display: block;\n height: 0;\n clear: both;\n}\n\n.sr-only {\n position: absolute;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip: rect(0,0,0,0);\n border: 0;\n}\n\nh3.main {\n line-height: 40px;\n}\n\n.mod_turnitintooltwo {\n .fitem_fbutton {\n padding-top:12px;\n }\n\n span.dimmed {\n color:#999999;\n }\n\n #assignmentBrowserTable_wrapper {\n padding: 10px;\n }\n\n .nowrap {\n white-space:nowrap;\n }\n\n .italic {\n font-style: italic;\n }\n\n .underline {\n text-decoration: underline;\n }\n\n .bold,\n #or_container {\n font-weight:bold;\n }\n\n span.link {\n color: #0000FF;\n }\n}","/*\n * Listbar - Contains datatables links, dropdowns and search\n */\n\n.mod_turnitintooltwo_listbar-container {\n display: table;\n width: 100%;\n}\n\n.mod_turnitintooltwo_listbar {\n background: #fff;\n border: 1px solid $border-color;\n position: relative;\n display: table-cell;\n vertical-align: middle;\n padding: 10px;\n\n label,\n input,\n select {\n margin: 0;\n }\n\n select,\n input {\n height: 30px;\n padding: 0 5px;\n border: 1px solid #EFEFEF;\n -webkit-border-radius: 4px;\n -moz-border-radius: 4px;\n border-radius: 4px;\n background: #fff;\n }\n\n .mod_turnitintooltwo_refresh_link,\n .mod_turnitintooltwo_refreshing_link,\n .mod_turnitintooltwo_nonsubmitters_link {\n float: right;\n margin-left: 30px;\n padding: 5px 0;\n width: 195px;\n }\n\n .mod_turnitintooltwo_nonsubmitters_link {\n text-decoration: none;\n display: none;\n }\n\n /*\n * Messages inbox link in listbar\n */\n .mod_turnitintooltwo_messages_inbox {\n float: right;\n margin-left: 30px;\n padding: 5px 0;\n text-decoration: none;\n }\n\n .mod_turnitintooltwo_messages_loading {\n float: none !important;\n margin: 0 !important;\n }\n\n // Zip file download links\n .mod_turnitintooltwo_zip_downloads {\n float: left;\n position: relative;\n top: 4px;\n height: 22px;\n\n img {\n position: relative;\n top: 4px;\n left: -2px;\n }\n\n div.mod_turnitintooltwo_origchecked_zip_open,\n a.mod_turnitintooltwo_gmpdfzip_box {\n padding: 3px 16px;\n display: block;\n }\n\n a.mod_turnitintooltwo_gmpdfzip_box:hover {\n background: $hover-blue;\n color: $white;\n }\n\n .mod_turnitintooltwo_zip_open {\n display: inline;\n }\n\n .mod_turnitintooltwo_dropdown-menu .mod_turnitintooltwo_origchecked_zip_open:hover {\n background-color: $hover-blue;\n display: block;\n line-height: 20px;\n color: $white;\n font-weight: normal;\n }\n\n .mod_turnitintooltwo_dropdown-menu {\n white-space: nowrap;\n margin-top: 2px !important;\n }\n }\n\n /*\n * DataTables filter (search bar)\n */\n .dataTables_filter {\n float: right !important;\n text-align: left !important;\n }\n\n /*\n * DataTables length (how many per page)\n */\n .dataTables_length {\n float: left !important;\n }\n}\n\n@media screen and (max-width: 1500px) {\n .dataTables_filter {\n input[type=\"search\"] {\n max-width: 150px;\n }\n }\n}\n\n@media screen and (max-width: 1460px) {\n .mod_turnitintooltwo_listbar {\n font-size: 13px;\n }\n}\n\n@media screen and (max-width: 1350px) {\n .dataTables_filter {\n input[type=\"search\"] {\n max-width: 80px;\n }\n }\n\n .mod_turnitintooltwo_listbar .mod_turnitintooltwo_messages_inbox,\n .mod_turnitintooltwo_listbar .mod_turnitintooltwo_refresh_link {\n margin-left: 5px;\n }\n}\n\n@media screen and (max-width: 1260px) {\n .mod_turnitintooltwo_listbar {\n font-size: 12px;\n }\n\n .dataTables_filter {\n input[type=\"search\"] {\n max-width: 105px;\n }\n }\n}","// Colours\n$light-grey: #EFEFEF;\n$dark-grey: #A8A8A8;\n$light-blue: #bbe6ff;\n$light-blue2: #6fcaff;\n$gm-blue: #0070A8;\n$white: #fff;\n$red: #B94A48;\n$green: #19B719;\n$hover-blue: #00699e;\n\n// Digital Receipt Success;\n$bright-red: #CC0000;\n\n// Table border colours\n$border-color: $light-grey;\n\n// Odd / Even colours for table\n$odd-color: $light-grey;\n$even-color: $white;\n\n// Table padding\n$table-padding: 15px;\n$table-head-padding: $table-padding - 5px;","/*\n 1. DataTable Table\n 2. DataTable Pagination\n 3. Score colour\n*/\n\n\n/*\n * 1. Table styles and related\n */\n.mod_turnitintooltwo_submissions_data_table,\n#mod_turnitintooltwo_course_browser_table {\n width:100%;\n font-size: 13px;\n border:1px solid $border-color;\n width:100% !important;\n margin-top: 6px !important;\n\n .ccheckbox {\n text-align: center;\n padding: 8px 10px 2px !important;\n }\n\n .odd {\n background: $odd-color !important;\n\n .sorting_1 {\n background: darken($odd-color, 3%) !important;\n }\n }\n\n .even {\n background: $even-color !important;\n\n .sorting_1 {\n background: darken($even-color, 2%) !important;\n }\n }\n\n a {\n text-decoration: none;\n }\n\n thead th {\n border-bottom: 0 !important;\n }\n\n th {\n padding: $table-head-padding 20px !important;\n }\n\n td {\n padding: $table-padding 10px !important;\n font-size: 13px;\n vertical-align: top;\n }\n\n .sorting_disabled {\n cursor: default;\n }\n\n .left {\n text-align: left;\n }\n\n .right {\n text-align: right;\n }\n\n .grademark_open,\n .grademark_grade,\n .origreport_score {\n float:right;\n }\n\n .grademark_grade,\n .origreport_score {\n padding-right:8px;\n }\n\n th.narrow,\n td.narrow {\n width: 60px;\n }\n\n .submit_nothing, .submission_title, .delete_paper {\n cursor: pointer;\n }\n\n .score_colour {\n width:36px;\n display:inline-block;\n float:right;\n }\n\n .late_submission {\n color: #d31900;\n }\n\n #tii_digital_receipt_icon {\n margin-top: -3px;\n margin-right: 5px;\n }\n}\n\n/*\n * 2. DataTables pagination\n */\n.dataTables_paginate {\n margin-top: 6px;\n font-size:12px;\n float: right;\n\n a {\n display: inline-block;\n border: 1px solid $border-color;\n padding: 2px 5px;\n background-position: left -2px;\n }\n\n .current {\n background: #EFEFEF;\n }\n\n span a {\n border-right: 0;\n }\n\n .previous {\n border-right: 0;\n }\n\n}\n\n.dataTables_info {\n float:left;\n clear:none;\n margin-top: 8px;\n text-transform: uppercase;\n font-size: 11px;\n}\n\n\n/*\n * 3. Score colour for originality report.\n */\n.mod_turnitintooltwo .score_colour_ { background: #999999; }\n.mod_turnitintooltwo .score_colour_0 { background: #3552B7; }\n.mod_turnitintooltwo .score_colour_10 { background: #617B8D; }\n.mod_turnitintooltwo .score_colour_20 { background: #A1B556; }\n.mod_turnitintooltwo .score_colour_30 { background: #DAE235; }\n.mod_turnitintooltwo .score_colour_40 { background: #EDAC28; }\n.mod_turnitintooltwo .score_colour_50 { background: #EDD42F; }\n.mod_turnitintooltwo .score_colour_60 { background: #ECAD28; }\n.mod_turnitintooltwo .score_colour_70 { background: #E15A21; }\n.mod_turnitintooltwo .score_colour_80 { background: #E05A21; }\n.mod_turnitintooltwo .score_colour_90 { background: #DC4321; }\n.mod_turnitintooltwo .score_colour_100 { background: #DB4221; }\n\n\n.mod_turnitintooltwo .enrol_link {\n padding: 6px 18px 0 0;\n}",".mod_turnitintooltwo_part_details {\n font-size: 13px;\n margin-bottom:0px;\n width:100%;\n border: 1px solid $border-color;\n\n tr {\n border-right: 1px solid $border-color;\n }\n\n th {\n padding: 6px 12px 6px;\n border-bottom: 1px solid $border-color;\n }\n\n td {\n border: 1px solid $border-color;\n border-top: 0;\n padding: 12px 12px 4px;\n }\n\n td.data,\n td.export_data,\n td.rubric_qm {\n text-align: center;\n }\n\n td.export_data {\n padding-top:12px;\n }\n\n td.introduction_cell {\n border:0;\n padding:0;\n }\n\n td.peermarks {\n border:0;\n }\n\n td.peermark_assignments_cell {\n padding:0;\n border:0;\n }\n\n .editable-click {\n border:none;\n position: relative;\n padding-right: 24px;\n\n &:before {\n position:absolute;\n font-family: FontAwesome;\n top:0;\n right:0;\n font-size: 1.33333em !important;\n color: $dark-grey !important;\n line-height: 0.75em;\n vertical-align: -15%;\n content: \"\\f040\";\n display: inline-block;\n font-style: normal;\n font-weight: normal;\n font-size-adjust: none;\n font-stretch: normal;\n font-feature-settings: normal;\n font-language-override: normal;\n font-kerning: auto;\n font-synthesis: weight style;\n font-variant: normal;\n font-size: inherit;\n text-rendering: auto;\n -moz-osx-font-smoothing: grayscale;\n }\n\n &:hover {\n border-bottom: 0 !important;\n }\n }\n\n /*\n * Introduction (summary section)\n */\n .introduction,\n .peermark_instructions {\n padding: 6px 10px;\n border-bottom: 1px solid $border-color;\n display: none;\n }\n\n .introduction h2 {\n margin: 8px 0;\n }\n\n .introduction p {\n margin: 6px 0;\n }\n\n /*\n * Export options\n */\n .row_export_xls,\n .row_export_pdf,\n .row_export_orig,\n .mod_turnitintooltwo_zip_open,\n .row_rubric_manager,\n .row_quickmark_manager {\n display:inline;\n }\n\n .toggle_peermark_instructions img {\n display: block;\n }\n\n .toggle_summary,\n .toggle_peermarks,\n .toggle_peermark_instructions {\n cursor: pointer;\n float:left;\n position: relative;\n top:-3px;\n margin-right:8px;\n }\n\n .peermark_header {\n margin-bottom:8px;\n float:left;\n }\n}\n\n#turnitin_sync_all_grades {\n float: right;\n font-size: 16px;\n}\n\n.turnitin_sync_grades, .turnitin_syncing_grades {\n cursor: pointer;\n margin-bottom: 20px;\n}\n\n.turnitin_syncing_grades {\n display: none;\n}\n\n.mod_turnitintooltwo_peermark_details {\n width: 100%;\n border-top: 1px solid $border-color;\n\n td {\n padding:8px 12px;\n border-bottom-width: 0;\n }\n\n td.peermark_instructions_cell {\n border:0;\n padding:0;\n }\n}\n\n.mod_turnitintooltwo_quickmark_manager_launch {\n padding: 2px 0 2px 30px;\n height: 20px;\n color: #0070A8 !important;\n}\n\n.mod_turnitintooltwo_rubric_manager_launch,\n.mod_turnitintooltwo_rubric_view_launch {\n padding:4px 0px 4px 0px;\n line-height: 22px;\n color: #0070A8 !important;\n}\n\n.tii_peermark_manager_launch {\n color: #009900 !important;\n}\n\n.tii_peermark_reviews_launch {\n color: #009900 !important;\n}\n\n.tii_peermark_manager_launch,\n.tii_peermark_reviews_launch {\n padding: 4px 0 4px 46px;\n height: 22px;\n}\n\n.mod_turnitintooltwo .peermark_loading_row {\n text-align: center;\n margin:0 auto 8px;\n}\n\n@media screen and (max-width: 1400px) {\n td.cell {\n position: relative;\n }\n \n .mod_turnitintooltwo_part_details .editable-click {\n position: unset;\n &:before {\n top: 5px;\n right: 5px; \n }\n }\n}","/*\n 1. Styles within modal\n 2. Styles for actual colorbox modal\n 3. Styles for close bar at the top\n*/\n\n/*\n * 1. Within the modal\n */\n\n.mod_turnitintooltwo #id_submissiontext {\n width: 80%;\n height: 320px;\n}\n\n/*\n * 2. Colorbox modal iframe\n */\n#colorbox {\n margin-top: 60px;\n outline: 0 !important;\n overflow: visible !important;\n}\n\n.cboxIframe {\n border-radius: 5px;\n}\n\n#cboxContent {\n margin-top: 0 !important;\n}\n\n/*\n * 3. Modal close bar\n */\n#tii_close_bar {\n position: fixed;\n z-index: 9999;\n right: 0;\n top: 0;\n width: 100%;\n height: 45px;\n background: rgba(0, 0, 0, .3);\n\n a {\n color: #fff;\n display: block;\n background: #000;\n width: 100px;\n text-align: center;\n float: right;\n text-decoration: none;\n height: 45px;\n line-height: 43px;\n }\n}",".mod_turnitintooltwo_eula_text {\n padding-top: 15px;\n text-align: center;\n}\n\n.mod_turnitintooltwo_eula input[type=\"submit\"] {\n margin: 0;\n}\n\n.mod_turnitintooltwo_eula {\n\tcursor:pointer;\n\ttext-decoration: underline;\n\ttext-align: center;\n\tborder: 1px solid $bright-red;\n\tpadding: 12px 12px 12px;\n\tcolor: $bright-red;\n\tmargin-top:12px;\n\tmargin-bottom:16px !important;\n\tfont-size: 14px;\n\tfont-weight: bold;\n\tdisplay: block;\n}\n\nnoscript.mod_turnitintooltwo_eula_noscript {\n border: 1px solid $bright-red;\n padding: 8px;\n background: $white;\n width: 99%;\n text-align:center;\n display:block;\n margin:16px 6px;\n line-height: 28px;\n}\n\n.mod_turnitintooltwo_eula_warn {\n\tcolor: $bright-red;\n}",".mod_turnitintooltwo_digital_receipt {\n display: inline-block;\n width: 150px;\n}\n\n#mod_turnitintooltwo #box_receipt {\n padding:20px;\n}\n\n#mod_turnitintooltwo #box_receipt .icon {\n width:64px;\n height:64px;\n}\n\n#mod_turnitintooltwo_digital_receipt_box {\n padding: 20px;\n background: #fff;\n\n .mod_turnitintooltwo_logo {\n display: block;\n margin: 0 auto;\n width: 214px;\n height: 68px;\n }\n\n #mod_turnitintooltwo_receipt_print {\n text-align: right;\n display: block;\n }\n\n}\n\n#mod_turnitintooltwo_upload_success {\n color: $bright-red;\n}","/*\n * Tabs on inbox page - this is overriding jquery datatables styles.\n */\n.mod_turnitintooltwo .ui-widget-header {\n background: $light-grey !important;\n border: 0 !important;\n margin-bottom: 6px !important;\n}\n\n.mod_turnitintooltwo .ui-widget-content {\n border: 0 !important;\n}\n\n.mod_turnitintooltwo .ui-tabs .ui-tabs-panel {\n padding: 0 !important;\n}\n\n.mod_turnitintooltwo .ui-tabs .ui-tabs-nav {\n padding: 10px 10px 0 !important;\n}\n\n/*\n * Unanonymise form in modal\n */\n.mod_turnitintooltwo_unanonymise_form {\n background: #FFFFFF;\n padding: 12px 12px 0;\n height: 100%;\n overflow: hidden\n}\n\n#mod_turnitintooltwo_unanonymise_desc {\n text-align: center;\n font-weight: bold;\n display: block;\n margin-bottom: 10px;\n}\n\n.mod_turnitintooltwo_unanonymise_form textarea {\n height: 90px;\n width: 80%;\n}\n\n/*\n * Email non submitters form\n */\n\n.mod_turnitintooltwo_nonsubmittersform textarea {\n height: 90px;\n width: 80%;\n}\n\n.mod_turnitintooltwo_general_warning {\n margin-top: 8px;\n}\n\n.mod_turnitintooltwo_nonsubmittersformsuccessmsg {\n text-align: center;\n padding-top: 46px;\n}\n\n#mod_turnitintooltwo_download_links {\n margin-left: 15px;\n top: -5px;\n}\n\n#mod_turnitintooltwo_rubric_view_form {\n padding-left: 6px;\n}\n\n.mod_turnitintooltwo_peermark-loading-span img.icon {\n margin-right: 0px;\n}",".mod_turnitintooltwo_members {\n // Overwrite datatables CSS for loading message to cover the whole table\n // accurately. By default datatables centers the loading message vertically\n // and horizontally but it is only the size of the message meaning a user\n // can click the content being loaded behind the message as the loading mask\n // won't cover it all. Fix is to create a loading mask that covers all the\n // loading content and position the message within the mask\n .dataTables_wrapper .dataTables_processing {\n // cover entire table that is loading\n top: 0px;\n left: 0px;\n right: 0px;\n height: 100%;\n margin: 0px;\n padding: 0px;\n\n .loading-message {\n // position message within loading element\n position: absolute;\n top: 50%;\n left: 0px;\n right: 0px;\n margin-top: -10px; // half line-height\n }\n }\n}\n","/*\nLocated at mod/turnitintooltwo/settings_extras.php?cmd=courses\n*/\n\n.mod_turnitintooltwo_edit_course_end_date_form {\n padding: 12px 12px 0;\n background: $white;\n height: 100%;\n overflow: hidden;\n\n #edit_end_date_desc {\n text-align: center;\n margin-bottom: 20px;\n }\n\n .fitemtitle {\n float: none !important;\n text-align: center !important;\n width: 100% !important;\n display: block !important;\n }\n\n .fdate_selector {\n float: none !important;\n display: block !important;\n margin: 0 auto !important;\n width: 256px !important;\n }\n\n .fbutton {\n width: 100% !important;\n margin: 0 !important;\n }\n\n #id_save_end_date {\n margin: 0 auto !important;\n display: block !important;\n }\n}","#page-admin-setting-modsettingturnitintooltwo {\n\n #test_link,\n #testing_container {\n margin-bottom:8px;\n }\n\n #test_link img {\n position: relative;\n top:4px;\n }\n\n #test_result {\n margin: 4px 0 0;\n padding: 5px 10px;\n width: 500px;\n text-align: center;\n }\n\n .test_link_success {\n border: 1px solid #00CC00;\n background: #C3FDB8;\n }\n\n .test_link_fail {\n border:1px solid #CC0000;\n background: #E77471;\n }\n\n .smallicon {\n vertical-align: middle;\n }\n\n // Upgrade\n .tii_upgrade_check,\n .tii_upgrading_check {\n font-size: 12px;\n }\n\n .tii_upgrade_check {\n text-decoration: underline;\n cursor: pointer;\n }\n\n .tii_upgrade_check,\n .tii_upgrading_check {\n width: 30px;\n height: 30px;\n display: inline-block;\n }\n .tii_upgrade_check img,\n .tii_upgrading_check img {\n padding: 0 0 5px 5px;\n vertical-align: middle;\n }\n\n .tii_upgrading_check img {\n position: relative;\n top: 3px;\n }\n}","/*\n * No other place to go.\n */\n.student_read,\n.centered_cell,\n.centered_div {\n text-align:center !important;\n}\n\n.centered_cb_cell {\n padding-right:8px;\n padding-left:8px;\n}\n\nbody[class*='-moodle23'] .mod_turnitintooltwo .centered_cb_cell input {\n position: relative;\n left: -1px;\n}\n\n.mod_turnitintooltwo .hidden_class, .mod_turnitintooltwo #user_role, .mod_turnitintooltwo .launch_form,\n.mod_turnitintooltwo #useragreement_form form, .mod_turnitintooltwo #assignment_id, .mod_turnitintooltwo #course_id,\n.mod_turnitintooltwo #submission_id, .mod_turnitintooltwo #tii_course_id, .mod_turnitintooltwo #tii_course_name,\n.mod_turnitintooltwo .enrolling_container, .mod_turnitintooltwo #view_context,\n.mod_turnitintooltwo #inbox_form, .mod_turnitintooltwo_unanonymise_form, .mod_turnitintooltwo_edit_course_end_date_form,\n.mod_turnitintooltwo #course_category, .mod_turnitintooltwo #class_ids, .mod_turnitintooltwo #create_assignments,\n.mod_turnitintooltwo .row_peermark_reviews, .mod_turnitintooltwo .peermark_instructions,\n.mod_turnitintooltwo .toggle_peermark_instructions .hide_peermark_instructions,\n.mod_turnitintooltwo_course_browser_table_filter, .mod_turnitintooltwo .js_required,\n.mod_turnitintooltwo #course_category, .mod_turnitintooltwo #create_assignments,\n#page-admin-setting-modsettingturnitintooltwo .tii_upgrading_check, #page-admin-setting-modsettingturnitintooltwo #test_link,\n#page-admin-setting-modsettingturnitintooltwo #test_result, #page-admin-setting-modsettingturnitintooltwo .test_connection,\n#page-admin-setting-modsettingturnitintooltwo #testing_container, .mod_turnitintooltwo .peermark_loading,\n.mod_turnitintooltwo_messages_loading, .mod_turnitintooltwo .tii_table_functions, .mod_turnitintooltwo .refresh_row .fa-spinner,\n.mod_turnitintooltwo #enrolling_error, .mod_turnitintooltwo .dv_url {\n display:none;\n}\n\n\n.mod_turnitintooltwo .submission_form_container, .mod_turnitintooltwo .class_recreation,\ndiv#mod_turnitintooltwo_digital_receipt {\n padding: 0 24px;\n}\n\ndiv#mod_turnitintooltwo_digital_receipt {\n margin: 0;\n}\n\n.mod_turnitintooltwo .row_score, .mod_turnitintooltwo .row_peermark_manager, .mod_turnitintooltwo .row_peermark_reviews {\n float:right;\n}\n\n.mod_turnitintooltwo .grademark_open, .mod_turnitintooltwo .origreport_open, .mod_turnitintooltwo .download_original_open,\n.mod_turnitintooltwo_zip_open, .mod_turnitintooltwo .enrol_link, .mod_turnitintooltwo_refresh_link,\n.mod_turnitintooltwo .refresh_row, .mod_turnitintooltwo_messages_inbox, .mod_turnitintooltwo span.link,\n.mod_turnitintooltwo_rubric_manager_launch, .mod_turnitintooltwo_rubric_view_launch,\n.mod_turnitintooltwo_quickmark_manager_launch, .mod_turnitintooltwo .tii_peermark_manager_launch,\n.mod_turnitintooltwo .tii_peermark_reviews_launch, #page-admin-setting-modsettingturnitintooltwo #test_link {\n cursor:pointer;\n}\n\n.mod_turnitintooltwo #submitting_loader, .mod_turnitintooltwo #refresh_loading {\n display:none;\n padding: 16px 0 8px;\n text-align: center;\n}\n\n.grey {\n color: $dark-grey !important;\n}\n\n.light-blue {\n color: $light-blue !important;\n}\n\n.gm-blue {\n color: $gm-blue !important;\n}\n\n.green {\n color: $green !important;\n}\n\n.red {\n color: $red !important;\n}\n\n.tii_checkagainstnote, .tii_genspeednote {\n border: 1px solid $light-blue2;\n background: $light-blue;\n padding: 10px;\n margin-bottom: 16px;\n}\n\n.mod_turnitintooltwo_submissions_data_table .fa,\n.mod_turnitintooltwo_part_details .fa {\n color: darken($dark-grey, 10%);\n}\n\n.middle-padding {\n padding: 0 5px;\n}\n\n.mod_turnitintooltwo #course_search_options, .mod_turnitintooltwo .create_checkboxes {\n border: 1px solid $border-color;\n padding: 6px 10px;\n}\n\n.mod_turnitintooltwo .create_checkboxes {\n display: none;\n margin-top: 12px;\n}\n\n.icon_margin {\n margin-right: 20px;\n}\n.icon_smallmargin {\n margin-right: 10px;\n}\n\n.mod_turnitintooltwo iframe {\n border: 1px solid $light-grey;\n}\n\n#migration-progress-bar {\n background-color: #FFFFFF;\n height: 30px;\n line-height: 28px;\n border: 1px solid;\n border-radius: 3px;\n margin: 15px 0px 30px 0px;\n}\n#migration-progress, #migration-progress-todo {\n width: 0%;\n height: 100%;\n text-align: center;\n float: left;\n font-size: 14px;\n}\n#migration-progress {\n background-color: #0073D2;\n color: #fff;\n}\n.migration-spinner {\n text-align: center;\n padding: 30px;\n}\n\n.enablemigrationtool {\n text-align: center;\n text-shadow: 0 -1px 0 rgba(0,0,0,.25);\n background-color: #0e90d2;\n background-image: -moz-linear-gradient(top,#149bdf,#0480be);\n background-image: -webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));\n background-image: -webkit-linear-gradient(top,#149bdf,#0480be);\n background-image: -o-linear-gradient(top,#149bdf,#0480be);\n background-image: linear-gradient(to bottom,#149bdf,#0480be);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);\n -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-transition: width 0.6s ease;\n -moz-transition: width 0.6s ease;\n -o-transition: width 0.6s ease;\n transition: width 0.6s ease;\n}\n\n#migration-progress-bar {\n background-color: #FFFFFF;\n height: 30px;\n line-height: 28px;\n border: 1px solid;\n border-radius: 3px;\n margin: 15px 0px 30px 0px;\n}\n#migration-progress, #migration-progress-todo {\n width: 0%;\n height: 100%;\n text-align: center;\n float: left;\n font-size: 14px;\n}\n#migration-progress {\n background-color: #0073D2;\n color: #fff;\n}\n.migration-spinner {\n text-align: center;\n}\n\n.enablemigrationtool {\n text-align: center;\n text-shadow: 0 -1px 0 rgba(0,0,0,.25);\n background-color: #0e90d2;\n background-image: -moz-linear-gradient(top,#149bdf,#0480be);\n background-image: -webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));\n background-image: -webkit-linear-gradient(top,#149bdf,#0480be);\n background-image: -o-linear-gradient(top,#149bdf,#0480be);\n background-image: linear-gradient(to bottom,#149bdf,#0480be);\n background-repeat: repeat-x;\n filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);\n -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n box-shadow: inset 0 -1px 0 rgba(0,0,0,.15);\n -webkit-box-sizing: border-box;\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n -webkit-transition: width 0.6s ease;\n -moz-transition: width 0.6s ease;\n -o-transition: width 0.6s ease;\n transition: width 0.6s ease;\n}\n\n.data-table-splitter {\n float: left;\n padding-right: 20px;\n}\n\n#migrationform #fitem_id_submitbutton,\n#migration-delete-selected #fitem_id_submitbutton,\n#fitem_id_enablemigrationtool {\n width: 75%;\n margin: 0 auto;\n background-color: #FFFFFF;\n}\n#fitem_id_enablemigrationtool .fitemtitle {\n width: 300px;\n}\n#migrationform {\n margin: 30px 0px;\n}\n\n.migrationheader {\n color: #003A69;\n font-size: 18px;\n font-weight: normal;\n margin: 10px 0 10px 0;\n}\n.mod_turnitintooltwo .btn-primary {\n background: #0073D2;\n}\n.mod_turnitintooltwo .btn-primary:hover {\n background: #00569E;\n}\n.mod_turnitintooltwo .btn-primary:active {\n background: #003A69;\n}\n.mod_turnitintooltwo .btn-primary {\n box-shadow: none;\n border: none;\n height: 35px;\n margin-right: 11px;\n border-radius: 3px;\n}\n\n.migrationTable_length {\n margin-top: 20px;\n}\n\n#migrationTable .fa-times {\n color: #FF0000;\n}\n\n#migrationTable .fa-check {\n color: #008000;\n}\n"]} \ No newline at end of file