<commit_before>{% extends "staff_base.html" %}
{% block title %}Hunt Control{% endblock title %}

{% block includes %}
<script type="text/javascript">
  csrf_token = '{{csrf_token}}';
  last_pk = {{last_pk}};
  curr_team = "";
  is_response = true;
  ajax_url = "/staff/chat/"
</script>
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}huntserver/chat.css">
<script src="{{ STATIC_URL }}huntserver/staff_chat.js"></script>
<script src="{{ STATIC_URL }}huntserver/chat.js"></script>
{% endblock includes %}

{% block content %}
  <h1> Staff Chat </h1>
  <div class="container">
    <div class="row">
      <div id="button_container" class="content col-sm-3 col-md-2">
        {% for team, dict in message_dict.items %}
          <button data-id='{{ dict.pk }}' class="chatselect">
            {{ team|truncatechars:20 }}
          </button>
          <br>
        {% endfor %}
      </div>
      <div class="content col-sm-9 col-md-10">
        <div id="chatcontainer">
          {% for team, dict in message_dict.items %}
            <div id='chat_{{ dict.pk }}' class="chatwindow">
              {{dict.messages}}
            </div>
          {% endfor %}
          </div>
        <div style="margin-top: 10px">
          <input id="messagebox" typpe='text'> </input>
          <button id="sendbutton">Send</button>
          <br>
          <input type="checkbox" id="announce_checkbox" name="is_announcement" value="is_announcement">
          <label for="announce_checkbox">
            Make this message an announcement to all teams.
          </label>
        </div>
      </div>
    </div>
  </div>
{% endblock content %}
<commit_msg>Last bit of team name trucation<commit_after>{% extends "staff_base.html" %}
{% block title %}Hunt Control{% endblock title %}

{% block includes %}
<script type="text/javascript">
  csrf_token = '{{csrf_token}}';
  last_pk = {{last_pk}};
  curr_team = "";
  is_response = true;
  ajax_url = "/staff/chat/"
</script>
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}huntserver/chat.css">
<script src="{{ STATIC_URL }}huntserver/staff_chat.js"></script>
<script src="{{ STATIC_URL }}huntserver/chat.js"></script>
{% endblock includes %}

{% block content %}
  <h1> Staff Chat </h1>
  <div class="container">
    <div class="row">
      <div id="button_container" class="content col-sm-3 col-md-2">
        {% for team, dict in message_dict.items %}
          <button data-id='{{ dict.pk }}' class="chatselect">
            {{ team|truncatechars:16 }}
          </button>
          <br>
        {% endfor %}
      </div>
      <div class="content col-sm-9 col-md-10">
        <div id="chatcontainer">
          {% for team, dict in message_dict.items %}
            <div id='chat_{{ dict.pk }}' class="chatwindow">
              {{dict.messages}}
            </div>
          {% endfor %}
          </div>
        <div style="margin-top: 10px">
          <input id="messagebox" typpe='text'> </input>
          <button id="sendbutton">Send</button>
          <br>
          <input type="checkbox" id="announce_checkbox" name="is_announcement" value="is_announcement">
          <label for="announce_checkbox">
            Make this message an announcement to all teams.
          </label>
        </div>
      </div>
    </div>
  </div>
{% endblock content %}

{'fraction_non_alphanumeric': 0.17519566526189043, 'fraction_numerical': 0.006622516556291391, 'mean_word_length': 2.565450643776824, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '2254024', 'n_tokens_mistral': 1098, 'n_tokens_neox': 1041, 'n_words': 243}