<commit_before>{% extends "base.html" %}
{% block main_title %}Books{% endblock %}
{% block title %}List of Books{% endblock %}
{% block content %}
    <style type="text/css">
       #changelist-search {padding-left: 30px;}
    </style>
    <h1>List of Books</h1>
    <p>&nbsp;</p>
	<div id="toolbar">
	  <form id="changelist-search" action="." method="get">
	   <div><!-- DIV needed for valid HTML -->
	       <label for="searchbar"><img src="{{MEDIA_URL}}/images/icon_searchbox.png" alt="Search" /></label>
	       <input type="text" size="40" name="q" value="" id="searchbar" />
		   <input class="btn btn-primary" type="submit" value="Search" />  
	   </div>
	  </form>
	</div>
	<script type="text/javascript">document.getElementById("searchbar").focus();</script>    
	{% if list_of_books or search_results %}
	   <table class="table table-hover span10 well" border="0" align="left"  cellpadding="1" cellspacing="1"  width="70%"> 
	    {% if search_results %}
		    {% for book in search_results %}
		      <tr>
		        <td>  
		        	<a href="{{ book.get_absolute_url }}">{{ book.title }}</a>
		        </td>
	          </tr>
		    {% endfor %}		    
		{% else %}    <commit_msg>Modified some styling in search form<commit_after>{% extends "base.html" %}
{% block main_title %}Books{% endblock %}
{% block title %}List of Books{% endblock %}
{% block content %}
    <style type="text/css">
       #changelist-search {padding-left: 30px;}
    </style>
    <h1>List of Books</h1>
    <p>&nbsp;</p>
    <form id="changelist-search" class="form-search" action="." method="get">
	  <div class="input-append">
	  	<label for="searchbar"><img src="{{MEDIA_URL}}/images/icon_searchbox.png" alt="Search" /></label>
	    <input type="text" class="span2 search-query" name="q" value="" id="searchbar">
	    <button type="submit" class="btn btn-primary" value="Search">Search</button>
	  </div>
	</form>
	<script type="text/javascript">document.getElementById("searchbar").focus();</script>    
	{% if list_of_books or search_results %}
	   <table class="table table-hover span10 well" border="0" align="left"  cellpadding="1" cellspacing="1"  width="70%"> 
	    {% if search_results %}
		    {% for book in search_results %}
		      <tr>
		        <td>  
		        	<a href="{{ book.get_absolute_url }}">{{ book.title }}</a>
		        </td>
	          </tr>
		    {% endfor %}		    
		{% else %}    
{'fraction_non_alphanumeric': 0.19549812421842436, 'fraction_numerical': 0.010421008753647354, 'mean_word_length': 3.145077720207254, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 0, '>': 55, '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': '5094676', 'n_tokens_mistral': 879, 'n_tokens_neox': 768, 'n_words': 178}