@using HeuristicLab.Clients.Hive.WebJobManager.ViewModels @model JobViewModel
@Html.Partial("Navbar", new NavbarViewModel("Job", Model.User)) @Html.Partial("_ErrorMessage", Model.message)
@if (Model.userJobs.Count == 0) {

No jobs found

} else {
Hive jobs @foreach (var job in Model.userJobs.OrderBy(x => x.Job.DateCreated)) { @job.Job.Name - @job.Job.DateCreated @job.Job.FinishedCount / @job.Job.JobCount }
@if (Model.selectedJob != null) {

@Model.selectedJob.Job.Name Delete job

Description: @Model.selectedJob.Job.Description

Resources: @Model.selectedJob.Job.ResourceNames

Created: @Model.selectedJob.Job.DateCreated

Owned by: @Model.selectedJob.Job.OwnerUsername

Calculating: @Model.selectedJob.Job.CalculatingCount

Finished: @Model.selectedJob.Job.FinishedCount

Automatic refresh:

@Html.Partial("_Graphlegend")
Refresh main graph

@Model.selectedJob.Job.JobCount Tasks

@foreach (var task in Model.selectedJob.HiveTasks) { @Html.Partial("SelectedJobPartials/_TaskPartial", new HeuristicLab.Clients.Hive.WebJobManager.Models.HiveTaskContainer(task)) }
}
}