<commit_before><div id="createCT" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="createCTLabel" aria-hidden="true">
	<form method="post" action="{{ url_for('create_container') }}" style="margin:0;">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
			<h3 id="createCTLabel">Create container</h3>
		</div>
		<div class="modal-body">
			<div class="control-group">
				<div class="controls input-prepend">
					<span class="add-on"><i class="icon-folder-open"></i></span>
					<input id="inputName" type="text" pattern="(?!^containers$)[a-zA-Z0-9_-]+" placeholder="Name" name="name">
				</div>

				<div class="controls input-prepend pull-right" style="margin-top: -40px;">
					<span class="add-on"><i class="icon-download-alt"></i></span>
					<select id="selectTemplate" name="template">
						{% for template in templates %}<option value="{{ template }}" {% if template == 'ubuntu' %}selected="selected"{% endif %}>{{ template }}</option>{% endfor %}
					</select>
				</div>

				<br />
				<div class="control-group pull-right">
					<div class="controls input-prepend">
						<label class="control-label" for="selectTemplateRelease">Template release</label>
						<span class="add-on"><i class="icon-wrench"></i></span>
						<select id="selectTemplateRelease" name="templateRelease">
						</select>
					</div>
				</div>
				<div class="control-group">
					<div class="controls input-prepend">
						<label class="control-label" for="selectTemplateArch">Template architecture</label>
						<span class="add-on"><i class="icon-wrench"></i></span>
						<select id="selectTemplateArch" name="templateArch">
						</select>
					</div>
				</div>

				<br />
				<div class="control-group pull-right">
					<div class="controls input-prepend">
						<label class="control-label" for="selectTemplatePrecreated">Template prepared files</label>
						<span class="add-on"><i class="icon-wrench"></i></span>
						<select id="selectTemplatePrecreated" name="templatePrecreated">
							{% for template in templatesPrecreated %}<option value="{{ template }}">{{ template }}</option>{% endfor %}
						</select>
					</div>
				</div>

				<br />
			</div>
			<button id ="advancedcreate" class="btn btn-small">Advanced options</button>
			<div id="advancedcreatediv" class="advanced-wrapper hide">
				<br />
				<div class="control-group pull-right">
					<label class="control-label" for="inputCommand">LXC Container configuration</label>
					<div class="controls input-prepend">
						<span class="add-on"><i class="icon-wrench"></i></span>
						<input type="text" id="inputCommand" name="command" placeholder="Container command">
					</div>
				</div>
				<div class="control-group">
					<div class="controls input-prepend">
						<label class="control-label" for="backingstorecreate">Backing store*</label>
						<span class="add-on"><i class="icon-hdd"></i></span>
						<select id="backingstorecreate" class="backingstore" name="backingstore">
								<option value="default" selected="selected">Default</option>
								<option value="directory">Directory</option>
								<option value="lvm">LVM</option>
								<option value="loop">Loop Image</option>
								<option value="zfs">ZFS</option>
								<option value="btrfs">BtrFS</option>
						</select>
					</div>
					<span class="help-inline"><small>*By default it is 'none', which is a simple directory tree under /var/lib/lxc/&lt;name&gt;/rootfs</small></span>
				</div>
				<div class="control-group hide directory">
					<label class="control-label" for="inputDirectory">Directory</label>
					<div class="controls input-prepend">
						<span class="add-on"><i class="icon-folder-close"></i></span>
						<input type="text" id="inputDirectory" name="dir" placeholder="Directory">
					</div>
				</div>
				<div class="control-group hide lvm">
					<div class="controls">
						<label class="control-label" for="inputLV">LV Name</label>
						<input type="text" id="inputLV" name="lvname" placeholder="LV Name">
						<label class="control-label" for="inputVG">VG Name</label>
						<input type="text" id="inputVG" name="vgname" placeholder="VG Name">
						<label class="control-label" for="inputFS">File system</label>
						<input type="text" id="inputFS" name="fstype" placeholder="ext4">
						<label class="control-label" for="inputFSSize">Size</label>
						<input type="text" id="inputFSSize" name="fssize" placeholder="500M">
					</div>
				</div>
				<div class="control-group hide loop"><commit_msg>Updated template<commit_after><div id="createCT" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="createCTLabel" aria-hidden="true">
	<form method="post" action="{{ url_for('create_container') }}" style="margin:0;">
		<div class="modal-header">
			<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
			<h3 id="createCTLabel">Create container</h3>
		</div>
		<div class="modal-body">
			<div class="control-group">
				<div class="controls input-prepend">
					<span class="add-on"><i class="icon-folder-open"></i></span>
					<input id="inputName" type="text" pattern="(?!^containers$)[a-zA-Z0-9_-]+" placeholder="Name" name="name">
				</div>

				<div class="controls input-prepend pull-right" style="margin-top: -40px;">
					<span class="add-on"><i class="icon-download-alt"></i></span>
					<select id="selectTemplate" name="template">
						{% for template in templates %}<option value="{{ template }}" {% if template == 'ubuntu' %}selected="selected"{% endif %}>{{ template }}</option>{% endfor %}
					</select>
				</div>

				<br />
				<div class="control-group pull-right">
					<div class="controls input-prepend">
						<label class="control-label" for="selectTemplateRelease">Template release</label>
						<span class="add-on"><i class="icon-wrench"></i></span>
						<select id="selectTemplateRelease" name="templateRelease">
						</select>
					</div>
				</div>
				<div class="control-group">
					<div class="controls input-prepend">
						<label class="control-label" for="selectTemplateArch">Template architecture</label>
						<span class="add-on"><i class="icon-wrench"></i></span>
						<select id="selectTemplateArch" name="templateArch">
						</select>
					</div>
				</div>

				<br />
				<div class="control-group pull-right">
					<div class="controls input-prepend">
						<label class="control-label" for="selectTemplatePrecreated">Precreated template files</label>
						<span class="add-on"><i class="icon-wrench"></i></span>
						<select id="selectTemplatePrecreated" name="templatePrecreated">
							{% for template in templatesPrecreated %}<option value="{{ template }}">{{ template }}</option>{% endfor %}
						</select>
					</div>
				</div>

				<br />
			</div>
			<button id ="advancedcreate" class="btn btn-small">Advanced options</button>
			<div id="advancedcreatediv" class="advanced-wrapper hide">
				<br />
				<div class="control-group pull-right">
					<label class="control-label" for="inputCommand">LXC Container configuration</label>
					<div class="controls input-prepend">
						<span class="add-on"><i class="icon-wrench"></i></span>
						<input type="text" id="inputCommand" name="command" placeholder="Container command">
					</div>
				</div>
				<div class="control-group">
					<div class="controls input-prepend">
						<label class="control-label" for="backingstorecreate">Backing store*</label>
						<span class="add-on"><i class="icon-hdd"></i></span>
						<select id="backingstorecreate" class="backingstore" name="backingstore">
								<option value="default" selected="selected">Default</option>
								<option value="directory">Directory</option>
								<option value="lvm">LVM</option>
								<option value="loop">Loop Image</option>
								<option value="zfs">ZFS</option>
								<option value="btrfs">BtrFS</option>
						</select>
					</div>
					<span class="help-inline"><small>*By default it is 'none', which is a simple directory tree under /var/lib/lxc/&lt;name&gt;/rootfs</small></span>
				</div>
				<div class="control-group hide directory">
					<label class="control-label" for="inputDirectory">Directory</label>
					<div class="controls input-prepend">
						<span class="add-on"><i class="icon-folder-close"></i></span>
						<input type="text" id="inputDirectory" name="dir" placeholder="Directory">
					</div>
				</div>
				<div class="control-group hide lvm">
					<div class="controls">
						<label class="control-label" for="inputLV">LV Name</label>
						<input type="text" id="inputLV" name="lvname" placeholder="LV Name">
						<label class="control-label" for="inputVG">VG Name</label>
						<input type="text" id="inputVG" name="vgname" placeholder="VG Name">
						<label class="control-label" for="inputFS">File system</label>
						<input type="text" id="inputFS" name="fstype" placeholder="ext4">
						<label class="control-label" for="inputFSSize">Size</label>
						<input type="text" id="inputFSSize" name="fssize" placeholder="1G">
					</div>
				</div>
				<div class="control-group hide loop">
{'fraction_non_alphanumeric': 0.19054894685146787, 'fraction_numerical': 0.0024009603841536613, 'mean_word_length': 4.0798226164079825, 'pattern_counts': {'":': 0, '<': 283, '<?xml version=': 0, '>': 283, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4722745', 'n_tokens_mistral': 3576, 'n_tokens_neox': 2785, 'n_words': 582}