<commit_before>{% extends 'project_management/pm_base.html' %}

{% block pm_content %}

<div class="container-fluid">
  <div class="col-md-12">
      <form action={% url 'mendeley_search' %} method="get">
        <div class="col-md-10">
          <input id="query" type="text" name="query" class="form-control">
        </div>
        <div class="col-md-2">
          <button class="btn btn-info" type="submit">Search</button>
        </div>
      </form>
  </div>
  <div class="spacer"></div>

  <div class="col-md-12">
    <div class="list-group">

    {% for item in literature.items %}
      <div class="list-group-item">
        <h4 class="list-group-item-heading">
          {{item.title|truncatewords:8}}
          <div class="btn-group pull-right" role="group">
            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Add to... <span class="caret"></span></button>
            <ul class="dropdown-menu" role="menu">
              <li role="presentation" class="dropdown-header">Milestones</li>
              {% for milestone in milestones %}
              <li>
                <a href="{% url 'add_mendeley_object_milestone' milestone=milestone.id external_id=item.id %}">{{milestone.name}}</a>
              </li><commit_msg>Aesthetic changes to search view<commit_after>{% extends 'project_management/pm_base.html' %}

{% block subtitle %}Literature Search{% endblock %}

{% block pm_content %}

<div class="container-fluid">
  <div class="col-md-12">
      <form action={% url 'mendeley_search' %} method="get">
        <div class="col-md-10">
          <input id="query" type="text" name="query" class="form-control">
        </div>
        <div class="col-md-2">
          <button class="btn btn-info" type="submit"><span class="glyphicon glyphicon-search"></span> Search</button>
        </div>
      </form>
  </div>
  <div class="spacer"></div>

  <div class="col-md-12">
    <div class="list-group">

    {% for item in literature.items %}
      <div class="list-group-item">
        <h4 class="list-group-item-heading">
          {{item.title|truncatewords:8}}
          <div class="btn-group pull-right" role="group">
            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Add to... <span class="caret"></span></button>
            <ul class="dropdown-menu" role="menu">
              <li role="presentation" class="dropdown-header">Milestones</li>
              {% for milestone in milestones %}
              <li>
                <a href="{% url 'add_mendeley_object_milestone' milestone=milestone.id external_id=item.id %}">{{milestone.name}}</a>
              </li>
{'fraction_non_alphanumeric': 0.18011049723756906, 'fraction_numerical': 0.0066298342541436465, 'mean_word_length': 2.825352112676056, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, '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': '5444754', 'n_tokens_mistral': 887, 'n_tokens_neox': 825, 'n_words': 169}