<commit_before>{% extends 'taxbrain/input_base.html' %}

{% load staticfiles %}

{% load flatblocks %}

{% block content %}
<div class="wrapper">

    <nav class="logobar" role="navigation">
      <a class="logobar-brand" href="/">
        <img alt="TaxBrain: A disruptive open source platform for exploring tax policy impact" src="{% static 'images/logo-no-icon.png' %}">
      </a>
    </nav>



    <section class="taxbrain-hero taxbrain-hero-small">
      <div class="taxbrain-hero-block">
        <div class="logo">
          <h2 class="sr-only">TaxBrain</h2>
          <img src="{% static 'images/taxbrain/logo-taxbrain-alt.png' %}" alt="TaxBrain" class="img-responsive">
        </div>
        <div class="what-is">
          <a class="collapsed" data-toggle="collapse" href="#taxbrainInfo" aria-expanded="false" aria-controls="taxbrainInfo">What is TaxBrain?</a>
        </div>
      </div>
    </section>

    <section class="taxbrain-info collapse" id="taxbrainInfo">
      <div class="container">
        <div class="taxbrain-history">
          <h2>Our History</h2>
          {% flatblock "taxbrain_what_is_taxbrain_dropdown" %}
        </div>
        <div class="taxbrain-build">
          <h2>Code Build</h2>
          <p><a href="https://github.com/OpenSourcePolicyCenter/Tax-Calculator">Version {{ unique_url.taxcalc_vers }} - GitHub</a></p>
        </div>
      </div>
    </section>

    <div class="result-header">
      <div class="result-header-control">
        <h1>{% flatblock "taxbrain_results_header" %}</h1>
        for
        <div class="dropdown dropdown-select dropdown-inline data-switch">
          <a class="dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
            {{ tables.result_years.0}}
            <span class="caret"></span>
          </a>
          <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
            {% for year in tables.result_years %}
              <li role="presentation">
                <a role="menuitem" tabindex="-1" href="#">
                  {{ year }}
                </a>
              </li>
            {% endfor %}
          </ul>
        </div>
      </div>
      <p class="meta">These results were generated on {{ created_on|date:"D, M jS Y \a\t g:iA" }} using <a href="#">version {{ unique_url.taxcalc_vers }}</a> TaxBrain. (ID: 10045)</p>
    </div>

    <div class="result-table">
      <div class="result-table-controls">
        <a href="/taxbrain/" class="btn btn-secondary">Edit Parameters</a>
        <div class="controls-tools">
          <div class="btn-group">
            <button type="button" class="btn btn-text btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
              Save As <span class="caret"></span>
            </button>
            <ul class="dropdown-menu" role="menu">
              <li><a href="/taxbrain/pdf">PDF Report</a></li>
              <li><a href="/taxbrain/{{ unique_url.pk }}/output.csv/">Outputs as CSV</a></li>
              <li><a href="/taxbrain/{{ unique_url.pk }}/input.csv/">Inputs as CSV</a></li>
            </ul>
          </div>
          <button class="btn btn-share btn-sm">Share</button>
          <button class="btn btn-text btn-sm">Print</button>
        </div>
      </div>

      {% include 'taxbrain/includes/results/table.html' with table=tables.fiscal_tots %}
      {% include 'taxbrain/includes/results/table.html' with table=tables.df_dec %}
      {% include 'taxbrain/includes/results/table.html' with table=tables.df_bin %}

      {% include 'taxbrain/includes/results/table.html' with table=tables.mX_dec %}
      {% include 'taxbrain/includes/results/table.html' with table=tables.mY_dec %}

      {% include 'taxbrain/includes/results/table.html' with table=tables.mX_bin %}
      {% include 'taxbrain/includes/results/table.html' with table=tables.mY_bin %}


    </div>

    <div class="result-info">
      <p>* Vestibulum id ligula porta felis euismod semper. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Vestibulum id ligula porta felis euismod semper.</p>
      <p>** Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cum sociis natoque penatibus et <a href="#">magnis dis parturient montes</a>, nascetur ridiculus mus. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Cras justo odio, dapibus ac facilisis in, egestas eget quam.</p>
      <p>[1] Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
      <p>[2] Donec sed odio dui. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Donec sed odio dui. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.</p>
    </div>

    <!--
    <section class="result-parameters">
      <div class="container">
        <div class="result-parameters-header">
          <h2>Parameters Used:</h2>
          <p>Edited parameters values shown in <span>black</span>.</p>
        </div>

        {% include 'taxbrain/includes/params/used/personal_exemp.html' %}
        {% include 'taxbrain/includes/params/used/standard_ded.html' %}
        {% include 'taxbrain/includes/params/used/itemize_ded.html' %}<commit_msg>change results footer to flatblock<commit_after>{% extends 'taxbrain/input_base.html' %}

{% load staticfiles %}

{% load flatblocks %}

{% block content %}
<div class="wrapper">

    <nav class="logobar" role="navigation">
      <a class="logobar-brand" href="/">
        <img alt="TaxBrain: A disruptive open source platform for exploring tax policy impact" src="{% static 'images/logo-no-icon.png' %}">
      </a>
    </nav>



    <section class="taxbrain-hero taxbrain-hero-small">
      <div class="taxbrain-hero-block">
        <div class="logo">
          <h2 class="sr-only">TaxBrain</h2>
          <img src="{% static 'images/taxbrain/logo-taxbrain-alt.png' %}" alt="TaxBrain" class="img-responsive">
        </div>
        <div class="what-is">
          <a class="collapsed" data-toggle="collapse" href="#taxbrainInfo" aria-expanded="false" aria-controls="taxbrainInfo">What is TaxBrain?</a>
        </div>
      </div>
    </section>

    <section class="taxbrain-info collapse" id="taxbrainInfo">
      <div class="container">
        <div class="taxbrain-history">
          <h2>Our History</h2>
          {% flatblock "taxbrain_what_is_taxbrain_dropdown" %}
        </div>
        <div class="taxbrain-build">
          <h2>Code Build</h2>
          <p><a href="https://github.com/OpenSourcePolicyCenter/Tax-Calculator">Version {{ unique_url.taxcalc_vers }} - GitHub</a></p>
        </div>
      </div>
    </section>

    <div class="result-header">
      <div class="result-header-control">
        <h1>{% flatblock "taxbrain_results_header" %}</h1>
        for
        <div class="dropdown dropdown-select dropdown-inline data-switch">
          <a class="dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-expanded="true">
            {{ tables.result_years.0}}
            <span class="caret"></span>
          </a>
          <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1">
            {% for year in tables.result_years %}
              <li role="presentation">
                <a role="menuitem" tabindex="-1" href="#">
                  {{ year }}
                </a>
              </li>
            {% endfor %}
          </ul>
        </div>
      </div>
      <p class="meta">These results were generated on {{ created_on|date:"D, M jS Y \a\t g:iA" }} using <a href="#">version {{ unique_url.taxcalc_vers }}</a> TaxBrain. (ID: 10045)</p>
    </div>

    <div class="result-table">
      <div class="result-table-controls">
        <a href="/taxbrain/" class="btn btn-secondary">Edit Parameters</a>
        <div class="controls-tools">
          <div class="btn-group">
            <button type="button" class="btn btn-text btn-sm dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
              Save As <span class="caret"></span>
            </button>
            <ul class="dropdown-menu" role="menu">
              <li><a href="/taxbrain/pdf">PDF Report</a></li>
              <li><a href="/taxbrain/{{ unique_url.pk }}/output.csv/">Outputs as CSV</a></li>
              <li><a href="/taxbrain/{{ unique_url.pk }}/input.csv/">Inputs as CSV</a></li>
            </ul>
          </div>
          <button class="btn btn-share btn-sm">Share</button>
          <button class="btn btn-text btn-sm">Print</button>
        </div>
      </div>

      {% include 'taxbrain/includes/results/table.html' with table=tables.fiscal_tots %}
      {% include 'taxbrain/includes/results/table.html' with table=tables.df_dec %}
      {% include 'taxbrain/includes/results/table.html' with table=tables.df_bin %}

      {% include 'taxbrain/includes/results/table.html' with table=tables.mX_dec %}
      {% include 'taxbrain/includes/results/table.html' with table=tables.mY_dec %}

      {% include 'taxbrain/includes/results/table.html' with table=tables.mX_bin %}
      {% include 'taxbrain/includes/results/table.html' with table=tables.mY_bin %}


    </div>

    <div class="result-info">
      {% flatblock "taxbrain_results_footer" %}
    </div>

    <!--
    <section class="result-parameters">
      <div class="container">
        <div class="result-parameters-header">
          <h2>Parameters Used:</h2>
          <p>Edited parameters values shown in <span>black</span>.</p>
        </div>

        {% include 'taxbrain/includes/params/used/personal_exemp.html' %}
        {% include 'taxbrain/includes/params/used/standard_ded.html' %}
        {% include 'taxbrain/includes/params/used/itemize_ded.html' %}
{'fraction_non_alphanumeric': 0.15968507116180478, 'fraction_numerical': 0.004037549207630968, 'mean_word_length': 2.658788774002954, 'pattern_counts': {'":': 0, '<': 217, '<?xml version=': 0, '>': 215, 'https://': 2, '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': '6321910', 'n_tokens_mistral': 3293, 'n_tokens_neox': 3065, 'n_words': 671}