<commit_before><div ng-include="'components/navbar/navbar.html'"></div>

<header class="hero-unit" id="banner">
  <div class="container">
    <h1>Student Manager!</h1>
  </div>
</header>

<div class="col-xs-3" style="margin-left:175px">
  <h1 class="page-header">Groups:</h1>
  <ul class="list-group">
    <li class="list-group-item">
      <form ng-submit="addGroup()">
        <input ng-model="groupField" type="text" size="15" placeholder="Add a group!">
        <input type="submit" value="Submit" class="btn btn-primary">
      </form>
    </li>
    <!--adapt for groups-->
    <li class="list-group-item" ng-repeat="group in groups">
      {{group}}
      <button type="button" class="close" title="Delete Groups" data-toggle="tooltip" ng-click="deleteGroup($index)">&times;</button>
  </ul>
</div>
<div class="col-xs-3">
  <div>
    <!--adapt for students-->
    <h1 class="page-header">Students in {{currentGroup.packName}}:</h1>
    <ul class="nav nav-tabs nav-stacked col-md-4 col-lg-4 col-sm-6" ng-repeat="tile in currentPack.tiles track by $index">
      <li>{{tile}}<button type="button" class="close" ng-click="deleteTile(currentPack, $index)">&times;</button></li>
    </ul>
    <div ng-hide="showTileAdder">
      <a href="#" ng-click="toggleShowAdder()">Add a student!</a>
    </div>
    <div>
      <form ng-submit="addStudent()" >
        <input ng-model="studentField" type="text" size="20" placeholder="add a student!">
        <input type="submit" value="Add" class="btn btn-primary" ng-click="toggleShowAdder()">
      </form>
    </div>
  </div>
</div>
<div class="col-xs-3">
  <h1 class="page-header">All Students:</h1>
  <ul class="list-group">
    <li class="list-group-item">
      <form ng-submit="addTag()">
        <input ng-model="textField" type="text" size="15" placeholder="Search for a student">
        <input type="submit" value="Search" class="btn btn-primary">
      </form>
    </li>
    <!--TODO Attach to database to display all the words-->
    <li class="list-group-item" ng-repeat="pack in contextPacks">
      <a href="" ng-click="packInfo(pack)">{{pack.packName}}</a>
      <button type="button" class="close" title="Delete Context Pack" data-toggle="tooltip" ng-click="deletePack($index)">&times;</button>
  </ul>
</div><commit_msg>Displaying groups from a user, as well as associated students. Have access to both users and students stored to local arrays.<commit_after><div ng-include="'components/navbar/navbar.html'"></div>

<header class="hero-unit" id="banner">
  <div class="container">
    <h1>Student Manager!</h1>
  </div>
</header>


<div class="col-xs-3" style="margin-left:175px">
  <h1 class="page-header">Groups:</h1>
  <ul class="list-group">
    <li class="list-group-item">
      <form ng-submit="addGroup()">
        <input ng-model="groupField" type="text" size="15" placeholder="Add a group!">
        <input type="submit" value="Submit" class="btn btn-primary">
      </form>
    </li>
    <!--adapt for groups-->
    <li class="list-group-item" ng-repeat="group in groups">
      {{group}}
      <button type="button" class="close" title="Delete Groups" data-toggle="tooltip" ng-click="deleteGroup($index)">&times;</button>
  </ul>
</div>


<div class="col-xs-3">
  <div>
    <!--adapt for students-->
    <h1 class="page-header">Students in {{currentGroup.packName}}:</h1>
    <ul class="nav nav-tabs nav-stacked col-md-4 col-lg-4 col-sm-6" ng-repeat="student in students track by $index">
      <li>{{student.lastName}}. {{student.firstName}}<button type="button" class="close" ng-click="deleteTile(currentPack, $index)">&times;</button></li>
    </ul>
    <div ng-hide="showTileAdder">
      <a href="#" ng-click="toggleShowAdder()">Add a student!</a>
    </div>
    <div>
      <form ng-submit="addStudent()" >
        <input ng-model="studentField" type="text" size="20" placeholder="add a student!">
        <input type="submit" value="Add" class="btn btn-primary" ng-click="toggleShowAdder()">
      </form>
    </div>
  </div>
</div>


<div class="col-xs-3">
  <h1 class="page-header">All Students:</h1>
  <ul class="list-group">
    <li class="list-group-item">
      <form ng-submit="addTag()">
        <input ng-model="textField" type="text" size="15" placeholder="Search for a student">
        <input type="submit" value="Search" class="btn btn-primary">
      </form>
    </li>
    <!--TODO Attach to database to display all the words-->
    <li class="list-group-item" ng-repeat="student in students">
      <a href="" ng-click="packInfo(pack)">{{student.lastName}}, {{student.firstName}}</a>
      <button type="button" class="close" title="Delete Context Pack" data-toggle="tooltip" ng-click="deletePack($index)">&times;</button>
  </ul>
</div>
{'fraction_non_alphanumeric': 0.20600042256496937, 'fraction_numerical': 0.009718994295372914, 'mean_word_length': 3.865364850976362, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 133, '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': '3739307', 'n_tokens_mistral': 1600, 'n_tokens_neox': 1555, 'n_words': 349}