<commit_before>
{% from future.utils import viewitems %}
{% from amgut.util import * %}
{% set human_participants, animal_participants, environmental_samples, kit_verified = AG_DATA_ACCESS.get_menu_items(skid) %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>American Gut Project</title>
<script src="/static/vendor/js/jquery-2.1.0.min.js"></script>
<script src="/static/vendor/js/jquery-ui-1.10.1.custom.min.js"></script>
<script src="/static/vendor/js/jquery.ui.timepicker.js"></script>
<script src="/static/js/american_gut.js"></script>
<link rel="stylesheet" type="text/css" href="/static/css/americangut.css">
<link rel="stylesheet" type="text/css" href="/static/css/menu.css">
<link rel="stylesheet" type="text/css" href="/static/vendor/css/ui-lightness/jquery-ui-1.10.1.custom.min.css">
<link rel="icon" type="image/ico" href="/static/img/favicon.ico">
{%block head%}{%end%}
</head>
<body>
<div class="wrapper clearfix">
  <div class="header clearfix">
  <img id="logo" src="/static/img/ag_logo.jpg">
  </div>
  <br />

  <div class="left menuwrapper">  <!-- Side Menu -->
      <div id="cssmenu">
        <ul>
            <li class="active"><a href="fusebox.psp?page=portal.psp"><span>Home</span></a></li>
            <li class="has-sub"><a><span>Participant Resources</span></a>
                <ul>
                    <li><a href="/faq/#faq0" target="_blank"><span>American Gut 101</span></a></li>
                    <li><a href="/faq/" target="_blank"><span>FAQ</span></a></li>
                    <li><a href="/static/img/FAQ_Human_Microbiome.pdf" target="_blank"><span>Human Microbiome FAQ</span></a></li>
                    <li><a href="addendum.psp" target="_blank"><span>How do I interpret my results?</span></a></li>
                    <li class="last"><a href="http://goo.gl/Jdh1cZ" target="_blank"><span>Preliminary Results!</span></a></li>
                </ul>
          </li>
          <li><a href="fusebox.psp?page=change_password.psp"><span>Change Password</span></a></li>
          <li><a href="fusebox.psp?page=help_request.psp"><span>Contact Us</span></a></li>
          <li class="last"><a href="/auth/logout/"><span>Log out</span></a></li>
        </ul>
      </div>
      <div id="cssmenu">
          <ul>
          <li class="has-sub"><a><span>Human Samples</span></a>
              <ul> <!-- list of participants-->
              {% for hp, barcodes in viewitems(human_participants) %}
                <li class="has-sub">
                  <a onclick="document.forms['participant_overview_{{hp}}'].submit(); return false;">
                      <form action="fusebox.psp" method="post" id="participant_overview_{{hp}}">
                          <input type="hidden" name="page" value="participant_overview.psp"/>
                          <input type="hidden" name="participant_name" value="{{hp}}"/>
                          <input type="hidden" name="participant_type" value="human"/>
                          <span>{{hp}}</span>
                      </form>
                  </a>
                <ul>
                {% for barcode in barcodes %}
                  <li>
                    <a href="" onclick="document.forms['sample_overview_{{barcode['barcode']}}'].submit(); return false;" 
                    {% if barcode['status'] == 'Received' %}
                      style="color:#0B0;"
                    {% end %}
                    >
                        <form action="fusebox.psp" method="post" id="sample_overview_{{barcode['barcode']}}">
                            <input type="hidden" name="page" id="page" value="sample_overview.psp"/>
                            <input type="hidden" name="status" id="status" value="{{barcode['status']}}"/>
                            <input type="hidden" name="barcode" id="barcode" value="{{barcode['barcode']}}"/>
                            <span>
                              {{barcode['barcode']}}
                              {% if barcode['status'] == 'Received' %}
                                (Recieved)
                              {% end %}
                            </span>
                        </form>
                      </a>
                  </li><commit_msg>Change links to participant overview pages<commit_after>
{% from future.utils import viewitems %}
{% from amgut.util import * %}
{% set human_participants, animal_participants, environmental_samples, kit_verified = AG_DATA_ACCESS.get_menu_items(skid) %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>American Gut Project</title>
<script src="/static/vendor/js/jquery-2.1.0.min.js"></script>
<script src="/static/vendor/js/jquery-ui-1.10.1.custom.min.js"></script>
<script src="/static/vendor/js/jquery.ui.timepicker.js"></script>
<script src="/static/js/american_gut.js"></script>
<link rel="stylesheet" type="text/css" href="/static/css/americangut.css">
<link rel="stylesheet" type="text/css" href="/static/css/menu.css">
<link rel="stylesheet" type="text/css" href="/static/vendor/css/ui-lightness/jquery-ui-1.10.1.custom.min.css">
<link rel="icon" type="image/ico" href="/static/img/favicon.ico">
{%block head%}{%end%}
</head>
<body>
<div class="wrapper clearfix">
  <div class="header clearfix">
  <img id="logo" src="/static/img/ag_logo.jpg">
  </div>
  <br />

  <div class="left menuwrapper">  <!-- Side Menu -->
      <div id="cssmenu">
        <ul>
            <li class="active"><a href="fusebox.psp?page=portal.psp"><span>Home</span></a></li>
            <li class="has-sub"><a><span>Participant Resources</span></a>
                <ul>
                    <li><a href="/faq/#faq0" target="_blank"><span>American Gut 101</span></a></li>
                    <li><a href="/faq/" target="_blank"><span>FAQ</span></a></li>
                    <li><a href="/static/img/FAQ_Human_Microbiome.pdf" target="_blank"><span>Human Microbiome FAQ</span></a></li>
                    <li><a href="addendum.psp" target="_blank"><span>How do I interpret my results?</span></a></li>
                    <li class="last"><a href="http://goo.gl/Jdh1cZ" target="_blank"><span>Preliminary Results!</span></a></li>
                </ul>
          </li>
          <li><a href="fusebox.psp?page=change_password.psp"><span>Change Password</span></a></li>
          <li><a href="fusebox.psp?page=help_request.psp"><span>Contact Us</span></a></li>
          <li class="last"><a href="/auth/logout/"><span>Log out</span></a></li>
        </ul>
      </div>
      <div id="cssmenu">
          <ul>
          <li class="has-sub"><a><span>Human Samples</span></a>
              <ul> <!-- list of participants-->
              {% for hp, barcodes in viewitems(human_participants) %}
                <li class="has-sub">
                  <a onclick="document.forms['participant_overview_{{hp}}'].submit(); return false;">
                      <form action="/participants/{{hp}}" method="post" id="participant_overview_{{hp}}">
                          <input type="hidden" name="participant_type" value="human"/>
                          <span>{{hp}}</span>
                      </form>
                  </a>
                <ul>
                {% for barcode in barcodes %}
                  <li>
                    <a href="" onclick="document.forms['sample_overview_{{barcode['barcode']}}'].submit(); return false;" 
                    {% if barcode['status'] == 'Received' %}
                      style="color:#0B0;"
                    {% end %}
                    >
                        <form action="fusebox.psp" method="post" id="sample_overview_{{barcode['barcode']}}">
                            <input type="hidden" name="page" id="page" value="sample_overview.psp"/>
                            <input type="hidden" name="status" id="status" value="{{barcode['status']}}"/>
                            <input type="hidden" name="barcode" id="barcode" value="{{barcode['barcode']}}"/>
                            <span>
                              {{barcode['barcode']}}
                              {% if barcode['status'] == 'Received' %}
                                (Recieved)
                              {% end %}
                            </span>
                        </form>
                      </a>
                  </li>
{'fraction_non_alphanumeric': 0.191027496382055, 'fraction_numerical': 0.004582730342498794, 'mean_word_length': 2.0488970588235293, 'pattern_counts': {'":': 0, '<': 249, '<?xml version=': 0, '>': 249, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7123161', 'n_tokens_mistral': 2593, 'n_tokens_neox': 2425, 'n_words': 404}