Changeset 13740 for branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/Index.cshtml
- Timestamp:
- 03/30/16 17:30:01 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/Index.cshtml
r13739 r13740 26 26 @Model.message 27 27 </div> 28 <div class="row"29 style="margin:10px">30 28 31 </div>32 29 <div class="row" 33 30 style="padding:10px; margin-right:0px!important"> … … 77 74 </p> 78 75 79 80 81 82 76 <div class="col-sm-8" 77 id="content" 78 style="padding:5px; padding-left:10px;"> 79 @if (Model.selectedJob != null) 83 80 { 84 85 81 <div class="panel panel-default" 82 style="border-width:2px!important;padding:17px; 86 83 box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);"> 87 88 89 90 91 84 <div class="row"> 85 <h2 style="padding-left:20px"> 86 @Model.selectedJob.Job.Name 87 <a onclick="popUpDelete()" 88 style="margin-bottom:10px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 92 89 text-shadow:2px 2px black;" 93 94 95 96 97 98 99 100 101 102 90 class='btn btn-danger'> 91 <span class="glyphicon glyphicon-trash" 92 aria-hidden="true"></span> 93 Delete job 94 </a> 95 <a style="display:none; " 96 asp-action="Delete" 97 asp-route-id="@Model.selectedJob.Id" 98 asp-controller="Job" id="del" 99 onclick="showDeleter()"></a> 103 100 104 105 106 107 108 101 <script type="text/javascript"> 102 function popUpDelete() { 103 if (confirm("Are you sure you want to delete this job?") == true) { 104 document.getElementById("del").click(); 105 } 109 106 110 111 107 } 108 </script> 112 109 113 </h2> 114 <div class="col-sm-6" style="padding-left:30px"> 115 <p>Description: @Model.selectedJob.Job.Description</p> 116 <p>Resources: @Model.selectedJob.Job.ResourceNames</p> 117 <p>Created: @Model.selectedJob.Job.DateCreated</p> 118 <p>Owned by: @Model.selectedJob.Job.OwnerUsername</p> 119 120 </div> 121 <div class="col-sm-6" style="padding-left:30px"> 122 <p id="jobcalculating"> 123 Calculating: @Model.selectedJob.Job.CalculatingCount 124 </p> 125 <p id="jobfinished"> 126 Finished: @Model.selectedJob.Job.FinishedCount 127 </p> 128 <p> 129 Automatic refresh: 130 <input type="checkbox" 131 checked 132 data-toggle="toggle" 133 data-onstyle="success" 134 id="refreshtogg" 135 onchange="autoRefresh()" /> 136 </p> 137 </div> 110 </h2> 111 <div class="col-sm-6" style="padding-left:30px"> 112 <p>Description: @Model.selectedJob.Job.Description</p> 113 <p>Resources: @Model.selectedJob.Job.ResourceNames</p> 114 <p>Created: @Model.selectedJob.Job.DateCreated</p> 115 <p>Owned by: @Model.selectedJob.Job.OwnerUsername</p> 138 116 139 117 </div> 118 <div class="col-sm-6" style="padding-left:30px"> 119 <p id="jobcalculating"> 120 Calculating: @Model.selectedJob.Job.CalculatingCount 121 </p> 122 <p id="jobfinished"> 123 Finished: @Model.selectedJob.Job.FinishedCount 124 </p> 125 <p> 126 Automatic refresh: 127 <input type="checkbox" 128 checked 129 data-toggle="toggle" 130 data-onstyle="success" 131 id="refreshtogg" 132 onchange="autoRefresh()" /> 133 </p> 134 </div> 140 135 141 <script src="~/js/scripts/graphs/graphdatacollector.js"></script> 142 <script src="~/js/scripts/graphs/graphhubber.js"></script> 143 <div class="row" style="text-align:center"> 144 @Html.Partial("_Graphlegend") 145 <div id="graphMain" style="width:100%;height:0px"> 136 </div> 137 <script src="~/js/scripts/graphs/graphdatacollector.min.js"></script> 138 <script src="~/js/scripts/graphs/graphhubber.min.js"></script> 139 <div class="row" style="text-align:center"> 140 @Html.Partial("_Graphlegend") 141 <div id="graphMain" style="width:100%;height:0px"> 146 142 147 148 149 150 143 </div> 144 <div class="btn btn-lg btn-info" 145 onclick="redrawMain()" 146 style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 151 147 text-shadow:2px 2px black;">Refresh main graph</div> 152 153 154 155 156 157 158 159 148 </div> 149 <div class="row"> 150 <h3 style="padding-left:20px; "> 151 @Model.selectedJob.Job.JobCount Tasks 152 </h3> 153 @foreach (var task in Model.selectedJob.HiveTasks) 154 { 155 @Html.Partial("SelectedJobPartials/_TaskPartial", 160 156 new HeuristicLab.Clients.Hive.WebJobManager.Models.HiveTaskContainer(task)) 161 157 162 } 163 </div> 158 } 164 159 </div> 165 } 166 </div> 167 160 </div> 161 } 162 </div> 163 168 164 169 165 }
Note: See TracChangeset
for help on using the changeset viewer.