- Timestamp:
- 03/11/16 12:56:12 (9 years ago)
- Location:
- branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager
- Files:
-
- 7 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager
-
Property
svn:ignore
set to
project.lock.json
-
Property
svn:ignore
set to
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/Index.cshtml
r13656 r13689 12 12 </div> 13 13 <div class="row" style="margin:10px"> 14 <a class="btn btn- successbtn-lg btn-block"14 <a class="btn btn-info btn-lg btn-block" 15 15 asp-controller="Job" 16 asp-action="Upload ">17 Add job16 asp-action="Uploads"> 17 Uploads 18 18 </a> 19 19 </div> … … 46 46 <div class="col-sm-8" style="padding:5px; padding-left:10px;"> 47 47 <div class="row"> 48 <h2 style="padding-left:20px"> @Model.selectedJob.Name 49 <a asp-action="Delete" asp-route-id="@Model.selectedJob.Id" asp-controller="Job" style="margin-bottom:10px;" id="del" class='btn btn-danger'> 48 <h2 style="padding-left:20px"> 49 @Model.selectedJob.Name 50 <a onclick="popUpDelete()" 51 style="margin-bottom:10px;" 52 53 class='btn btn-danger'> 50 54 <span class="glyphicon glyphicon-trash" aria-hidden="true"></span> 51 55 </a> 52 </h2> 56 <a style="display:none" 57 asp-action="Delete" 58 asp-route-id="@Model.selectedJob.Id" 59 asp-controller="Job" id="del" ></a> 60 61 <script type="text/javascript"> 62 function popUpDelete() { 63 if (confirm("Are you sure you want to delete this job?") == true) { 64 document.getElementById("del").click(); 65 } 66 67 } 68 </script> 69 70 </h2> 53 71 <div class="col-sm-6" style="padding-left:30px"> 54 72 <p>Description: @Model.selectedJob.Description</p> … … 59 77 </div> 60 78 <div class="col-sm-6" style="padding-left:30px"> 61 <p>Jobs: @Model.selectedJob.JobCount</p>62 79 <p>Calculating: @Model.selectedJob.CalculatingCount</p> 63 80 <p>Finished: @Model.selectedJob.FinishedCount</p> … … 66 83 </div> 67 84 <div class="row"> 68 <h3 style="padding-left:20px">@Model. jobTasks.Count Task@(Model.jobTasks != null && Model.jobTasks.Count != 1 ? "s" : "" )</h3>69 @foreach (var task in Model. jobTasks)85 <h3 style="padding-left:20px">@Model.lightJobTasks.Count Task@(Model.lightJobTasks != null && Model.lightJobTasks.Count != 1 ? "s" : "" )</h3> 86 @foreach (var task in Model.lightJobTasks) 70 87 { 71 <p style="padding-left:30px" > 72 Last update @task.LastTaskDataUpdate - @task.State - @task.ExecutionTime executed - created @task.DateCreated 73 </p> 88 <table class="table " 89 style="margin-left:20px;"> 90 <thead> 91 <tr> 92 <th>@task</th> 93 </tr> 94 </thead> 95 <tbody> 96 <tr> 97 <td>Last update @task.LastTaskDataUpdate</td> 98 <td>State: @task.State</td> 99 100 </tr> 101 <tr> 102 <td>@task.ExecutionTime executed</td> 103 <td>Created: @task.DateCreated</td> 104 </tr> 105 </tbody> 106 </table> 107 74 108 } 75 109 </div>
Note: See TracChangeset
for help on using the changeset viewer.