<commit_before>{% extends "base.html" %}

{% block title %}CourtListener.com / Home{% endblock %}

{% block headers %}
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="/media/js/collapsible.js"></script>
    <script type="text/javascript">
	    $(document).ready(function() {
		    $("fieldset.collapsible").collapse();
		    $("fieldset.collapsed").collapse( { closed: true } );
	    });
     </script>
     <link rel="search" type="application/opensearchdescription+xml" title="Court Listener" href="/media/xml/opensearch.xml">
{% endblock %}

{% block content %}
    <div class="span-18 colborder">
        <h2>Create alerts. Search for opinions. Browse our corpus.</h2>
        <h3 class="alt">We follow the courts so you don't have to.</h3><br><br>
        {% if form.errors %}
            {# there is only one possible error #}
            <div class="span-8">
                <div class="error">
                    <p class="bottom">Please be sure to make a query</p>
                </div>
            </div>
            <div class="span-10 last">&nbsp;</div>
        {% endif %}
        <div class="span-17 last">
            <h4 class="bottom">Search our corpus of circuit court opinions:</h4>
            <form action="" method="get">
                <input class="title" name="q" id="search">&nbsp;&nbsp;
                <button type="submit" class="button title" name="search">Search</button>
                <button type="submit" class="button title" name="alert">Preview alert</button>
            </form>
        </div>
        <div class="span-10 last">
            <fieldset class="collapsed">
                <legend>Advanced</legend><commit_msg>fix for issue #18. Search form is now selected on document load by jquery.<commit_after>{% extends "base.html" %}

{% block title %}CourtListener.com / Home{% endblock %}

{% block headers %}
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    <script type="text/javascript" src="/media/js/collapsible.js"></script>
    <script type="text/javascript">
	    $(document).ready(function() {
		    $('.auto-focus:first').focus();
		    $("fieldset.collapsible").collapse();
		    $("fieldset.collapsed").collapse( { closed: true } );
	    });
     </script>
     <link rel="search" type="application/opensearchdescription+xml" title="Court Listener" href="/media/xml/opensearch.xml">
{% endblock %}

{% block content %}
    <div class="span-18 colborder">
        <h2>Create alerts. Search for opinions. Browse our corpus.</h2>
        <h3 class="alt">We follow the courts so you don't have to.</h3><br><br>
        {% if form.errors %}
            {# there is only one possible error #}
            <div class="span-8">
                <div class="error">
                    <p class="bottom">Please be sure to make a query</p>
                </div>
            </div>
            <div class="span-10 last">&nbsp;</div>
        {% endif %}
        <div class="span-17 last">
            <h4 class="bottom">Search our corpus of circuit court opinions:</h4>
            <form action="" method="get">
                <input class="title auto-focus" name="q" id="search">&nbsp;&nbsp;
                <button type="submit" class="button title" name="search">Search</button>
                <button type="submit" class="button title" name="alert">Preview alert</button>
            </form>
        </div>
        <div class="span-10 last">
            <fieldset class="collapsed">
                <legend>Advanced</legend>
{'fraction_non_alphanumeric': 0.16967706622879036, 'fraction_numerical': 0.010399562123700055, 'mean_word_length': 2.461174242424242, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 0, '>': 77, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '4025005', 'n_tokens_mistral': 1120, 'n_tokens_neox': 1027, 'n_words': 248}