TurnitinSettingsDialog.handlebars 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. <form id="assignment_turnitin_settings">
  2. <div class="control-group">
  3. <div class="controls">
  4. <label for="settings_originality_report_visibility"
  5. class="control-label">
  6. {{#t "turnitin_settings.originality_report_visibility"}}
  7. Students Can See the Originality Report
  8. {{/t}}
  9. </label>
  10. <br/>
  11. <select id="settings_originality_report_visibility"
  12. name="originality_report_visibility">
  13. <option value="immediate"
  14. {{selectedIf originalityReportVisibility "immediate"}} >
  15. {{#t "turnitin_settings.originality_report_visible_immediately"}}
  16. Immediately
  17. {{/t}}
  18. </option>
  19. <option value="after_grading"
  20. {{selectedIf originalityReportVisibility "after_grading"}} >
  21. {{#t "turnitin_settings.originality_report_visible_after_grading"}}
  22. After the assignment is graded
  23. {{/t}}
  24. </option>
  25. <option value="after_due_date"
  26. {{selectedIf originalityReportVisibility "after_due_date"}} >
  27. {{#t "turnitin_settings.originality_report_visible_after_due_date"}}
  28. After the Due Date
  29. {{/t}}
  30. </option>
  31. <option value="never"
  32. {{selectedIf originalityReportVisibility "never"}} >
  33. {{#t "turnitin_settings.originality_report_never"}}
  34. Never
  35. {{/t}}
  36. </option>
  37. </select>
  38. </div>
  39. </div>
  40. <fieldset>
  41. <h5>
  42. {{#t "turnitin_settings.labels.compare_against"}}
  43. Compare Against
  44. {{/t}}
  45. </h5>
  46. <div class="control-group">
  47. <div class="controls">
  48. <label class="checkbox" for="s_paper_check">
  49. {{checkbox "s_paper_check" checked=sPaperCheck}}
  50. {{#t "turnitin_settings.labels.student_paper_check"}}
  51. Other Student Papers
  52. {{/t}}
  53. </label>
  54. </div>
  55. <div class="controls">
  56. <label class="checkbox" for="internet_check">
  57. {{checkbox "internet_check" checked=internetCheck}}
  58. {{#t "turnitin_settings.labels.internet_check"}}
  59. Internet Database
  60. {{/t}}
  61. </label>
  62. </div>
  63. <div class="controls">
  64. <label class="checkbox" for="journal_check">
  65. {{checkbox "journal_check" checked=journalCheck}}
  66. {{#t "turnitin_settings.labels.journal_check"}}
  67. Journals, Periodicals, and Publications
  68. {{/t}}
  69. </label>
  70. </div>
  71. </div>
  72. </fieldset>
  73. <fieldset>
  74. <h5>
  75. {{#t "turnitin_settings.labels.do_not_consider"}}
  76. Do Not Consider
  77. {{/t}}
  78. </h5>
  79. <div class="control-group">
  80. <div class="controls">
  81. <label class="checkbox" for="exclude_biblio">
  82. {{checkbox "exclude_biblio" checked=excludeBiblio}}
  83. {{#t "turnitin_settings.labels.exclude_biblio"}}
  84. Bibliographic Material
  85. {{/t}}
  86. </label>
  87. </div>
  88. <div class="controls">
  89. <label class="checkbox" for="exclude_quoted">
  90. {{checkbox "exclude_quoted" checked=excludeQuoted}}
  91. {{#t "turnitin_settings.labels.exclude_quoted"}}
  92. Quoted Material
  93. {{/t}}
  94. </label>
  95. </div>
  96. <div class="controls">
  97. <label class="checkbox" for="exclude_small_matches">
  98. {{checkbox "exclude_small_matches" checked=excludesSmallMatches}}
  99. {{#t "assignments.turnitin_settings.labels.exclude_small_matches"}}
  100. Small Matches
  101. {{/t}}
  102. </label>
  103. <div class="controls js-exclude-small-matches-options"
  104. style="{{hiddenUnless excludesSmallMatches}}">
  105. <label class="control-label radio" style="display: block;">
  106. <input id="exclude_small_matches_type_r1"
  107. name="exclude_small_matches_type"
  108. type="radio"
  109. {{checkedIf excludeSmallMatchesType "words"}}
  110. value="words"/>
  111. {{#t "turnitin_settings.settings_exclude_fewer_than_count"}}
  112. Fewer than {{{wordsInput}}} words
  113. {{/t}}
  114. </label>
  115. <label class="control-label radio">
  116. <input id="exclude_small_matches_type_r2"
  117. type="radio"
  118. name="exclude_small_matches_type"
  119. {{checkedIf excludeSmallMatchesType "percent"}}
  120. value="percent"/>
  121. {{#t "turnitin_settings.settings_exclude_less_than_percent"}}
  122. Less than {{{percentInput}}} of the document
  123. {{/t}}
  124. </label>
  125. </div>
  126. </div>
  127. </div>
  128. </fieldset>
  129. <fieldset>
  130. <h5>
  131. {{#t "turnitin_settings.labels.turnitin_repository"}}
  132. Turnitin Repository
  133. {{/t}}
  134. </h5>
  135. <div class="control-group">
  136. <div class="controls">
  137. <label class="checkbox" for="submit_papers_to">
  138. {{checkbox "submit_papers_to" checked=submitPapersTo}}
  139. {{#t "turnitin_settings.labels.submit_papers_to"}}
  140. Include in Repository
  141. {{/t}}
  142. </label>
  143. </div>
  144. </div>
  145. </fieldset>
  146. <div class="button-container">
  147. <button type="submit" class="btn btn-primary">
  148. {{#t "buttons.update_settings"}}
  149. Update Settings
  150. {{/t}}
  151. </button>
  152. </div>
  153. </form>