<commit_before>{% extends 'base.html.twig' %}
{% import "tasks/tasks_macros.html.twig" as tasks_view %}
{% block title %}Dashboard{% endblock %}
{% block nav %}
  {% include 'nav.html.twig' %}
{% endblock %}
{% block container %}
  <div class="floating-action dropup">
    <a class="btn btn-info dropdown-toggle" type="button" id="dahboardMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
      <span class="glyphicon glyphicon-plus"></span>
    </a>
    <ul class="dropdown-menu floating-actions" aria-labelledby="dahboardMenuButton">
      <li><a href="{{ path('tasks_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-check"></span></a></li>
      <li><a href="{{ path('tasklists_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-list-alt"></span></a></li>
      <li><a href="{{ path('days_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-th-large"></span></a></li>
      <li><a href="{{ path('accounts_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-piggy-bank"></span></a></li>
      <li><a href="{{ path('accounttransactions_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-transfer"></span></a></li>
    </ul>
  </div>

  <style type="text/css">
    .row-1{height: 500px;overflow: auto;}
    .nopadding{padding: 0 !important; margin: 0 !important;}
    .pad-me{padding: 10px;}
    .table-bottom-border tbody tr{border-bottom: 1px solid black;}
    .cards .list-group-item{width: 23%;margin: 1%;float: left;}
    .cards a.list-group-item h4{color: white;}
    .cards a.list-group-item p{color: white;}
    .cards a.list-group-item h4 small{float: right;}
    .progress{margin: auto;}
  </style>


  <div class="row">
    <div class="col-md-12">
      <div class="list-group cards">
        {% for list in lists if list.tasks(false)|length %}
          <a href="#" class="list-group-item task-list" data-id="{{list.id}}">
            <h4 class="list-group-item-heading">{{ list.name }} <small>{{list.tasks(false)|length}} tasks</small></h4>
            <p class="list-group-item-text">
              {{ list.estTotal|date("%d %H:%I")}}
            </p>
            {% set progress = ((list.tasks(true)|length-list.tasks(false)|length) / list.tasks(true)|length * 100) |round%}
            <div class="progress">
              <div class="progress-bar" role="progressbar" aria-valuenow="{{ progress }}" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em;width: {{ progress }}%;">
                {{ progress }}%
              </div>
            </div>
          </a>
        {% endfor %}
      </div>
    </div>
  </div>

  <div class="row hide">
    <section>
      <div class="col-lg-4">
        <div class="row-1 bg-info pad-me">
          <header>
            <div class="pull-right text-right">
              <h2 class="nopadding">{{ today|date("G:i:s") }}</h2>
              <h3 class="nopadding">{{ today|date("jS F") }}</h3>
              <h4 class="nopadding"> {{ today|date("Y") }}</h4>
            </div>
          </header>
        </div>
      </div>
    </section><commit_msg>Lists margin and mobile responsive<commit_after>{% extends 'base.html.twig' %}
{% import "tasks/tasks_macros.html.twig" as tasks_view %}
{% block title %}Dashboard{% endblock %}
{% block nav %}
  {% include 'nav.html.twig' %}
{% endblock %}
{% block container %}
  <div class="floating-action dropup">
    <a class="btn btn-info dropdown-toggle" type="button" id="dahboardMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
      <span class="glyphicon glyphicon-plus"></span>
    </a>
    <ul class="dropdown-menu floating-actions" aria-labelledby="dahboardMenuButton">
      <li><a href="{{ path('tasks_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-check"></span></a></li>
      <li><a href="{{ path('tasklists_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-list-alt"></span></a></li>
      <li><a href="{{ path('days_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-th-large"></span></a></li>
      <li><a href="{{ path('accounts_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-piggy-bank"></span></a></li>
      <li><a href="{{ path('accounttransactions_new') }}" class="btn btn-info"><span class="glyphicon glyphicon-transfer"></span></a></li>
    </ul>
  </div>

  <style type="text/css">
    .row-1{height: 500px;overflow: auto;}
    .nopadding{padding: 0 !important; margin: 0 !important;}
    .pad-me{padding: 10px;}
    .table-bottom-border tbody tr{border-bottom: 1px solid black;}
    {#    .cards .list-group-item{width: 23%;margin: 1%;float: left;}#}
    .cards .list-group-item{margin: 1%;}
    .cards a.list-group-item h4{color: white;}
    .cards a.list-group-item p{color: white;}
    .cards a.list-group-item h4 small{float: right;}
    .progress{margin: auto;}
  </style>


  <div class="row">
    <div class="col-md-12">
      <div class="list-group cards row">
        {% for list in lists if list.tasks(false)|length %}
          <div class="col-lg-3 col-md-4 col-sm-6 col-xs-12">
            <a href="#" class="list-group-item task-list" data-id="{{list.id}}">
              <h4 class="list-group-item-heading">{{ list.name }} <small>{{list.tasks(false)|length}} tasks</small></h4>
              <p class="list-group-item-text">
                {{ list.estTotal|date("%d %H:%I")}}
              </p>
              {% set progress = ((list.tasks(true)|length-list.tasks(false)|length) / list.tasks(true)|length * 100) |round%}
              <div class="progress">
                <div class="progress-bar" role="progressbar" aria-valuenow="{{ progress }}" aria-valuemin="0" aria-valuemax="100" style="min-width: 2em;width: {{ progress }}%;">
                  {{ progress }}%
                </div>
              </div>
            </a>
          </div>
        {% endfor %}
      </div>
    </div>
  </div>

  <div class="row hide">
    <section>
      <div class="col-lg-4">
        <div class="row-1 bg-info pad-me">
          <header>
            <div class="pull-right text-right">
              <h2 class="nopadding">{{ today|date("G:i:s") }}</h2>
              <h3 class="nopadding">{{ today|date("jS F") }}</h3>
              <h4 class="nopadding"> {{ today|date("Y") }}</h4>
            </div>
          </header>
        </div>
      </div>
    </section>
{'fraction_non_alphanumeric': 0.21093015972439713, 'fraction_numerical': 0.011587848418415283, 'mean_word_length': 2.899267399267399, 'pattern_counts': {'":': 0, '<': 155, '<?xml version=': 0, '>': 155, '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': '2547391', 'n_tokens_mistral': 2227, 'n_tokens_neox': 2097, 'n_words': 415}