<commit_before>{% extends "layout.html" %}
{% block additional_head %}
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
    <link href="{{ url_for('static',filename='css/messages.css') }}" rel="stylesheet" media="screen">
{% endblock %}
{% block content %}

<div class="row">
    <div class="col-md-3 messages-sidebar">
    <ul class="reports-sidebar">
    {% for report in reports -%}
       <li><a href="#" class="show-report" id="show-report-{{ report.user_id }}"> {{ report.user_id }}</a></li>
    {%- endfor %}
    </ul>
  </div>

  <div class="col-md-9">
  {% for report in reports -%}
    <div id="report-{{ report.user_id }}" class="report-chat">
    <h3>{{ report.user_id }}</h3>
      <ul class="chat">
        {% for message in report.report_messages -%}
          {% if message.sender == "student" %}
          <li><div class="panel panel-default message student-message">
          {{message.sender}}:<br/>
          {{message.text}}
          </li>
          {% else %}
          <li><div class="panel panel-primary message counselor-message">
          {{message.sender}}:<br/>
          {{message.text}}
          </li>
          {% endif %}
        {%- endfor %}
      </ul>
      <div class="reply">
        <form action="/api/submit-reply-counselor" method="post">
          <input type="hidden" name="user_name" placeholder="counselor">
          <input type="hidden" name="report_id" value="{{report.report_id}}">
          <textarea name="text" class="form-control message-report" placeholder="What else do you remember?">
            
          </textarea>
          <br/>
          <div style="float: right;">
          <button class="btn btn-success">Submit Reply</button>
        </div>
        </form>
      </div>
    </div>
  {% else %}
  No bully reports!
  {%- endfor %}
  </ul>
  </div>
</div>

<script type="text/javascript">
 $("#report-627").show();
 $("#show-report-627").parent().addClass('selected');
  $(".show-report").click(function() {
    $('.show-report').parent().removeClass('selected');<commit_msg>fix value<commit_after>{% extends "layout.html" %}
{% block additional_head %}
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
    <link href="{{ url_for('static',filename='css/messages.css') }}" rel="stylesheet" media="screen">
{% endblock %}
{% block content %}

<div class="row">
    <div class="col-md-3 messages-sidebar">
    <ul class="reports-sidebar">
    {% for report in reports -%}
       <li><a href="#" class="show-report" id="show-report-{{ report.user_id }}"> {{ report.user_id }}</a></li>
    {%- endfor %}
    </ul>
  </div>

  <div class="col-md-9">
  {% for report in reports -%}
    <div id="report-{{ report.user_id }}" class="report-chat">
    <h3>{{ report.user_id }}</h3>
      <ul class="chat">
        {% for message in report.report_messages -%}
          {% if message.sender == "student" %}
          <li><div class="panel panel-default message student-message">
          {{message.sender}}:<br/>
          {{message.text}}
          </li>
          {% else %}
          <li><div class="panel panel-primary message counselor-message">
          {{message.sender}}:<br/>
          {{message.text}}
          </li>
          {% endif %}
        {%- endfor %}
      </ul>
      <div class="reply">
        <form action="/api/submit-reply-counselor" method="post">
          <input type="hidden" name="user_name" value="counselor">
          <input type="hidden" name="report_id" value="{{report.report_id}}">
          <textarea name="text" class="form-control message-report" placeholder="What else do you remember?">
            
          </textarea>
          <br/>
          <div style="float: right;">
          <button class="btn btn-success">Submit Reply</button>
        </div>
        </form>
      </div>
    </div>
  {% else %}
  No bully reports!
  {%- endfor %}
  </ul>
  </div>
</div>

<script type="text/javascript">
 $("#report-627").show();
 $("#show-report-627").parent().addClass('selected');
  $(".show-report").click(function() {
    $('.show-report').parent().removeClass('selected');
{'fraction_non_alphanumeric': 0.20863309352517986, 'fraction_numerical': 0.006235011990407674, 'mean_word_length': 2.589500860585198, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, 'https://': 2, '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': '4729878', 'n_tokens_mistral': 1372, 'n_tokens_neox': 1283, 'n_words': 254}