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

{% load staticfiles %}
{% load i18n %}
{% load bootstrap_tags %}

{% block head_title %}{% trans "R&D Production" %}{% endblock %}

{% block extra_head %}


<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />

<style>

#id_notes
{
  width: 28em;
}

#id_url
{
  width: 28em;
}

.item-description
{
	width: 32em;
    height: 40px;
}

.formset-top
{
	padding-top: 1em;
}

.formset-bottom
{
	border-bottom-style:solid;
	border-width:1px;
	border-color:lightgrey;
}

</style>
{% endblock %}

{% block body_class %}work{% endblock %}

{% block body_base %}
    <div class="container">
        {% include "_messages.html" %}
	<div>
		<legend>{% trans "R&D Production" %}</legend>
		<form class="form-horizontal" id="processForm" method="POST" action=".">
			{% csrf_token %}
		<div class="row-fluid">
			<div class="span12">

			    <table>
			        <tr>
			            <td style="white-space:nowrap;" >
			                {% if selected_name %}
			                    {% trans "Resource Family Names" %}
			                {% else %}
			                    {% trans "Enter one or two Resource Family Names" %} 
		                    {% endif %}
	                    </td>
	                    <td>
		                    <input type="text" id="resourceName" name="resourceName" value="{{ selected_name }}" 
		                    {% if  selected_name %} disabled="disabled" {% endif %} /> 
	                    </td>
	                    <td>
	                        <input type="text" id="resourceName2" name="resourceName2" value="{{ selected_name2 }}" 
	                         {% if  selected_name %} disabled="disabled" {% endif %} />  
                        </td>
			            {% if not selected_name %} 
			                <td>
			                    <input type="submit" name="get-related" value="{% trans 'Get relatives' %}" class="btn btn-primary" />
		                    </td>
			            {% endif %}
		            </tr>
		            {% if not selected_name %}
		                <tr>
		                    <td>{% trans "(parts of names work, too)" %}</td>
		                    <td>&nbsp;</td><td>&nbsp;</td>
	                        <td>{% trans "Finds all related inputs, outputs, citables and resources" %}</td>
	                    </tr>
	                {% endif %}
                </table>
		                

			            
			    {% if selected_name %}

			        {% if related_outputs %}

			            <legend>{% trans "Related Outputs" %}:</legend>

			            {% for output in related_outputs %}

    		                <p>
    		                    <input type="checkbox" class="output" id="output-{{ output.id }}" name="output-{{ output.name }}" value="{{ output.id }}" /> 
			                    {{ output.label }}
		                    </p>

			            {% endfor %}

		            {% endif %}

		            {% if related_citables %}
			        
				        <legend>{% trans "Related Citables" %}:</legend>

				        {% for citable in related_citables %}

				            <p>
    		                    <input type="checkbox" class="citable" id="citable-{{ citable.id }}" name="citable-{{ citable.name }}" value="{{ citable.id }}" /> 
			                    {{ citable.label }}
		                    </p>

				        {% endfor %}

			        {% endif %}

			        {% if related_inputs %}
			        
				        <legend>{% trans "Related Inputs" %}:</legend>

				        {% for inp in related_inputs %}

				            <p>
    		                    <input type="checkbox" class="input" id="input-{{ inp.id }}" name="input-{{ inp.name }}" value="{{ inp.id }}" /> 
			                    {{ inp.label }}
		                    </p>

				        {% endfor %}
<commit_msg>clarify process selections<commit_after>{% extends "site_base.html" %}

{% load staticfiles %}
{% load i18n %}
{% load bootstrap_tags %}

{% block head_title %}{% trans "R&D Production" %}{% endblock %}

{% block extra_head %}


<link rel="stylesheet" href="http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css" />

<style>

#id_notes
{
  width: 28em;
}

#id_url
{
  width: 28em;
}

.item-description
{
	width: 32em;
    height: 40px;
}

.formset-top
{
	padding-top: 1em;
}

.formset-bottom
{
	border-bottom-style:solid;
	border-width:1px;
	border-color:lightgrey;
}

</style>
{% endblock %}

{% block body_class %}work{% endblock %}

{% block body_base %}
    <div class="container">
        {% include "_messages.html" %}
	<div>
		<legend>{% trans "R&D Production" %}</legend>
		<form class="form-horizontal" id="processForm" method="POST" action=".">
			{% csrf_token %}
		<div class="row-fluid">
			<div class="span12">

			    <table>
			        <tr>
			            <td style="white-space:nowrap;" >
			                {% if selected_name %}
			                    {% trans "Resource Family Names" %}
			                {% else %}
			                    {% trans "Enter one or two Resource Family Names" %} 
		                    {% endif %}
	                    </td>
	                    <td>
		                    <input type="text" id="resourceName" name="resourceName" value="{{ selected_name }}" 
		                    {% if  selected_name %} disabled="disabled" {% endif %} /> 
	                    </td>
	                    <td>
	                        <input type="text" id="resourceName2" name="resourceName2" value="{{ selected_name2 }}" 
	                         {% if  selected_name %} disabled="disabled" {% endif %} />  
                        </td>
			            {% if not selected_name %} 
			                <td>
			                    <input type="submit" name="get-related" value="{% trans 'Get relatives' %}" class="btn btn-primary" />
		                    </td>
			            {% endif %}
		            </tr>
		            {% if not selected_name %}
		                <tr>
		                    <td>{% trans "(parts of names work, too)" %}</td>
		                    <td>&nbsp;</td><td>&nbsp;</td>
	                        <td>{% trans "Finds all related inputs, outputs, citables and resources" %}</td>
	                    </tr>
	                {% endif %}
                </table>
		                

			            
			    {% if selected_name %}

			        {% if related_outputs %}

			            <legend>{% trans "Related Output Resource Types" %}:</legend>

			            {% for output in related_outputs %}

    		                <p>
    		                    <input type="checkbox" class="output" id="output-{{ output.id }}" name="output-{{ output.name }}" value="{{ output.id }}" /> 
			                    {{ output.label }}
		                    </p>

			            {% endfor %}

		            {% endif %}

		            {% if related_citables %}
			        
				        <legend>{% trans "Related Citable Resource Types" %}:</legend>

				        {% for citable in related_citables %}

				            <p>
    		                    <input type="checkbox" class="citable" id="citable-{{ citable.id }}" name="citable-{{ citable.name }}" value="{{ citable.id }}" /> 
			                    {{ citable.label }}
		                    </p>

				        {% endfor %}

			        {% endif %}

			        {% if related_inputs %}
			        
				        <legend>{% trans "Related Input Resource Types" %}:</legend>

				        {% for inp in related_inputs %}

				            <p>
    		                    <input type="checkbox" class="input" id="input-{{ inp.id }}" name="input-{{ inp.name }}" value="{{ inp.id }}" /> 
			                    {{ inp.label }}
		                    </p>

				        {% endfor %}

{'fraction_non_alphanumeric': 0.15794282730714007, 'fraction_numerical': 0.005482313013966845, 'mean_word_length': 1.3684698608964452, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, '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': '6201570', 'n_tokens_mistral': 2698, 'n_tokens_neox': 2066, 'n_words': 470}