<commit_before>{% extends "app/app_base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}

{% block title %}BrainDump{% endblock %}

{% block page_content %}

<div class="col-sm-11">

<div class="task-heading">
	<p> Hi {{ current_user.username }}! Here are your tasks. </p>
	<a class="btn btn-md btn-success" href="{{ url_for('main.tasks', status='open') }}"> Open </a>
	<a class="btn btn-md btn-danger" href="{{ url_for('main.tasks', status='closed') }}"> Closed </a>
	<a class="btn btn-md btn-info" href="{{ url_for('main.tasks', status='all') }}">All </a>
</div>

<div class="container">
  <div class="row">
    <div class="col-s-12">
      <div class="table-responsive">
        <table class="table table-bordered table-hover table-striped">
          <thead>
            <tr>
              <th>Task</th>
              <th>Note</th>
              <th>Created</th>
              <th>Completed</th>
			  <th>Actions</th>
            </tr>
          </thead>
          <tbody>
          {% for task_gen in tasks %}
			{%for task in task_gen %}
			<tr>
				<td>
				{{ task.title }}
				</td>
				<td>
				<a href="{{ url_for('main.note', id=task.get_note().id) }}">{{ task.get_note().title }}</a>
				</td>
				<td>
				{{ task.created_date }}
				</td>
				<td>
				{{ task.checked_date }}
				</td>
				<td>
				{% if task.is_checked %}
				<a class="btn btn-sm btn-default" href="{{ url_for('main.reopen_task', task_id=task.id) }}">Reopen</a>
				{% else %}
				<a class="btn btn-sm btn-default" href="{{ url_for('main.close_task', task_id=task.id) }}">Close</a>
				{% endif %}
			  </tr><commit_msg>Updated Date Formats<commit_after>{% extends "app/app_base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}

{% block title %}BrainDump{% endblock %}

{% block page_content %}

<div class="col-sm-11">

<div class="task-heading">
	<p> Hi {{ current_user.username }}! Here are your tasks. </p>
	<a class="btn btn-md btn-success" href="{{ url_for('main.tasks', status='open') }}"> Open </a>
	<a class="btn btn-md btn-danger" href="{{ url_for('main.tasks', status='closed') }}"> Closed </a>
	<a class="btn btn-md btn-info" href="{{ url_for('main.tasks', status='all') }}">All </a>
</div>

<div class="container">
  <div class="row">
    <div class="col-s-12">
      <div class="table-responsive">
        <table class="table table-bordered table-hover table-striped">
          <thead>
            <tr>
              <th>Task</th>
              <th>Note</th>
              <th>Created</th>
              <th>Completed</th>
			  <th>Actions</th>
            </tr>
          </thead>
          <tbody>
          {% for task_gen in tasks %}
			{%for task in task_gen %}
			<tr>
				<td>
				{{ task.title }}
				</td>
				<td>
				<a href="{{ url_for('main.note', id=task.get_note().id) }}">{{ task.get_note().title }}</a>
				</td>
				<td>
				{{ moment(task.created_date).format("MM/DD/YY") }}
				</td>
				<td>
				{% if task.is_checked %}
				{{ moment(task.checked_date).format("MM/DD/YY") }}
				{% else %}
				Incomplete 
				{% endif %}
				</td>
				<td>
				{% if task.is_checked %}
				<a class="btn btn-sm btn-default" href="{{ url_for('main.reopen_task', task_id=task.id) }}">Reopen</a>
				{% else %}
				<a class="btn btn-sm btn-default" href="{{ url_for('main.close_task', task_id=task.id) }}">Close</a>
				{% endif %}
			  </tr>
{'fraction_non_alphanumeric': 0.2170610575518551, 'fraction_numerical': 0.0023371311714869996, 'mean_word_length': 2.611814345991561, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '2946514', 'n_tokens_mistral': 1429, 'n_tokens_neox': 1223, 'n_words': 262}