<commit_before><div class="row" ng-controller="JobsController">
	<div class="col-md-12 main">
		<div class="col-md-5 pull-right button-tray"> 
			<div class="btn-group pull-right button-tray-primary" role="group">
				<a class="btn btn-primary" ng-if="user.checkrole([user.allroles.standard, user.allroles.admin])" ui-sref="createjob.tools"><i class="fa fa-plus"></i> Add Job</a>
			</div>
			<job-reorder-confirm reload="loadJobs()" current="currentjobs" complete="completedjobs" dragstatus="listreordered" ng-if="listreordered"></job-reorder-confirm>
		</div>
		<h1 class="page-header"><i class="fa fa-stack-overflow"></i>Job Management</h1>
		<h2 class="page-header">Current Queue</h2>
		<div class="table">
			<div class="table-head">
				<div class="listrow">
					<div class="row">
						<div class="collapser">&nbsp;</div>
						<div class="col-sm-4">Name</div>
						<div class="col-sm-2">Owner</div>
						<div class="col-sm-2">Time To Completion</div>
						<div class="col-sm-2">Completed</div>
						<div class="col-sm-1"></div>
					</div>
				</div>
			</div>
			<div class="table-body" id="#joblistcontainer" ui-sortable="sortableOptions" ng-model="currentjobs">
				<div ng-repeat="job in currentjobs track by job.id" ng-class="$index % 2 ? 'odd' : 'even'" class="listrow">
					<div class="row" style="{{job.resourcecolor}}">
						<div class="collapser">
							<a ng-if="job.expanded" ng-click="job.expanded = false" aria-label="detail"><i class="fa fa-minus fa-1x"></i></a>
							<a ng-if="!job.expanded" ng-click="job.expanded = true" aria-label="detail"><i class="fa fa-plus fa-1x"></i></a>
							<span class="status {{job.status}}" ng-if="job.status == 'running'"><i class="fa fa-play"></i></span>
							<span class="status {{job.status}}" ng-if="job.status == 'paused'"><i class="fa fa-pause"></i></span>
						</div>
						<div class="name col-sm-4">{{job.name}}</div>
						<div class="owner col-sm-2">{{job.owner}}</div>
						<div class="time col-sm-2"><span ng-if="job.status != 'created'">{{job.etc}}</span></div>
						<div class="jobprogress col-sm-2">
							<div class="progress job-cracked" ng-if="job.status != 'created'">
								<div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="{{job.crackedhashes}}" aria-valuemin="0" aria-valuemax="{{job.totalhashes}}" style="width: {{ 100 * job.crackedhashes / job.totalhashes }}%;">
								</div>
								<span>{{job.crackedhashes}}/{{job.totalhashes}}</span>
							</div>
						</div>
						<div class="actions col-sm-1 pull-right">
							<div class="btn-group btn-group-xs" role="group" aria-label="...">
								<stopbutton target="job"></stopbutton>
								<draghandle></draghandle>
							</div>
						</div>
					</div>
					<div class="row job-detail">
						<job-detail jobid="{{job.id}}" visibility="job.expanded"></job-detail>
					</div>
				</div>
			</div>
		</div>
		<h2 class="page-header">Completed / Stopped Jobs</h2>
		<div class="table">
			<div class="table-head">
				<div class="listrow">
					<div class="row">
						<div class="collapser">&nbsp;</div>
						<div class="col-sm-4">Name</div>
						<div class="col-sm-2">Owner</div>
						<div class="col-sm-2">Status</div>
						<div class="col-sm-2">Completed</div>
						<div class="col-sm-1"></div>
					</div>
				</div>
			</div>
			<div class="table-body" id="#joblistcontainer" ui-sortable="sortableOptions" ng-model="jobs">
				<div ng-repeat="job in completedjobs track by job.id" ng-class="$index % 2 ? 'odd' : 'even'" class="listrow">
					<div class="row">
						<div class="collapser">
							<a ng-if="job.expanded" ng-click="job.expanded = false" aria-label="detail"><i class="fa fa-minus fa-1x"></i></a>
							<a ng-if="!job.expanded" ng-click="job.expanded = true" aria-label="detail"><i class="fa fa-plus fa-1x"></i></a>
						</div>
						<div class="name col-sm-4">{{job.name}}</div>
						<div class="owner col-sm-2">{{job.owner}}</div>
						<div class="col-sm-2 status {{job.status}}">{{job.status}}</span></div>
						<div class="jobprogress col-sm-2">
							<div class="progress job-cracked" ng-if="job.status != 'created'">
								<div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="{{job.crackedhashes}}" aria-valuemin="0" aria-valuemax="{{job.totalhashes}}" style="width: {{ 100 * job.crackedhashes / job.totalhashes }}%;">
								</div>
								<span>{{job.crackedhashes}}/{{job.totalhashes}}</span>
							</div>
						</div>
						<div class="actions col-sm-1 pull-right">
							<div class="btn-group btn-group-xs pull-right" role="group" aria-label="...">
								<trashbutton targetlist="completedjobs" target="job"></trashbutton>
							</div>
						</div>
					</div>
					<div class="row job-detail">
						<job-detail jobid="{{job.id}}" visibility="job.expanded"></job-detail>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<commit_msg>Resolves #71<commit_after><div class="row" ng-controller="JobsController">
	<div class="col-md-12 main">
		<div class="col-md-5 pull-right button-tray"> 
			<div class="btn-group pull-right button-tray-primary" role="group">
				<a class="btn btn-primary" ng-if="user.checkrole([user.allroles.standard, user.allroles.admin])" ui-sref="createjob.tools"><i class="fa fa-plus"></i> Add Job</a>
			</div>
			<job-reorder-confirm reload="loadJobs()" current="currentjobs" complete="completedjobs" dragstatus="listreordered" ng-if="listreordered"></job-reorder-confirm>
		</div>
		<h1 class="page-header"><i class="fa fa-tasks"></i>Job Management</h1>
		<h2 class="page-header">Current Queue</h2>
		<div class="table">
			<div class="table-head">
				<div class="listrow">
					<div class="row">
						<div class="collapser">&nbsp;</div>
						<div class="col-sm-4">Name</div>
						<div class="col-sm-2">Owner</div>
						<div class="col-sm-2">Time To Completion</div>
						<div class="col-sm-2">Completed</div>
						<div class="col-sm-1"></div>
					</div>
				</div>
			</div>
			<div class="table-body" id="#joblistcontainer" ui-sortable="sortableOptions" ng-model="currentjobs">
				<div ng-repeat="job in currentjobs track by job.id" ng-class="$index % 2 ? 'odd' : 'even'" class="listrow">
					<div class="row" style="{{job.resourcecolor}}">
						<div class="collapser">
							<a ng-if="job.expanded" ng-click="job.expanded = false" aria-label="detail"><i class="fa fa-minus fa-1x"></i></a>
							<a ng-if="!job.expanded" ng-click="job.expanded = true" aria-label="detail"><i class="fa fa-plus fa-1x"></i></a>
							<span class="status {{job.status}}" ng-if="job.status == 'running'"><i class="fa fa-play"></i></span>
							<span class="status {{job.status}}" ng-if="job.status == 'paused'"><i class="fa fa-pause"></i></span>
						</div>
						<div class="name col-sm-4">{{job.name}}</div>
						<div class="owner col-sm-2">{{job.owner}}</div>
						<div class="time col-sm-2"><span ng-if="job.status != 'created'">{{job.etc}}</span></div>
						<div class="jobprogress col-sm-2">
							<div class="progress job-cracked" ng-if="job.status != 'created'">
								<div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="{{job.crackedhashes}}" aria-valuemin="0" aria-valuemax="{{job.totalhashes}}" style="width: {{ 100 * job.crackedhashes / job.totalhashes }}%;">
								</div>
								<span>{{job.crackedhashes}}/{{job.totalhashes}}</span>
							</div>
						</div>
						<div class="actions col-sm-1 pull-right">
							<div class="btn-group btn-group-xs" role="group" aria-label="...">
								<stopbutton target="job"></stopbutton>
								<draghandle></draghandle>
							</div>
						</div>
					</div>
					<div class="row job-detail">
						<job-detail jobid="{{job.id}}" visibility="job.expanded"></job-detail>
					</div>
				</div>
			</div>
		</div>
		<h2 class="page-header">Completed / Stopped Jobs</h2>
		<div class="table">
			<div class="table-head">
				<div class="listrow">
					<div class="row">
						<div class="collapser">&nbsp;</div>
						<div class="col-sm-4">Name</div>
						<div class="col-sm-2">Owner</div>
						<div class="col-sm-2">Status</div>
						<div class="col-sm-2">Completed</div>
						<div class="col-sm-1"></div>
					</div>
				</div>
			</div>
			<div class="table-body" id="#joblistcontainer" ui-sortable="sortableOptions" ng-model="jobs">
				<div ng-repeat="job in completedjobs track by job.id" ng-class="$index % 2 ? 'odd' : 'even'" class="listrow">
					<div class="row">
						<div class="collapser">
							<a ng-if="job.expanded" ng-click="job.expanded = false" aria-label="detail"><i class="fa fa-minus fa-1x"></i></a>
							<a ng-if="!job.expanded" ng-click="job.expanded = true" aria-label="detail"><i class="fa fa-plus fa-1x"></i></a>
						</div>
						<div class="name col-sm-4">{{job.name}}</div>
						<div class="owner col-sm-2">{{job.owner}}</div>
						<div class="col-sm-2 status {{job.status}}">{{job.status}}</span></div>
						<div class="jobprogress col-sm-2">
							<div class="progress job-cracked" ng-if="job.status != 'created'">
								<div class="progress-bar progress-bar-success progress-bar-striped" role="progressbar" aria-valuenow="{{job.crackedhashes}}" aria-valuemin="0" aria-valuemax="{{job.totalhashes}}" style="width: {{ 100 * job.crackedhashes / job.totalhashes }}%;">
								</div>
								<span>{{job.crackedhashes}}/{{job.totalhashes}}</span>
							</div>
						</div>
						<div class="actions col-sm-1 pull-right">
							<div class="btn-group btn-group-xs pull-right" role="group" aria-label="...">
								<trashbutton targetlist="completedjobs" target="job"></trashbutton>
							</div>
						</div>
					</div>
					<div class="row job-detail">
						<job-detail jobid="{{job.id}}" visibility="job.expanded"></job-detail>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>

{'fraction_non_alphanumeric': 0.2235936867664913, 'fraction_numerical': 0.008903278025091057, 'mean_word_length': 3.422818791946309, 'pattern_counts': {'":': 0, '<': 313, '<?xml version=': 0, '>': 313, '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': '3498306', 'n_tokens_mistral': 4381, 'n_tokens_neox': 3475, 'n_words': 613}