<commit_before>{% extends "base-layout.html" %}

{% block title %}
Gradebook
{% endblock %}

{% block styles %}
{{super()}}
<link rel="stylesheet" href="{{url_for('styles', filename="grades.css")}}"/>
{% endblock %}

{% block rows %}
<div class="row">
  <div class="col-sm-12">
    <h2>{{course.semester}}/{{course.name}}</h2>
  </div>
</div>
<div class="row">
  <div class="col-sm-2"></div>
  <div class="col-sm-12">
    <table class="table table-responsive table-bordered" id="{{course.id}}">
      <thead>
        <tr> <!-- This row is for the gradebook groups -->
          <th rowspan="2"></th>
          {% for a in course.gradeBook.groups() %}
          <th colspan="{{a.getWidth()}}">{{a.name}}</th>
          {% endfor %}
          <th rowspan="2">Total</th>
        </tr>
        <tr> <!-- This row is for the gradebook columns -->
          {% for c in course.gradeBook.columns() %}
          {% if c == None %}
          <th>None</th>
          {% else %}
          <th>{{c.name}}</th>
          {% endif %}
          {% endfor %}<commit_msg>Student view grades page now works again, fixed path to CSS file<commit_after>{% extends "base-layout.html" %}

{% block title %}
Gradebook
{% endblock %}

{% block styles %}
{{super()}}
<link rel="stylesheet" href="{{url_for('static', filename='styles/grades.css')}}"/>
{% endblock %}

{% block rows %}
<div class="row">
  <div class="col-sm-12">
    <h2>{{course.semester}}/{{course.name}}</h2>
  </div>
</div>
<div class="row">
  <div class="col-sm-2"></div>
  <div class="col-sm-12">
    <table class="table table-responsive table-bordered" id="{{course.id}}">
      <thead>
        <tr> <!-- This row is for the gradebook groups -->
          <th rowspan="2"></th>
          {% for a in course.gradeBook.groups() %}
          <th colspan="{{a.getWidth()}}">{{a.name}}</th>
          {% endfor %}
          <th rowspan="2">Total</th>
        </tr>
        <tr> <!-- This row is for the gradebook columns -->
          {% for c in course.gradeBook.columns() %}
          {% if c == None %}
          <th>None</th>
          {% else %}
          <th>{{c.name}}</th>
          {% endif %}
          {% endfor %}
{'fraction_non_alphanumeric': 0.22437673130193905, 'fraction_numerical': 0.008310249307479225, 'mean_word_length': 2.370139968895801, 'pattern_counts': {'":': 0, '<': 59, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5883928', 'n_tokens_mistral': 775, 'n_tokens_neox': 696, 'n_words': 163}