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

{% block title %}{{patch.id}}{% endblock %}

{% block body %}
<div class="container">
	<p id="patch_actions" style="font-size: 80%; color: #444; margin: 0;">
		<span id="patch_rename">rename</span>
		|
		<span id="patch_delete">delete</span>
		{% if base_patch and base_patch.type != "root" %} | <span id="patch_merge_up">merge into {{base_patch.id}}</span>{% endif %}
	</p>
	<h1 style="margin-top: 0">{{patch.id}}</h1>

	{% if patch.type == "patch" %}
	<div class="row" style="padding: 1.5em 0;">
		<div class="col-sm-3">
			<div class="form-group">
				<div><b>Status:</b></div>
				<div class="checkbox">
				  <label>
				    <input id="patchStatusDraft" type="checkbox" value="" {% if patch.draft %}checked{% endif %}>
				    Draft (do not publish)
				  </label>
				</div>
			</div>
		</div>

		<div class="col-sm-3">
			<div class="form-group">
				<label for="patchEffectiveDate">Effective Date:</label>
			  	<div class="input-group date" style="width: 12em">
			  		<input id="patchEffectiveDate" type="text" class="form-control" readonly="1"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
			  	</div>
			  </div>
  		</div>

		<div class="col-sm-12">
		    <label for="notesTextarea">Notes:</label>
			<div id="notes">
				{{notes|safe}}
			</div>
			<div id="notes-edit" style="display: none">
				<form role="form" onsubmit="return do_edit_notes_save();">
				  <div class="form-group">
				    <textarea class="form-control" id="notesTextarea" rows="5">{{patch.notes}}</textarea>
				  </div>
				  <button type="submit" class="btn btn-default">Save</button>
				</form>				<commit_msg>fix the background color on the effective date input --- it was shown disabled because it's overridden by the date picker, but it should not have disabled appearance<commit_after>{% extends "base.html" %}

{% block title %}{{patch.id}}{% endblock %}

{% block body %}
<div class="container">
	<p id="patch_actions" style="font-size: 80%; color: #444; margin: 0;">
		<span id="patch_rename">rename</span>
		|
		<span id="patch_delete">delete</span>
		{% if base_patch and base_patch.type != "root" %} | <span id="patch_merge_up">merge into {{base_patch.id}}</span>{% endif %}
	</p>
	<h1 style="margin-top: 0">{{patch.id}}</h1>

	{% if patch.type == "patch" %}
	<div class="row" style="padding: 1.5em 0;">
		<div class="col-sm-3">
			<div class="form-group">
				<div><b>Status:</b></div>
				<div class="checkbox">
				  <label>
				    <input id="patchStatusDraft" type="checkbox" value="" {% if patch.draft %}checked{% endif %}>
				    Draft (do not publish)
				  </label>
				</div>
			</div>
		</div>

		<div class="col-sm-3">
			<div class="form-group">
				<label for="patchEffectiveDate">Effective Date:</label>
			  	<div class="input-group date" style="width: 12em">
			  		<input id="patchEffectiveDate" type="text" class="form-control" readonly="1" style="background-color: white; cursor: pointer;"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
			  	</div>
			  </div>
  		</div>

		<div class="col-sm-12">
		    <label for="notesTextarea">Notes:</label>
			<div id="notes">
				{{notes|safe}}
			</div>
			<div id="notes-edit" style="display: none">
				<form role="form" onsubmit="return do_edit_notes_save();">
				  <div class="form-group">
				    <textarea class="form-control" id="notesTextarea" rows="5">{{patch.notes}}</textarea>
				  </div>
				  <button type="submit" class="btn btn-default">Save</button>
				</form>				
{'fraction_non_alphanumeric': 0.20906021384355655, 'fraction_numerical': 0.011254924029262802, 'mean_word_length': 3.8301630434782608, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, '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': '4092260', 'n_tokens_mistral': 1473, 'n_tokens_neox': 1216, 'n_words': 270}