- Timestamp:
- 05/10/16 16:55:18 (9 years ago)
- Location:
- branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job
- Files:
-
- 9 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFile.cshtml
r13834 r13841 42 42 </a> 43 43 </div> 44 @Html.Partial("OpenFilePartials/_Help", Model); 44 45 <!-- Check model to select right partial, partial handles all subloading --> 45 46 <div class="col-md-9"> … … 164 165 </div> 165 166 <div class="col-sm-4"> 166 <h4>Save to file</h4> 167 <h3 style="text-align:center">Save to file</h3> 168 <p style="text-align:center;font-style:italic">Changed parameters get saved but child distribution and task priority get lost in the process.</p> 167 169 <form asp-controller="Job" 168 170 asp-action="saveToFile" … … 200 202 </div> 201 203 <!-- Side scrolling menu--> 202 <nav style="margin-top:50px; "204 <nav 203 205 class="col-md-2" id="scrolly"> 204 206 <ul class="nav nav-pills nav-stacked" … … 238 240 $('html, body').animate({ 239 241 scrollTop: target.offset().top 240 }, 1000);242 }, 700); 241 243 return false; 242 244 } -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/DataMaster.cshtml
r13834 r13841 12 12 @Html.Partial("OpenFilePartials/DataPartials/Bool", Model); 13 13 } 14 else if (Model.Data.ActualValue is BoolArray) 15 { 16 @Html.Partial("OpenFilePartials/DataPartials/BoolArray", Model); 17 } 18 else if (Model.Data.ActualValue is BoolMatrix) 19 { 20 @Html.Partial("OpenFilePartials/DataPartials/BoolMatrix", Model); 21 } 14 22 else if (Model.Data.ActualValue is StringValue) 15 23 { 16 24 @Html.Partial("OpenFilePartials/DataPartials/String", Model); 25 } 26 else if (Model.Data.ActualValue is StringArray) 27 { 28 @Html.Partial("OpenFilePartials/DataPartials/StringArray", Model); 29 } 30 else if (Model.Data.ActualValue is StringMatrix) 31 { 32 @Html.Partial("OpenFilePartials/DataPartials/StringMatrix", Model); 17 33 } 18 34 else if (Model.Data.ActualValue is IntValue) … … 20 36 @Html.Partial("OpenFilePartials/DataPartials/Int", Model); 21 37 } 38 else if (Model.Data.ActualValue is IntArray && !(Model.Data.ActualValue is HeuristicLab.Encodings.PermutationEncoding.Permutation)) 39 { 40 @Html.Partial("OpenFilePartials/DataPartials/IntArray", Model); 41 } 42 else if (Model.Data.ActualValue is IntMatrix) 43 { 44 @Html.Partial("OpenFilePartials/DataPartials/IntMatrix", Model); 45 } 22 46 else if (Model.Data.ActualValue is PercentValue) 23 47 { 24 48 @Html.Partial("OpenFilePartials/DataPartials/Percent", Model); 25 49 } 50 else if (Model.Data.ActualValue is PercentArray) 51 { 52 @Html.Partial("OpenFilePartials/DataPartials/PercentArray", Model); 53 } 54 else if (Model.Data.ActualValue is PercentMatrix) 55 { 56 @Html.Partial("OpenFilePartials/DataPartials/PercentMatrix", Model); 57 } 26 58 else if (Model.Data.ActualValue is DoubleValue) 27 59 { 28 60 @Html.Partial("OpenFilePartials/DataPartials/Double", Model); 29 }30 else if (Model.Data.ActualValue is IntArray)31 {32 @Html.Partial("OpenFilePartials/DataPartials/IntArray", Model);33 61 } 34 62 else if (Model.Data.ActualValue is DoubleArray) … … 42 70 else if (Model.Data.ActualValue is IItem) 43 71 { 44 @Html.Partial("OpenFilePartials/DataPartials/Others ", Model);72 @Html.Partial("OpenFilePartials/DataPartials/OthersClean", Model);//just Others to print the datatype too 45 73 } 46 74 } 47 75 catch(NotSupportedException e) 48 76 { 49 @Html.Partial("OpenFilePartials/DataPartials/Others ", Model)77 @Html.Partial("OpenFilePartials/DataPartials/OthersClean", Model) 50 78 51 79 } -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/DataPartials/DoubleMatrix.cshtml
r13834 r13841 10 10 { 11 11 s += "[ "; 12 s += dat[d,0] + "; " + dat[d,1]; 12 for (var i = 0; i < dat.Columns; i++) 13 { 14 s += dat[d, i]; 15 if (i < dat.Columns - 1) 16 { 17 s += "; "; 18 } 19 20 } 13 21 s += " ] " + Environment.NewLine; 14 22 -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_Algorithm.cshtml
r13827 r13841 13 13 <div class="row" style="text-align:center"> 14 14 <h1> 15 <span class="label label-primary">Algorithm: @Model.SelectedTask.ItemTask.Name</span>15 <span class="label label-primary">Algorithm:<span id="nameCarrier@(randy)">@Model.SelectedTask.ItemTask.Name</span></span> 16 16 </h1> 17 17 <p> 18 <input type="text" 19 style="width:50%;display:initial; background-color:transparent;text-align:center" 20 onchange="changeName([],this.value,@randy)" 21 value="@Model.SelectedTask.ItemTask.Name" /> 22 </p> 18 23 </div> 19 24 -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_AlgorithmSmall.cshtml
r13827 r13841 12 12 <p class="text-center"> 13 13 <a class="btn btn-primary" 14 id="nameCarrier@(randomal)" 14 15 data-toggle="collapse" 15 16 href="#collapseExample@(randomal)" … … 33 34 text-shadow:none"> 34 35 <div class="panel-heading panel-primary text-center"> 36 <p> 37 <input type="text" 38 class="form-control" 39 style="width:50%;display:initial; background-color:transparent; color:white;text-align:center" 40 onchange="changeName(@builder,this.value,@randomal)" 41 value="@Model.algo.Name" /> 42 </p> 35 43 <p>@Model.algo.Description</p> 36 44 -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_BatchRun.cshtml
r13827 r13841 11 11 <div class="row" 12 12 style="text-align:center"> 13 <h1 14 > 13 <h1> 15 14 <span class="label label-warning " 16 15 style="text-shadow:2px 2px black;"> 17 Batch: @Model.SelectedBatchRun.Name16 Batch: <span id="nameCarrier@(randy)">@Model.SelectedBatchRun.Name</span> 18 17 </span> 18 19 19 </h1> 20 <input type="text" 21 class="form-control" 22 style="width:50%;display:initial; background-color:transparent;text-align:center" 23 onchange="changeName([],this.value,@randy)" 24 value="@Model.SelectedTask.ItemTask.Name" /> 20 25 </div> 21 26 <h4 id="tasks"> 22 Repeats: @Model.SelectedBatchRun.Repetitions x 27 Repeats: 28 <input type="number" 29 class="form-control" 30 style="width:80px;display:initial" 31 min="1" 32 value="@Model.SelectedBatchRun.Repetitions" 33 onchange="changeRepit([],this.value,@randy)" /> 34 x 23 35 24 36 </h4> … … 30 42 data-onstyle="warning" 31 43 onchange="toggleChild([], @randy)" /> 32 44 33 45 </p> 34 46 <div id="childs@(randy)"> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_BatchRunSmall.cshtml
r13827 r13841 13 13 <p class="text-center"> 14 14 <a class="btn btn-warning" 15 id="nameCarrier@(randombr)" 15 16 data-toggle="collapse" 16 17 href="#collapseExample@(randombr)" … … 36 37 text-shadow:2px 2px black"> 37 38 <div class="panel-heading text-center"> 39 <p> 40 <input type="text" 41 class="form-control" 42 style="width:50%;display:initial; background-color:transparent;text-align:center;color:white" 43 onchange="changeName(@builder,this.value,@randombr)" 44 value="@Model.batch.Name" /> 45 </p> 38 46 <p class="panel-title"> 39 Repeats @Model.batch.Repetitions X 47 Repeats: 48 <input type="number" 49 class="form-control" 50 style="width:80px;display:initial; margin-bottom:5px" 51 min="1" 52 value="@Model.batch.Repetitions" 53 onchange="changeRepit(@builder,this.value,@randombr)" /> 54 x 40 55 </p> 41 56 <p> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_Experiment.cshtml
r13827 r13841 12 12 > 13 13 <span class="label label-danger" 14 style="text-shadow:2px 2px black;"> 15 Experiment: @Model.SelectedTask.ItemTask.Name 14 style="text-shadow:2px 2px black;">Experiment: 15 <span id="nameCarrier@(randy)"> 16 @Model.SelectedTask.ItemTask.Name 17 </span> 16 18 </span> 17 19 </h1> 18 20 <p> 21 <input type="text" 22 style="width:50%;display:initial; background-color:transparent;text-align:center" 23 onchange="changeName([],this.value,@randy)" 24 value="@Model.SelectedTask.ItemTask.Name" /> 25 </p> 19 26 </div> 20 27 <h4 id="tasks"> -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/OpenFilePartials/_ExperimentSmall.cshtml
r13827 r13841 14 14 href="#collapseExample@(randomex)" 15 15 aria-expanded="false" 16 id="nameCarrier@(randomex)" 16 17 aria-controls="collapseExample@(randomex)" 17 18 style="margin:10px; margin-bottom:0; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); … … 34 35 35 36 <div class="panel-heading panel-danger text-center"> 37 <p> 38 <input type="text" 39 class="form-control" 40 style="width:50%;display:initial; background-color:transparent; color:white;text-align:center" 41 onchange="changeName(@builder,this.value,@randomex)" 42 value="@Model.exp.Name" /> 43 </p> 36 44 <p class="panel-title"> 37 45 Children: @Model.exp.Optimizers.Count -
branches/WebJobManager/HeuristicLab.Clients.Hive.WebJobManager/Views/Job/Uploads.cshtml
r13827 r13841 80 80 } 81 81 </div> 82 @if (ViewBag.active != null && ViewBag.active == true) 83 { 84 <div> 85 <a class="btn btn-warning btn-block" 86 asp-controller="Job" 87 asp-action="OpenRecent" 88 style="box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); 89 text-shadow:2px 2px black;margin-top:10px"> 90 <i class="fa fa-undo"></i> Reopen last file 91 </a> 92 </div> 93 94 } 95 82 96 </div> 83 97 <p style="display:none"
Note: See TracChangeset
for help on using the changeset viewer.