<%! from django.utils.translation import ugettext as _ %>
<%inherit file="/main.html" />
<%block name="bodyclass">${course.css_class}</%block>
<%namespace name='static' file='/static_content.html'/>

<%block name="headextra">
  <%static:css group='course'/>
</%block>

<%block name="title"><title>${_("{course_number} Staff Grading").format(course_number=course.display_number_with_default) | h}</title></%block>

<%include file="/courseware/course_navigation.html" args="active_page='staff_grading'" />

<%block name="js_extra">
  <%static:js group='staff_grading'/>
</%block>

<section class="container">

<div class="staff-grading" data-ajax_url="${ajax_url}">
<h1>${_("Staff grading")}</h1>
<div class="breadcrumbs">
</div>
<div class="error-container">
</div>
<div class="message-container">
</div>

<! -- Problem List View -->
<section class="problem-list-container">
<h2>${_("Instructions")}</h2>
<div class="instructions">
<p>${_("This is the list of problems that currently need to be graded in order to train the machine learning models. Each problem needs to be trained separately, and we have indicated the number of student submissions that need to be graded in order for a model to be generated. You can grade more than the minimum required number of submissions--this will improve the accuracy of machine learning, though with diminishing returns. You can see the current accuracy of machine learning while grading.")}</p>
</div>

<h2>${_("Problem List")}</h2>
    <table class="problem-list">
    </table>
</section>

<!-- Grading View -->

<section class="prompt-wrapper">
    <h2 class="prompt-name"></h2>
    <div class="meta-info-wrapper">
        <div class="problem-meta-info-container">
        </div>
        <div class="ml-error-info-container">
        </div>
    </div>
    <div class="prompt-information-container">
    <h3>${_('Prompt')} <a href="#" class="question-header">${_("(Hide)")}</a></h3>
        <div class="prompt-container">
        </div>
    </div>

</section>

<div class="action-button">
    <input type=button value="${_("Submit")}" class="action-button" name="show" />
</div>

<section class="grading-wrapper">

<div class="grading-container">
<div class="submission-wrapper">
<h3>${_("Student Response")}</h3>
<div class="submission-container">
</div>
</div>
<div class="evaluation">
  <p class="score-selection-container">
  </p>
  <p class="grade-selection-container">
  </p>
  <h3>${_("Written Feedback")}</h3>
  <textarea name="feedback" placeholder="${_("Feedback for student (optional)")}"
            class="feedback-area" cols="70" ></textarea>
<p>
   ${_("Flag as inappropriate content for later review")} <input class="flag-checkbox" type="checkbox" />
</p>
</div>


<div class="submission">
<input type="button" value="${_("Submit")}" class="submit-button" name="show"/>
<input type="button" value="${_("Skip")}" class="skip-button" name="skip"/>
</div>

</div>

</div>
</section>
